Transcription of Hercules™ TMS570LS12x/RM46 LaunchPad™ - TI.com
1 1 SPNU613 May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad User's GuideSPNU613 May 2017 Hercules TMS570LS12x/RM46 LaunchPad Contents1 Kit DesignFile of Figures1 HerculesTMS570LS12224/ of Tables1 LAUNCHXL2-TMS57012and 1 - J2 1 - J3 1 - J4 1 - J5 2 - J6 2 - J7 2 - J8 2 - J9 ,LaunchPad,CodeComposerStudioare trademarksof ,Cortexare registeredtrademarksof May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad 1 Kit OverviewThe LAUNCHXL2-TMS57012and LAUNCHXL-RM46 LaunchPadkits fromTexasInstrumentsprovidealow cost vehicleto evaluateand developwith membersof the Herculesfamilythat are basedon eithertheTMS570LS1224 PGEor are identicalexceptfor the Herculesmicrocontrollerthat is hostedby the kit. Figure1 showsa photoof one of thesekits with the sourcefiles discussedin this applicationreportcan be downloadedfromthefollowingURL: HerculesTMS570LS12224/ ContentsEachKit Contains: One LaunchPadboardwith: On-boardXDS110 Debuginterface Herculesmicrocontrollerwith 1280KB of Flash,64 KB of dataFlash,and 192 KB of SRAM LAUNCHXL2-TMS57012is populatedwith the 160 MHzTMS570LS1224-PGEmicrocontroller.
2 LAUNCHXL2-RM46is populatedwith the 220 MHzRM46L852-PGEmicrocontroller USBmicro-Bplug to USB-Aplug cable HerculesLaunchPadQuickStartGuide StandardTermsand Conditionsfor Overview3 SPNU613 May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad operatingspecificationsfor the LaunchPadare listedin LAUNCHXL2-TMS57012and ,BoosterPackHeaders,or optionalpowerjackJ14 Poweravailableto ExpansionBoards(Total)Sumof +5 V and + SupplyCurrent:10mAmax for USBBus for " x " showsa blockdiagramof the majorcomponentsof theboardare describedin the sectionsthat HerculesTMS570LS12224/ May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad (LAUNCHXL2-TMS57012)The TMS570LS1224deviceis a high-performanceautomotive-grademicrocon trollerfamilyfor safetyarchitectureincludesdual CPUsin lockstep,CPUand memoryBIST logic,ECConboththe flashand the dataSRAM,parityon peripheralmemories,and loopbackcapabilityon TMS570LS1224deviceintegratesthe ARM Cortex -R4 Ffloating-pointCPUthat offersan ,and has configurationsthat can run up to 180 MHzprovidingup to 298 word-invariantbig-endian[BE32] TMS570LS1224devicehas integratedflashand 192 KBof dataRAMwith single-biterrorcorrectionand flashmemoryon this deviceis a nonvolatile,electricallyerasableand programmablememory,implementedwith a 64-bit-widedatabus flashoperateson a (samelevelas I/O supply)
3 For all read,program,and pipelinemode,the flashoperateswith a systemclockfrequencyof up to 180 SRAM supportssingle-cyclereadand writeaccessesin byte,halfword,word,and double-wordmodesthroughoutthe additionalinformation,see the deviceproductfolder: (LAUNCHXL2-RM46)The RM46L852deviceis a high-performancemicrocontrollerfamilyfor safetyarchitectureincludesdual CPUsin lockstep,CPUand memoryBIST logic,ECCon boththe flashand thedataSRAM,parityon peripheralmemories,and loopbackcapabilityon RM46L852deviceintegratesthe ARMC ortex-R4 Ffloating-pointCPUthat offersan ,and can run up to 220 MHzprovidingup to 365 devicesupportsthe little-endian[LE] RM46L852devicehas integratedflashand 192 KBof dataRAMwith single-biterrorcorrectionand flashmemoryon this deviceis a nonvolatile,electricallyerasableand programmablememory,implementedwith a 64-bit-widedatabus flashoperateson a (samelevelas I/O supply)
4 For all read,program,and pipelinemode,the flashoperateswith a systemclockfrequencyof up to 220 SRAM supportssingle-cyclereadand writeaccessesin byte,halfword,word,and double-wordmodesthroughoutthe additionalinformation,see the deviceproductfolder: USBS erialPortAn XDS110 DebugProbeis integratedontothe to makegettingstartedwith the LaunchPadas seamlessas emulatoris supportedby CodeComposerStudio and XDS110is a USBcompositedeviceconsistingof two functions: TI XDS100debugprobe A USBS erialPortEachfunctionmay be usedindependently,for example,it is possibleto use the XDS110debugprobewithCodeComposerStudioan d at the sametime connectto the USBS erialPort with any USBserialport providesa convenientmethodto interactwith the Herculesmicrocontrollerthroughthe May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad LaunchPadincludesan on-boardLow DropoutVoltageRegulator(LM26420 XMHX/NOPB)
5 Thatsuppliesthe V and V powerrails requiredby the MCUand XDS110fromthe normaloperation,the LaunchPadoperatesas a USBbus on-boardLDOis ratedfor up to 2A on the V rail, but USBbus powereddevicesare limitedtodrawingless than500 mA fromthe BoosterPacksare addedto the LaunchPadand morecurrentis requiredby the boosterpacksthanis specifiedin Table1, thenthe LaunchPadshouldbeconvertedso that it operatesas a this case,it is recommendedto: RemoveJumperJ6 so that the LaunchPad(whenoperatingas a self powereddevice)doesnot backpowerthe USBbus VBUS rail. Installa barreljack in locationJ14 Supplythe LaunchPadwith +5 V supplythat is currentlimitedto Use the + IO rail providedby the LaunchPadon-boardvoltageregulatorand availableon J2 andJ6 to powerany interfacelogicbetweenthe MCUand boosterpacks. Avoidsupplyinga regulated+ rail fromthe BoosterPackas this wouldconflictwith the requiretheirown powersupplyand this may conflictwith the on-boardpowersupplyof the LaunchPad,jumpersJP2,JP3,JP4,and JP5 allowthe + +5 VconnectionsbetweenLaunchPadand BoosterPacksto be disconnectedif necessaryto eightLEDson the of the LEDsare availablefor use by applicationcoderunningon the MCU(D11,D12).
6 Table2 containsa summaryof the LaunchPadLEDsand LEDsLEDC olorDriverDescriptionLED1 RedMCUnERRORPinIndicatesErrorDetectedby MCUESMM oduleLED2 GreenGIOB[1] to logichigh to light [2] to logichigh to light + + PowerIndicatorLED5 Green+5 V+5 V four pushbuttonswitcheson the LaunchPad,describedin Table3. Thereare manysubtledifferencesbetweena warmreset(S2) and poweron reset(S3) but the maindifferenceinvolvescertainerrorand resetstatusflagsthat are only clearedduringa poweron PushButtonSwitchesSwitchMCUPinDescriptio nS1nPORRSTP ressingthe buttonassertsa poweron reset(nPORRST).S2nRSTP ressingthe buttonassertsa warmreset(nRST).S3 MIBSPI3 NCS_0/AD2 EVT/GIOB_2 reads'0' whenpressed,'1' May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad demonstratethe capabilitiesof the TMS570LS1224/ RM42A/D Converter,the LaunchPadincludesanAmbientLightSensor(Vi shayTEMT6000).
7 The light sensoris tied to AD1IN[6]. MCUis capableof detectinga failureon its externaloscillatorand of automaticallyswitchingto an onchip oscillatorso that the MCUmay continueto operatein the eventof sucha demonstratethiscapability,a shuntinstalledon jumperJP1 will shortthe oscillatorto groundcausingit to 'fail'.This jumpershouldbe removedfor LaunchPadsupportstwo BoosterPacksitesthroughheadersJ2, J3, J4, and J5 (BoosterPack#1)and J6, J7, J8, and J9 (BoosterPack2). The pinoutof eachheaderis describedin Table4 - officialTI list of BoosterPackscan be foundat ADCinputson the BoosterPackare limitedto the rangeof 0 VDC- + default;howeverresistorsR1, R2, R3, R4 on the LaunchPadcan be arrangedto allowfor an ADCinputrangeof 0 VDC- + of the digitalI/O on the BoosterPack(andExpansion)headersare V transceiverisusuallyrequiredbeforeconnec tingto a serialbus (ex. CANor RS-232).
8 Thereare no transceiverson BoosterPackSite 1 - J2 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ21+ BoosterPack- DefaultConnectionto LaunchPad+ WhenJP4 IsInstalledJ22U158AD1IN[16]/AD2IN[0]J23U 138N2 HET1[6]/SCIRX/EPWM5AJ24U139N2 HET1[13]/SCITX/EPWM5BJ25U122 GIOA[7]/N2 HET2[6]/EPWM2AJ26U159AD1IN[17]/AD2IN[1]J 27U153 MIBSPI3 CLK/AWM_EXT_SEL[1]/EQEP1AJ28U116 GIOA[6]/N2 HET2[4]/EPWM1BJ29U136N2 HET1[4]/EPWM4BJ210U135N2 HET1[9]/N2 HET2[16]/EPWM7 ATable5. BoosterPackSite 1 - J3 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ31+5V BoosterPack- DefaultConnectionto LaunchPad+5V WhenJP3 IsInstalledJ32 GNDJ33U160AD1IN[0]J34U161AD1IN[7]J35U162 AD1IN[18]/AD2IN[2]J36U163AD1IN[19]/AD2IN [3]J37U164AD1IN[20]/AD2IN[4]J38U165AD1IN [21]/AD2IN[5] May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad Table6. BoosterPackSite 1 - J4 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ41U1141N2 HET1[20]/EPWM6BJ42U1140N2 HET1[18]/EPWM6AJ43U1139N2 HET1[16]/EPWM1 SYNCI/EPWM1 SYNCOJ44U1127N2 HET1[30]/MII_RX_DV/EQEP2SJ45U1125N2 HET1[14]J46U1124N2 HET1[12]/MII_CRS/RMII_CRS_DVJ47U114 GIOA[5]/EXTCLKIN/EPWM1AJ48U19 GIOA[2]/N2 HET2[0]/EQEP2IJ49U15 GIOA[1]J410U12 GIOA[0]Table7.
9 BoosterPackSite 1 - J5 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ51 GNDJ52U115N2 HET1[22]J53U137 MIBSPI3 NCS[1]/N2 HET1[25]/MDCLKJ54U11 GIOB[3]J55U1116 HERCULES_NRSTJ56U152 MIBSPI3 SIMO/AWM_EXT_SEL[0]/ECAP3J57U151 MIBSPI3 SOMI/AWM_EXT_ENA/ECAP2J58U14 MIBSPI3 NCS[2]/I2C_SDA/N2 HET1[27]/NTZ2J59U13 MIBSPI3 NCS[3]/I2C_SCL/N2 HET1[29]/NTZ1J510U1142 GIOB[2]Table8. BoosterPackSite 2 - J6 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ61+ BoosterPack- DefaultConnectionto LaunchPad+ WhenJP4 IsInstalledJ62U170AD1IN[9]/AD2IN[9]J63U1 131 HERCULES_LIN1_RXDJ64U1132 HERCULES_LIN1_TXDJ65U155 MIBSPI3 NCS[0]/AD2 EVT/GIOB[2]/EQEP1IJ66U171AD1IN[1]J67U195 MIBSPI1 CLKJ68U154 MIBSPI3 NENA/MIBSPI3 NCS[5]/N2 HET1[31]/EQEP1BJ69U191N2 HET1[24]/MIBSPI1 NCS[5]/MII_RXD[0]/RMII_RXD[0]J610U192N2 HET1[26]/MII_RXD[1]/RMII_RXD[1] May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad Table9.
10 BoosterPackSite 2 - J7 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ71+5 V BoosterPack- DefaultConnectionto LaunchPad+5 V WhenJP5 IsInstalledJ72 GNDJ73U172AD1IN[10]/AD2IN[10]J74U173AD1I N[2]J75U174AD1IN[3]J76U175AD1IN[11]/AD2I N[11]J77U176AD1IN[4]J78U177AD1IN[12]/AD2 IN[12]Table10. BoosterPackSite 2 - J8 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ81U1118N2 HET1[10]/MII_TX_CLK/MII_TX_AVCLK4/NTZ3J8 2U1107N2 HET1[28]/MII_RXCLK/RMII_REFCLK/MII_RX_AV CLK4J83U1106N2 HET1[8]/MIBSPI1 SIMO[1]/MII_TXD[3]J84U196 MIBSPI1 NENA/N2 HET1[23]/MII_RXD[2]/ECAP4J85U197 MIBSPI5 NENA/MII_RXD[3]/MIBSPI5 SOMI[1]/ECAP5J86U16N2 HET1[11]/MIBSPI3 NCS[4]/N2 HET2[18]/EPWM1 SYNCOJ87U1133 GIOB[1]J88U1126 GIOB[0]J89U186AD1 EVT/MII_RX_ER/RMII_RX_ERJ810U1100 MIBSPI5 CLK/MII_TXEN/RMII_TXENT able11. BoosterPackSite 2 - J9 ConnectionsHeaderHeaderPinMCUMCUPinDescr iptionJ91 GNDJ92U123N2 HET1[1]/SPI4 NENA/N2 HET2[8]/EQEP2AJ93U1105 MIBSPI1 NCS[0]/MIBSPI1 SOMI[1]/MII_TXD[2]/ECAP6J94U199 MIBSPI5 SIMO[0]/MII_TXD[1]/RMII_TXD[1]/MIBSPI5 SOMI[2]J95U1116 HERCULES_NRSTJ96U193 MIBSPI1 SIMOJ97U194 MIBSPI1 SOMIJ98U1130 MIBSPI1 NCS[1]/N2 HET1[17]/MII_COL/EQEP1SJ99U140 MIBSPI1 NCS[2]/N2 HET1[19]/MDIOJ910U198 MIBSPI5 SOMI[0]/MII_TXD[0]/RMII_TXD[0] May 2017 SubmitDocumentationFeedbackCopyright 2017,TexasInstrumentsIncorporatedHercule s TMS570LS12x/RM46 LaunchPad MCUIO pins that are not routedto the BoosterPackheadersare availableon protoboardheadersJ10 and J11.
