Home

Stellaris® LM4F120 LaunchPad Evaluation Board User's Manual

image

Contents

1. lt DEBUG_PC3 TDO SWO ICDI TCK DEBUG_PC1 TMS SWDIO ICDI TMS DEBUG PCO TCK SWCLK CDL TDI Ke CDI TDO LM4F120 U2 B RESET WAKE OSC1 m ICDLTCK lt Osco gt KDI TDI VBAT ICDI TMS lt XOSC0 C gt IcDL_RST GNDX VDDA XOSC1 ICDI TDO VDD TC2050 IDC NL VDD GNDA VDD VDD GND GND GND VDDC GND VDDC LM4F120 DESIGNER REVISION DATE DGT 01 8 23 2012 i TEXAS INSTRUMENTS IERI d STELLARIS MICROCONTROLLERS Stellaris Launchpad 108 WILD BASIN ROAD SUITE 350 AUSTIN TX 78746 DESCRIPTION SStellaris In Circuit Debug Interface FILENAME PART NO SHEET EK LM4F120XL Rev A sch EK LM4F120XL 3 OF 3 www ti comvstellaris Component Locations Plots of the top side component locations are shown in Figure B 1 and the board dimensions are shown in Figure B 2 Figure B 1 Stellaris amp LaunchPad Component Locations Top View B GET vs 8 Ades v2 E ee CH c Wi sen px B U ge Augus
2. 15 Software Description etoile ea tienda esee ud abunde en a EET aan nag a kit a 15 elle 15 Tool Optlofls x2 t ei b e oe T 15 Programming the Stellaris LaunchPad Evaluation Board 15 Appendix A Schem altics u aga anana cate dana ths ode Seeded R da ne na gae wa eege 17 Appendix B Component Locations e U ereer cr 21 Appendix C Bill of Materials BOM 1 U u u nenen 23 Appendix D References rios 25 August 29 2012 3 Stellaris amp LM4F120 LaunchPad XL User s Manual List of Figures Figure 1 1 Stellaris amp LM4F120 LaunchPad Evaluation Board 6 Figure 2 1 Stellaris amp LaunchPad Evaluation Board Block Diagram sssessssssssrsessiessirssrrssrrrssennssnnnrrnnsrne 9 Figure B 1 Stellaris amp LaunchPad Component Locations Top View 21 Figure B 2 Stellaris amp LaunchPad Dimensions nana 22 4 August 29 2012 List of Tables Table 1 1 EK LM4F120XL Gpechicaitons nana 8 Table 2 1 USB Device SignalS aaa 10 Table 2 2 User Switches and RGB LED Signals nana 10 Tabl6 2 3 Ji Connector cire Poe yukasqa E 11 Fable 224 4J2 GOrinector iet sect eara ur SUC ee RE E tope zani ii AR ETUR TRA Ena HE EXR ET EO ia T Ken ika 11 Fable 2 5 e T slal ea oe e de AER 12 Table 256 JA Tero olore o 12 Table 2 7 Stellaris In Circuit Debug Interface CDI Gionals nn 14 Table 2 8 Virtu
3. Notrecommended for BoosterPack use This signal tied to on board function via 0 O resistor August 29 2012 Hardware Description Connectors J1 and J2 of the Stellaris amp LM4F120 LaunchPad BoosterPack XL Interface provide compatibility with MSP430 LaunchPad BoosterPacks Highlighted functions in Table 2 3 J1 Connector on page 11 and Table 2 4 J2 Connector on page 11 indicate configuration for compatibility with the MSP430 LaunchPad A complete list of Stellaris amp BoosterPacks and Stellaris LaunchPad compatible MSP430 BoosterPacks is available at www ti com stellaris launchpad Power Management Schematic on page 19 Power Supplies The Stellaris amp LaunchPad can be powered from one of two power sources m On board Stellaris In Circuit Debug Interface ICDI USB cable Debug Default m USB Device cable Device The POWER SELECT switch SW3 is used to select one of the two power sources Select only one source at a time Hibernate The Stellaris amp LaunchPad provides an external 32 768 kHz crystal Y1 as the clock source for the LM4F120H5GR s Hibernation module clock source The current draw while in Hibernate mode can be measured by making some minor adjustments to the Stellaris LaunchPad This is explained in more detail later in this section The conditions that can generate a wake signal to the Hibernate module on the Stellaris LaunchPad are waking on a Real time Clock RTC match and or waking on asserti
4. Stellaris amp LM4F120 LaunchPad User s Manual Table 2 4 J2 Connector Continued 2 08 PA4 21 z SSIORx 5 E S 2 09 PA3 20 i SSI0Fss 2 10 PA2 19 KR SSIOCIk S gt gt a J2 06 PB7 is also connected via 0 Q resistor to J3 04 PD1 b J2 07 PB6 is also connected via 0 Q resistor to J3 03 PDO Table 2 5 J3 Connector 3 01 3 02 3 03 PDO 61 AIN7 SSI3CIk SSI1CIk I2C3SCL WT2CCPO i 3 04 PD1 62 AIN6 SSI3Fss SSI1Fss I2C3SDA WT2CCP1 3 05 PD2 63 AIN5 SSI3Rx SSI1 Rx 5 WT3CCPO z 7 3 06 PD3 64 AIN4 SSI3Tx SSI1Tx WT3CCP1 i 3 07 PE1 8 AIN2 U7Tx x 3 08 PE2 7 AIN1 Z S E gt si 3 09 PE3 6 AINO i 5 3 108 PF1 29 U1CTS SSI1Tx 3 TOCCP1 S Clo TRD1 a Not recommended for BoosterPack use This signal tied to on board function via 0 Q resistor Table 2 6 J4 Connector 4 018 PF2 30 SSIHCIk s T1CCP0 S TRDO 4 022 PF3 31 SSI1Fss CANOTx T1CCP1 S TRCL K 4 03 PB3 48 E I2COSDA T3CCP1 4 04 PC4 16 C1 U4Rx U1Rx 5 WTOCCPO U1RTS i 4 05 PC5 15 C1 U4Tx U1Tx 5 WTOCCP1 U1CTS E 4 06 PC6 14 CO U3Rx x WT1CCPO 4 07 PC7 13 C0 U3Tx x WT1CCP1 4 08 PD6 53 U2Rx i WT5CCP0 S 4 09 PD7 10 U2Tx WT5CCP1 NMI 4 102 PF4 5 Z T2CCP0 2 a
5. UORX VCP TXD Js PALJUOIX VCP RXD CON USB MICROB DEBUG PCO TCK SWCLK DEBUG PC1 TMS SWDIO DEBUG PC2 TDI DEBUG PC3 TDO SWO USB DP _ gt USB DM gt J1 and J2 provide compatability with Booster Packs designed for MSP430 Launchpad J3 and J4 sit 100 mils inside Jl and J2 to provide Used for VBUS detection when 1 configured as a self powered USB Device LM4F120 extended functions specific to this board See the board user manual for complete table of pin mux functions GPIO i CON 110 100 CON 110 100 USR SWI R3 E Qi DTC114EETIG 1 i Di USR_SW2 2 R FS 3 A 1 NY 4 RGB LED 0404 COMA CON 110 100 CON 110 100 ed DTC114EETIG DESIGNER DATE DGT 8 23 2012 A TEXAS INSTRUMENTS Ay Ser d STELLARIS MICROCONTROLLERS Stellaris Launchpad 108 WILD BASIN ROAD SUITE 350 AUSTIN TX 78746 DESCRIPTION Q2 DTC114EETIG wwww ti comstellaris Microcontroller USB Expansion Buttons and LED FILENAME PART NO EK LM4F120X
6. Yuden EMK105B7104KV F C20 C23 24 6 C9 C22 2 Capacitor 2 2uF 16V 10 0603 Murata GRM188R61C225KE1 X5R 5D 7 D1 1 LED Tri Color RGB 0404 SMD Everlight 18 038 RSGHBHC1 S Common Anode 02 2T 8 D2 1 DIODE Dual Schottky SC70 BAS70 Diodes Inc BAS70W 05 7 F Common Cathode 9 D4 1 LED Green 565nm Clear 0805 SMD Lite On LTST C171GKT Lite On LTST C171GKT 10 H24 1 Header 1x2 0 100 T Hole Vertical 3M 961102 6404 AR Unshrouded 0 220 Mate FCI 68001 102HLF 11 H25 1 Jumper 0 100 Gold Black Closed Sullins SPCO2SYAN 12 J1 J4 2 Header 2x10 T Hole Vertical Samtec SSW 110 23 S D unshrouded stacking 13 J9 J11 2 USB Connectors MICRO B RECEPT Hirose ZX62 B 5PA RA SMT BTTM MNT 14 Q1 3 3 NPN SC70 pre biased Diodes Inc DTC114EET1G 15 R1 2 R9 16 R20 12 Resistor 0 OHM 1 10W 0603 SMD Panasonic ERJ 3GEYOROOV R26 16 R3 5 R8 R27 5 Resistor 330 ohm 1 10W 596 0402 Yageo RC0402FR 07330RL 23 Stellaris amp LM4F120 LaunchPad User s Manual Table C 1 EK LM4F120 Bill of Materials Continued 17 R6 R17 19 R21 23 8 Resistor 10k ohm 1 10W 5 0402 Yageo RC0402FR 0710KL R28 Thick Film 18 R7 R31 2 Resistor 1M Ohm 1 10W 5 0402 Rohm MCRO1MRTF1004 19 RESET SW1 SW2 3 Switch Tact 6mm SMT 160gf Omron B3S 1000 20 SW3 1 Switch DPDT SMT 300 mA 2 O 6V C amp K JS202011SCQN Components 21 U1 U2 2 Stellaris MCU LM4F120H5QRFIGA3 Texas LM4F120H5QRFIG Instruments 22 U4 1 IG Single Vo
7. all the necessary expertise to create and implement safeguards which anticipate dangerous consequences of failures monitor failures and their consequences lessen the likelihood of failures that might cause harm and take appropriate remedial actions Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in safety critical applications In some cases TI components may be promoted specifically to facilitate safety related applications With such components TI s goal is to help enable customers to design and create their own end product solutions that meet applicable functional safety standards and requirements Nonetheless such components are subject to these terms No TI components are authorized for use in FDA Class Ill or similar life critical medical equipment unless authorized officers of the parties have executed a special agreement specifically governing such use Only those TI components which TI has specifically designated as military grade or enhanced plastic are designed and intended for use in military aerospace applications or environments Buyer acknowledges and agrees that any military or aerospace use of TI components which have not been so designated is solely at the Buyer s risk and that Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use TI has specifically designated certain components which meet ISO
8. L Rev A sch EK LM4F120XL USB_VBUS H18 ICDI VBUS Power Select VBUS H19 3 3V 400mA Regulator RESET RESET R28 10k z O o o c TARGETRST Ut B RESET WAKE H24 and H25 installed as a single 1x2 header on 100 mil center with jumper MCU_PWR H24 H25 11 OSC1 AB OSCO us TPS73633DRB IN OUT VBAT 0 Jr OMIT XOSCO GNDX VDDA XOSC1 VDD VDD GNDA VDD VDD GND GND GND VDDC GND VDDC LM4F120 DESIGNER DATE DGT 8 23 2012 PROJECT Stellaris Launchpad 8 TEXAS INSTRUMENTS JI STELLARISPMICROCONTROLLERS 108 WILD BASIN ROAD SUITE 350 AUSTIN TX 78746 DESCRIPTION Power Management FLENAME EK LM4F120XL Rev A sch ww ti comystellaris PARTNO EK LM4F120XL PA1 U0TX VCP RXD PAO UORX VCP TXD DEBUG VCOM Stellaris In Circuit Debug Interface CDD 33V ICDI VBUS DEBUG PCO TCK SWCLK x DEBUG PC1 TMS SWDIO DEBUG PC3 TDO SWO DEBUG PC2 TDI TARGETRST
9. Stellaris amp LM4F120 Launchpad Evaluation Board User s Manual di TEXAS INSTRUMENTS EK LM4F120XL UM 01 Copyright 2012 Texas Instruments SMPU289 Copyright Copyright 2012 Texas Instruments Inc All rights reserved Stellaris and StellarisWare are registered trademarks of Texas Instruments ARM and Thumb are registered trademarks and Cortex is a trademark of ARM Limited Other names and brands may be claimed as the property of others Texas Instruments 108 Wild Basin Suite 350 Austin TX 78746 m mm m BH http www ti com stellaris VE MENT G Cort tex Intelligent Processors by ARM LJ Aarb 5 2 August 29 2012 Table of Contents Chapter 1 Board OvervieW omnia a ed nedsiden 6 Kit Contents s c dU e PRI S ded a GE 7 Using the Stellaris amp LaunchPad sees eee eee eee eee 7 TTT 7 lee CEET 8 Specification c A ad 8 Chapter 2 Hardware DescriptiOn msrrnnnvnnnnnnvnnnnvvnnnnnvnnnnnnnnnnnvnnnnnnnnnnnvennnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 9 Functional R ee arasa 36 9 ERIS galan ei tea Meet ate abun etm teen 10 Microcontroller USB Expansion Buttons and LED Schematic on page 18 10 Power Management Schematic on page 19 aana aana ennemis 13 Stellaris In Circuit Debug Interface ICDI Schematic on page 201 14 Chapter 3 Software Development e nana nana seen nnne ereer eenn u u
10. TS16949 requirements mainly for automotive use Components which have not been so designated are neither designed nor intended for automotive use and TI will not be responsible for any failure of such components to meet such requirements Products Applications Audio www ti com audio Automotive and Transportation www ti com automotive Amplifiers amplifier ti com Communications and Telecom www ti com communications Data Converters dataconverter ti com Computers and Peripherals www ti com computers DLP Products www dlp com Consumer Electronics www ti com consumer apps DSP dsp ti com Energy and Lighting www ti com energy Clocks and Timers www ti com clocks Industrial www ti com industrial Interface interface ti com Medical www ti com medical Logic logic ti com Security www ti com security Power Mgmt power ti com Space Avionics and Defense www ti com space avionics defense Microcontrollers microcontroller ti com Video and Imaging www ti com video RFID www ti rfid com OMAP Mobile Processors www ti com omap TI E2E Community e2e ti com Wireless Connectivity www ti com wirelessconnectivity Mailing Address Texas Instruments Post Office Box 655303 Dallas Texas 75265 Copyright 2012 Texas Instruments Incorporated
11. al COM Port Signals eee eee ee 14 Table C 1 EK LM4F120 Bill of Materials nennen ennemi nennen nnne 23 August 29 2012 5 CHAPTER 1 Board Overview The Stellaris LM4F120 LaunchPad Evaluation Board EK LM4F120XL is a low cost evaluation platform for ARM Cortex M4F based microcontrollers The Stellaris LaunchPad s design highlights the LM4F120H5QR microcontroller s USB 2 0 Device interface and Hibernation module The Stellaris LaunchPad also features programmable user buttons and an RGB LED for custom applications The stackable headers of the Stellaris amp LM4F120 LaunchPad BoosterPack XL Interface demonstrate how easy it is to expand the functionality of the Stellaris LaunchPad when interfacing to other peripherals with Stellaris amp BoosterPacks and MSP430 BoosterPacks Figure 1 1 shows a photo of the Stellaris amp LaunchPad Figure 1 1 Stellaris amp LM4F120 LaunchPad Evaluation Board Power Select USB Connector Switch Power ICDI Green Power LED USB Micro B Reset Switch Connector Device RGB User LED Stellaris LaunchPad BoosterPack XL interface J1 J2 J3 Stellaris LaunchPad and J4 Connectors BoosterPack XL Interface J1 J2 J3 and J4 Connectors srw RO KW MsP430 4 TEXAS INSTRUMENTS Lev LaunchPad Compatible Kei m du DA 0309 z LaunchPad Compatible BoosterPack Interface ee DD 1612 2 BoosterPack Interface m ZF Stellaris x i 4 gunchPad Se User Switch 1 Stellaris Use
12. board Table 2 7 Stellaris In Circuit Debug Interface ICDI Signals PCO TCK SWCLK PC1 TMS SWDIO PC2 TDI PC3 TDO SWO Virtual COM Port 14 When plugged in to a PC the device enumerates as a debugger and a virtual COM port Table 2 8 shows the connections for the COM port to the pins on the microcontroller Table 2 8 Virtual COM Port Signals PAO UORX PA1 UOTX August 29 2012 Software Development This chapter provides general information on software development as well as instructions for Flash memory programming Software Description The StellarisWare software provided with the Stellaris LaunchPad provides access to all of the peripheral devices supplied in the design The Stellaris amp Peripheral Driver Library is used to operate the on chip peripherals as part of StellarisWare StellarisWare includes a set of example applications that use the StellarisWare Peripheral Driver Library These applications demonstrate the capabilities of the LM4F120H5QR microcontroller as well as provide a starting point for the development of the final application for use on the Stellaris amp LaunchPad evaluation board Source Code The complete source code including the source code installation instructions are provided at www ti com stellaris launchpad The source code and binary files are installed in the DriverLib tree Tool Options The source code installation includes direc
13. controller as its processor See Microcontroller USB Expansion Buttons and LED Schematic on page 18 on page 10 in Chapter 2 for more information Build your own BoosterPack and take advantage of Texas Instruments web site to help promote it From sharing a new idea or project to designing manufacturing and selling your own BoosterPack kit Tl offers a variety of avenues for you to reach potential customers with your solutions Specifications Table 1 1 shows the specifications for the Stellaris amp LaunchPad Table 1 1 EK LM4F120XL Specifications Board supply voltage 4 75 5 25 Vpe from one of the following sources m Debugger ICDI USB Micro B cable connected to a PC m USB Device Micro B cable connected to a PC Dimensions 2 0 x 2 25 x 0 425 L x W x H Break out power output m 3 3 Vpc 300 mA max m 5 0 Vpc depends on 3 3 Vpc usage 23 mA 323 mA RoHS status Compliant 8 August 29 2012 Hardware Description The Stellaris LaunchPad includes a Stellaris LM4F120H5QR microcontroller and an integrated Stellaris In Circuit Debug Interface ICDI as well as a range of useful peripheral features see the block diagram in Figure 2 1 This chapter describes how these peripherals operate and interface to the microcontroller Figure 2 1 Stellaris amp LaunchPad Evaluation Board Block Diagram Debug Breakout Pads Stellaris ICDI USB Debug Connector USB Device Connect
14. ine or process in which TI components or services are used Information published by TI regarding third party products or services does not constitute a license to use such products or services or a warranty or endorsement thereof Use of such information may require a license from a third party under the patents or other intellectual property of the third party or a license from TI under the patents or other intellectual property of TI Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties conditions limitations and notices TI is not responsible or liable for such altered documentation Information of third parties may be subject to additional restrictions Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice TI is not responsible or liable for any such statements Buyer acknowledges and agrees that it is solely responsible for compliance with all legal regulatory and safety related requirements concerning its products and any use of TI components in its applications notwithstanding any applications related information or support that may be provided by TI Buyer represents and agrees that it has
15. ltage Supervisor 5V Texas TLV803MDBZR DBV Instruments 23 U8 1 Regualtor 3 3V 400mA LDO Texas TPS73633DRBT Instruments 24 Y1 1 Crystal 32 768KHz Radial Can Abracon AB26TRB 32 768KHZ T 25 Y2 Y5 2 Crystal 16 00MHz 5 0x3 2mm SMT NDK NX5032GA 16 000000 MHZ Abracon ABM3 16 000MHZ B2 T PCB Do Not Populate List Shown for information only 26 C31 C34 2 Capacitor 0 1uF 16V 10 0402 X7R Taiyo Yuden EMK105B7104KV F 27 R24 1 Resistor 330 ohm 1 10W 5 0402 Yageo RC0402FR 07330RL 28 R30 1 Resistor 0 OHM 1 10W 0603 SMD Panasonic ERJ 3GEYOROOV 24 August 29 2012 References In addition to this document the following references are included on the Stellaris LM4F120H5QR Evaluation Kit CD and are also available for download at www ti com Stellaris LM4F120H5GR Microcontroller Data Sheet publication DS LM4F120H5QR StellarisWare Driver Library StellarisWare Driver Library User s Manual publication SW DRL UG Additional references include Low Dropout Regulator with Reverse Current Protection Data Sheet TPS73633DRB Voltage Supervisor Data Sheet TLV803 Information on development tool being used August 29 2012 RealView MDK web site www keil com arm rvmdkkit asp IAR Embedded Workbench web site www iar com Sourcery CodeBench development tools web site www codesourcery com gnu_toolchains arm Texas Instruments Code Composer Studio IDE web site www ti com ccs 25 IMPORTANT NOTICE Texas Instruments Incorp
16. nectors J1 J2 J3 and J4 Connectors J3 and J4 are located 0 1 inches inside of the J1 and J2 connectors All 40 header pins of the J1 J2 J3 and J4 connectors make up the Stellaris amp LM4F120 LaunchPad BoosterPack XL Interface Table 2 3 Table 2 4 Table 2 5 and Table 2 6 show how these header pins are connected to the microcontroller pins and which GPIO functions can be selected NOTE To configure the device peripherals easily and intuitively using a graphical user interface GUI see the Stellaris LM4F Pinmux Utility found at www ti com tool Im4f pinmux This easy to use interface makes setting up alternate functions for GPIOs simple and error free Table 2 3 J1 Connector 1 01 3 3 V 1 02 PB5 57 AIN11 i SSl2Fss s T1CCP1 CANOTx S S 1 03 PBO 45 S U1Rx T2CCP0 1 04 PB1 46 U1Tx S T2CCP1 S H 1 05 PE4 59 AIN9 U5Rx I2C2SCL CANORx E 1 06 PE5 60 AIN8 U5Tx I2C2SDA CAN0Tx 5 1 07 PB4 58 AIN10 SSI2CIk T1CCPO CANORx S 2 1 08 PAS 22 SSIOTx H 1 09 PA6 23 S E I2C1SCL 1 10 PA7 24 i I2C1SDA S i Table 2 4 J2 Connector 2 01 GND 2 02 PB2 47 I2C0SCL T3CCP0 2 03 PEO 9 AIN3 U7Rx 2 04 PFO 28 U1RTS SSHRx CANORx TOCCPO NMI C0o 2 05 RESET 2 062 PB7 4 SSI2Tx TOCCP1 2 072 PB6 1 SSI2Rx TOCCPO August 29 2012 11
17. on of the WAKE pin The second user switch SW2 is connected to the WAKE pin on the microcontroller The WAKE pin as well as the Vpp and HIB pins are easily accessible through breakout pads on the Stellaris amp LaunchPad See Appendix A Schematics on page 22 for details There is no external battery source on the Stellaris LaunchPad Hibernation module which means the VDD3ON power control mechanism should be used This mechanism uses internal switches to remove power from the Cortex M4F processor as well as to most analog and digital functions while retaining I O pin power To measure the Hibernation mode current or the Run mode current the Vpp jumper that connects the 3 3 V pin and the MCU PWR pin must be removed See Appendix A Schematics on page 17 for details on these pins and component locations An ammeter should then be placed between the 3 3 V pin and the MCL PWR pin to measure lnn or lup vppsow The LM4F120H5QR microcontroller uses Von as its power source during Vppson Hibernation mode so lnn is the Hibernation mode VDD3ON mode current This measurement can also be taken during Run mode which measures Ipp the microcontroller running current Clocking The Stellaris amp LaunchPad uses a 16 0 MHz crystal Y2 to complete the LM4F120H5QR microcontroller s main internal clock circuit An internal PLL configured in software multiples this clock to higher frequencies for core and peripheral timing The Hibe
18. or GPIO Stellaris LaunchPad Specific BoosterPack XL Expansion Headers LM4F120H5QR GPIO MSP430 LaunchPad Compatible USB Expansion Headers Power Select Switch RGB LED se a User Switches Power Management Breakout Pads August 29 2012 Stellaris amp LM4F120 LaunchPad User s Manual Functional Description Microcontroller USB Expansion Buttons and LED Schematic on page 18 Microcontroller The Stellaris LM4F120H5QR is a 32 bit ARM Cortex M4F based microcontroller with 256 KB Flash memory 32 KB SRAM 80 MHz operation USB Device Hibernation module and a wide range of other peripherals See the LM4F120H5QR microcontroller data sheet order number DS LM4F120H5QR for complete device details Most of the microcontroller signals are routed to 0 1 pitch headers An internal multiplexer allows different peripheral functions to be assigned to each of these GPIO pads When adding external circuitry consider the additional load on the evaluation board s power rails The LM4F120H5QR microcontroller is factory programmed with a quickstart demo program The quickstart program resides in on chip Flash memory and runs each time power is applied unless the quickstart application has been replaced with a user program USB Device The Stellaris amp LaunchPad includes a USB Micro B connector to allow for USB 2 0 Device operation The signals shown in Table 2 1 a
19. orated and its subsidiaries Tl reserve the right to make corrections enhancements improvements and other changes to its semiconductor products and services per JESD46C and to discontinue any product or service per JESD48B Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete All semiconductor products also referred to herein as components are sold subject to TI s terms and conditions of sale supplied at the time of order acknowledgment TI warrants performance of its components to the specifications applicable at the time of sale in accordance with the warranty in Tl s terms and conditions of sale of semiconductor products Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty Except where mandated by applicable law testing of all parameters of each component is not necessarily performed Tl assumes no liability for applications assistance or the design of Buyers products Buyers are responsible for their products and applications using TI components To minimize the risks associated with Buyers products and applications Buyers should provide adequate design and operating safeguards TI does not warrant or represent that any license either express or implied is granted under any patent right copyright mask work right or other intellectual property right relating to any combination mach
20. r Switch 2 LM4F120H5QR Microcontroller August 29 2012 6 Board Overview Kit Contents The Stellaris amp LM4F120 LaunchPad Evaluation Kit comes with the following Stellaris LaunchPad Evaluation Board EK LM4F120XL On board Stellaris In Circuit Debug Interface ICDI USB Micro B plug to USB A plug cable README First document Using the Stellaris amp Launchpad The recommended steps for using the Stellaris amp LM4F120 LaunchPad Evaluation Kit are 1 Follow the README First document included in the kit The README First document will help get the Stellaris amp LaunchPad up and running in minutes See the www ti com stellaris launchpad web site for additional information to get started Experiment with LaunchPad BoosterPacks Stellaris BoosterPacks and compatible MSP430 BoosterPacks can be found at the www ti com stellaris launchpad web site Take your first step toward developing an application with Project 0 using your preferred ARM tool chain and the Stellaris Peripheral Driver Library Software applications are loaded using the on board Stellaris In Circuit Debug Interface ICDI See Chapter 3 Software Development on page 20 for the programming procedure The StellarisWare Peripheral Driver Library Software Reference Manual contains specific information on software structure and function For more information on Project 0 go to the www ti com stellaris launchpad projectO web site Customize and in
21. re used for USB Device Table 2 1 USB Device Signals PD4 USBODM D PD5 USBODP D When connected as a USB Device the evaluation board can be powered from either the Stellaris ICDI or the USB Device connectors The user can select the power source by moving the POWER SELECT switch SW3 to the Device position See the Power Management schematic on page 19 User Switches and RGB User LED 10 The Stellaris LaunchPad comes with an RGB LED This LED is used in the preloaded RGB quickstart application and can be configured for use in custom applications Two user buttons are included on the board The user buttons are both used in the preloaded quickstart application to adjust the light spectrum of the RGB LED as well as go into and out of hibernation The user buttons can be used for other purposes in the user s custom application The evaluation board also has a green power LED Table 2 2 shows how these features are connected to the pins on the microcontroller Table 2 2 User Switches and RGB LED Signals PF4 GPIO SWI PFO GPIO SW2 August 29 2012 Hardware Description Table 2 2 User Switches and RGB LED Signals Continued PF1 GPIO RGB LED red PF2 GPIO RGB LED blue PF3 GPIO RGB LED green Headers and BoosterPacks The two double rows of stackable headers are mapped to most of the GPIO pins of the LM4F120H5QR microcontroller These rows are labeled as con
22. rnation module is clocked from an external 32 768 kHz crystal Y1 1 If the board does not turn on when you connect it to a power source the microcontroller might be in Hibernate mode depending on the programmed application You must satisfy one of the programmed wake conditions and connect the power to bring the microcontroller out of Hibernate mode and turn on the board August 29 2012 13 Stellaris amp LM4F120 LaunchPad User s Manual Reset The RESET signal into the LM4F120H5QR microcontroller connects to the RESET switch and to the Stellaris ICDI circuit for a debugger controlled reset External reset is asserted active low under any of three conditions m Power on reset filtered by an R C network m RESET switch held down m By the Stellaris ICDI circuit when instructed by the debugger this capability is optional and may not be supported by all debuggers Stellaris In Circuit Debug Interface ICDI Schematic on page 20 Stellaris In Circuit Debug Interface ICDI The Stellaris LaunchPad evaluation board comes with an on board Stellaris In Circuit Debug Interface ICDI The Stellaris ICDI allows for the programming and debug of the LM4F120H5QR using LM Flash Programmer and or any of the supported tool chains Both JTAG and Serial Wire Debug SWD are supported Table 2 7 shows the pins used for JTAG and SWD These signals are also mapped out to easily accessible breakout pads and headers on the
23. s into the Stellaris amp LaunchPad evaluation board using the Stellaris ICDI 1 2 3 Install LM Flash Programmer on a Windows PC Switch the POWER SELECT switch to the right for Debug mode Connect the USB A cable plug to an available port on the PC and the Micro B plug to the Debug USB port on the board Verify that the POWER LED D4 on the board is lit Run LM Flash Programmer In the Configuration tab use the Quick Set control to select the EK LM4F120XL evaluation board Move to the Program tab and click the Browse button Navigate to the example applications directory the default location is C StellarisWare boards ek Im4f120x Each example application has its own directory Navigate to the example directory that you want to load and then into the directory which contains the binary bin files Select the binary file and click Open Set the Erase Method to Erase Necessary Pages check the Verify After Program box and check Reset MCU After Program 10 Click the Program button to start the Erase Download and Verify process Program execution starts once the Verify process is complete August 29 2012 Schematics This section contains the schematics for the Stellaris amp LaunchPad board m Microcontroller USB Expansion Buttons and LED on page 18 B Power Management on page 19 gm Stellaris In Circuit Debug Interface ICDI on page 20 August 29 2012 17 PAO
24. t 29 2012 21 22 Stellaris amp LM4F120 LaunchPad User s Manual Figure B 2 Stellaris amp LaunchPad Dimensions cbe 300mil 24 L G u2 ka Y5 rje ue Ka ee 9600 R27 RIS R14 si si RESET 100mil Som il S e 6 ts R23 LJ P mi k 90000600 700mil i b mw 345mil J AA Y m ii A A j 100mil i 7 wt o L ke s e ee m ee ce 2600mil ieee 44 s s s 1400mil W st R9 RIO B eo 200mil Mis Texas INSTRUMENTS x d Le RIS h le sh z sh Z feel ris T Z chPad 500mil t 1100mil 900mil 1600mil 1800mil 5 2000mil NOTE Units are in mil one thousandth of an inch 1 mil 2 0 001 inch August 29 2012 Bill of Materials BOM Table C 1 shows the Bill of Materials for the EK LM4F120XL evaluation board Table C 1 EK LM4F120 Bill of Materials August 29 2012 1 C1 2 C7 C12 C14 5 Capacitor 0402 X5R 10V Low ESR Johanson 100R07X105KV4T Dielectrics Inc 2 C25 26 C31 32 4 Capacitor 10pF 50V 5 NPO COG Murata GRM1555C1H100JZ0 0402 1D 3 C28 29 2 Capacitor 24pF 50V 5 NPO COG TDK C1005C0G1H240J 0402 4 C3 C5 C8 C15 ZA Capacitor 0 01uF 25V 10 0402 Taiyo Yuden TMK105B7103KV F C18 19 C21 X7R 5 C4 C6 C10 11 C17 8 Capacitor 0 1uF 16V 10 0402 X7R Taiyo
25. tegrate the hardware to suit an end application This user s manual is an important reference for understanding circuit operation and completing hardware modification Features The Stellaris LaunchPad includes the following features August 29 2012 Stellaris LM4F120H5QR microcontroller USB Micro B connector for USB Device RGB user LED 2 user switches application wake Available I O brought out to headers on a 0 1 grid On board Stellaris In Circuit Debug Interface ICDI Switch selectable power sources ICDI USB Device Reset switch Preloaded RGB quickstart application Supported by StellarisWare software including the USB library and the peripheral driver library Stellaris amp LM4F120 LaunchPad User s Manual gm Stellaris amp LM4F120 LaunchPad BoosterPack XL Interface which features stackable headers to expand the capabilities of the Stellaris amp LaunchPad development platform For a complete list of available BoosterPacks that can be used with the Stellaris LaunchPad see the www ti com stellaris launchpad web site BoosterPacks Stellaris LaunchPad provides an easy and inexpensive way to develop applications with the Stellaris LM4F120H5QR microcontroller Stellaris BoosterPacks and MSP430 BoosterPacks expand the available peripherals and potential applications of the Stellaris LaunchPad BoosterPacks can be used with the Stellaris amp LaunchPad or just use the on board LM4F120H5GR micro
26. tories containing projects and or makefiles for the following tool chains W Keil ARM RealView Microcontroller Development System m AR Embedded Workbench for ARM m Sourcery CodeBench m Texas Instruments Code Composer Studio IDE Download evaluation versions of these tools from www ti com stellaris Due to code size restrictions the evaluation tools may not build all example programs A full license is necessary to re build or debug all examples Instructions on installing and using each of the evaluation tools can be found in the Quickstart guides for example Quickstart Keil Quickstart IAR which are available for download from the evaluation kit section of our web site at www ti com stellaris For detailed information on using the tools see the documentation included in the tool chain installation or visit the web site of the tools supplier Programming the Stellaris LaunchPad Evaluation Board The Stellaris amp LaunchPad software package includes pre built binaries for each of the example applications If you installed StellarisWare to the default installation path of C StellarisWare you can find the example applications in C StellarisWare boards ek Im4f120xl The on board Stellaris ICDI is used with the Stellaris LM Flash Programmer tool to program applications on the Stellaris LaunchPad August 29 2012 15 Stellaris amp LM4F120 LaunchPad User s Manual 16 Follow these steps to program example application

Download Pdf Manuals

image

Related Search

Related Contents

Manual del Usuario  VersaMax PROFIBUS Master Module User`s Manual  Dossier de presse  C Mix/User and Reference Manual  FX-STATION User`s Manual  User Manual Tissue Processor TSJ-1A  RAMMS User Manual v1.5 Avalanche  USBHID Technical Reference Manualhot!  Massive Ceiling light 32015/11/10  L6150--ASP User manual Booklet.pmd  

Copyright © All rights reserved.
Failed to retrieve file