Home

Stellaris LM3S6965 Evaluation Board User`s Manual

image

Contents

1. Stellaris 11 356965 Evaluation Board USER S MANUAL EK LM3S6965 05 Copyright 2007 2008 Luminary Micro Inc Legal Disclaimers Trademark Information INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH LUMINARY MICRO PRODUCTS NO LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT EXCEPT AS PROVIDED IN LUMINARY MICRO S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS LUMINARY MICRO ASSUMES NO LIABILITY WHATSOEVER AND LUMINARY MICRO DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO SALE AND OR USE OF LUMINARY MICRO S PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE MERCHANTABILITY OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT LUMINARY MICRO S PRODUCTS ARE NOT INTENDED FOR USE IN MEDICAL LIFE SAVING OR LIFE SUSTAINING APPLICATIONS Luminary Micro may make changes to specifications and product descriptions at any time without notice Contact your local Luminary Micro sales office or your distributor to obtain the latest specifications before placing your product order Designers must not rely on the absence or characteristics of any features or instructions marked reserved or undefined Luminary Micro reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes
2. 12 Table 2 2 Isolating On Board 15 Table B 1 VO Breakout Pads tete aka in Id doc da eii 25 Table B 2 Recommended 25 Table B 3 20 Pin JTAG SWD 26 October 28 2008 5 October 28 2008 1 Stellaris LM3S6965 Evaluation Board The Stellaris LM3S6965 Evaluation Board is a compact and versatile evaluation platform for the Stellaris LM3S6965 ARM Cortex M3 based microcontroller The evaluation kit uses the LM3S6965 microcontroller s fully integrated 10 100 Ethernet controller to demonstrate an embedded web server You can use the board either as an evaluation platform or as a low cost in circuit debug interface ICDI In debug interface mode the on board microcontroller is bypassed allowing programming or debugging of an external target The kit is also compatible with high performance external JTAG debuggers This evaluation kit enables quick evaluation prototype development and creation of application specific designs for Ethernet networks The kit also includes extensive source code examples allowing you to start building C code applications quickly Figure 1 1 Stellaris LM3S6965 Evaluation Board Layout JTAG SWD T h input and output Reset switch Debug out LED Navigation gt Switches Speaker Power
3. October 28 2008 Socket Cable Socket Pin Header Socket Cable Socket Pin Header Sullins PPPC172LFBN RC 89134 0101 Sullins PEC17DAAN Sullins PPPC132LFBN RC 89126 0101 Sullins PEC13DAAN Digikey S7120 ND Digikey MKC34A ND Digikey S2012E 17 ND Digikey S7116 ND Digikey MKC26A ND Digikey S2012 13 ND 25 ARM Target Pinout In ICDI input and output mode the Stellaris LM3S6965 Evaluation Kit supports ARM s standard 20 pin JTAG SWD configuration The same pin configuration can be used for debugging over Serial Wire Debug SWD and JTAG interfaces The debugger software running on the PC determines which interface protocol is used The Stellaris target board should have a 2x10 0 1 pin header with signals as indicated in Table B 3 This applies to both an external Stellaris MCU target Debug output mode and to external JTAG SWD debuggers Debug input mode Table B 3 20 Pin JTAG SWD Configuration T 1 2 3 4 GND TDI 5 6 GND TMS 7 8 GND TCK 9 10 GND NC 11 12 GND TDO 13 14 GND nc 15 16 GND nc 17 18 GND nc 19 20 GND ICDI does not control RST device reset or TRST test reset signals Both reset functions are implemented as commands over JTAG SWD so these signals are not necessary is recommended that connections be made to all GND pins however both targets and external debug interf
4. 27 TAG SWD Interface PC2 TDI R26 nput Output ECUTDE n 9 GND voc P2 ISEE 481 GND vcc GND 7 TMS SWDIO R2 NOR TMS SWDIO c C35 C36 27 5546 us XTMS SEE AVEG e O 1UF 0 1UF 0 1UF 9 10 C37 P R29 yee FT2232D 1 gt TCKISWELKTEKISWELK XIDO 13 14 0 1UF 27 15 16 Channel A SW Debug 17 18 2 Channel Virtual Port 12920 Pero Header 10X2 i 21 USB 5V 3 3V 500mA Power Supply TARGETCABLEn 4 4 7K 08 4 JPI8 45V 06 433V I yni EH VIN2 SENSE 5 C38 3 39 NC 24 GNU 1 MICRO TPS345ILD33 1 Drawing Tite Ethernet Evaluation Board USB Debugger Interfaces and Power Size Document Number 5 Date 3796 2008 Sheet 3 gg 6 FTDI_DBG N DBGOUT 1105 lt VCP_TX SWO_EN gt 1109 5 XTCK gt 187 m UOTX DI SEDO JTAGEN FTDI_TMS gt JTAGEN DBG 120 SWDEN FTDIJTAGEN gt 136 FTDI_SRSTn 18 DBGOUT Fs 2 DBGLED INTDBG e TEST nas c 83 MCURSTn FTDI DBG RC EXTCABLEn gt Luminary Micro Inc Fury Evaluation Kit JTAG Logic with Auto Mode Detect and Hibernate EIE
5. Ethernet AN 11 eeu 11 scsi 11 auge fe 12 Debug 12 USB Device Controller 13 BITE ROM E 13 WIRE CHRISDM 13 Vittal COM PUER 13 SEMA Wire en nn 13 Organic LED Display 13 Feature S aT ARE 13 COMMON MEM ARR Re dra a adn Va A eR ua 14 aoi Nes E 14 Design Guidelines unii 2 lb rec eed a t aria va abd eau d dum eate deer be usada dd 14 Further Reference 14 Other Peripherals gene 14 14 MicroSD Card Slot mern 14 A e 14 User LED 15 Bypassing Peripherals ne 15 Intertacing to ias 15 Using the In Circuit Debugger 16 Appendix A Schematics M 17 Appendix B Connection
6. Jumpers can be cut to free GPIO lines as required 1 1 PAO UORx oO VCP_RX 1 2 PAI UOTx O vCP TX JP7 2 5510 T gt PA2SSIOCLK SSICLK 1 9 PASSSIOFSS lt OLEDCSn gt 1 5 A o SSIRX 1 6 5 5510 SSITX 15 PFO PWMO LED gt JP14 PEI IDXI lt SELECT_SWn JP12 PEO PWM4 UP SWn PEI PWMS5 lt DOWN_SWn PE2 PhB1 lt LEFT_SWn JP13 PE3 PhAL lt RIGHT_SWn 1 4 PDI PWMI SOUND JP3 PDO IDXO O CARDCSn gt JP8 PC7 PhBO OLEDDC 6 PCOICCP3 ENV 1 MICRO Drawing Tite Ethernet Evaluation Board LM3S6965 Micro and 10 100 Ethernet Size Document Number Date 3796 2008 ee 6 6 02 Nc oe VOR 41 VCOMH LVSS 4 7UF 1 vss 33 iu 5 1 2 EN 45v D2 15V 852 ANNEN x 200K IREF NR4018T100M OLEDCSn qo Sn 10uH 0520 MCURSTn 10 REsn up OLEDDC 171 D Cn RG 5 2 200K VIN sw H 120pF SSICLK gt 4 DI SSITX Tg DISDIN MBR0520 en m c2 3 as SE 18 pg iom C25 lt NFT 03A 19 47UF 574 05 21 SOUND 01 EN 15
7. family of products provides 32 bit performance for the same price as current 8 and 16 bit microcontroller designs With entry level pricing at 1 00 for an ARM technology based MCU Luminary Micro s Stellaris product line allows for standardization that eliminates future architectural upgrades or software tool changes Luminary Micro Inc 108 Wild Basin Suite 350 Austin TX 78746 Main 1 512 279 8800 Fax 1 512 279 8879 http www luminarymicro com Support Information For support on Luminary Micro products contact support luminarymicro com 1 512 279 8800 ext 3 October 28 2008 29 30 October 28 2008
8. 3 4 5 6 PLD_TCK TP2 A PLD_TMS Debug Interface Logic O PLDJTAG TEST POINTS hu USB Interface d 5 10 54819 0519 Fe 33V o la 6 7 USBSH Ty 433V mss K Ish E U3 Omit USB Device Controller 0 1UF eo re 238 gg LC4032V TSTNASC s550 USB45V d RS 58 9592 FETE gt gt 4 7K 8008 44 lt INT_TCK AO GOEO BO 60ohm 100 MHz ADBUSO A 25 PCYTDI 3V30UT ADBUSI H 54 A2 2 ADBUS2 TDO DO B3 21 TMS OUTEN 48 PC3 TDO ADBUS3 ISBD ADBUSA 5 panko Banki 2 ADBUSS 7 as 4 A6 an an B6 c32 ANY USBDP ADBUS6 B7 ADBUS7 19 DBG_JTAG_EN AS B8 DBGOUTLED 0010 7 180 Ay B9 VCP_TX ACBUSO RESET_SWn T0 BIO PB7 TRST ACBUSI Be 33 _ ACBUS2 12 E B12 MCURSTn 15K COS ES 33V E SUWUA 24 33V EB Ao pl lar viis o lt lt lt gt gt mam BDBUSO 39 T 45V 25V BDBUSI ee ea E en Deus ees 47K Mi RA 33V TMS SWDIO x 36 SWO_EN T I TCK SWCLK 10K BDBUS4 29 EECS BDBUSS SUR 7 EESK BDBUS6 35 oiur MODE is reserv d P Jos q7 EEDATA BDBUS7 5 for future use 25 AN Benin 30 BCBUSO 2 CATO3CA46 43 29 1K 64X16 34 XTIN BCBUSI S grece VCP TX SWO XTOUT BCBUS2 98 TES BCBUS3 2 2 3 3 R27 5 RESET Am SOMIT RSTOUT PWREN
9. Det ils recor reru iiem drenan 23 Component Locations a ee dd Dance Ea 23 Evaluation Board 24 VO Breakout aem 24 Recommended a nde d en 25 ARM Target PINU A 26 aisi ia aAa e 26 Appendix C Contact Information 29 October 28 2008 3 List of Figures Figure 1 1 Stellaris LM3S6965 Evaluation Board 7 Figure 1 2 LM3S6965 Evaluation Board Block 8 Figure 2 1 ICD Interface 16 Figure 1 LM3S6965 Microcontroller sheet 1 18 Figure 2 LM3S6965 Microcontroller sheet 2 19 Figure A 3 LM3S6965 Microcontroller sheet enne nnne 20 Figure 4 21 Figure B 1 Component 23 Figure B 2 Evaluation Board 24 4 October 28 2008 Stellaris LM3S6965 Evaluation Board List of Tables Table 2 1 Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations
10. Signal Break out ee OLED Display 128 x 96 USB Cable Signals CAT5 Cable 99 9 0 Signal Break out 8 October 28 2008 Stellaris LM3S6965 Evaluation Board Evaluation Kit Contents The evaluation kit contains everything needed to develop and run applications for Stellaris microcontrollers including LM3S6965 Evaluation Board EVB USB cable 20 pin JTAG SWD target cable CD containing supported evaluation version of one of the following e Keil RealView Microcontroller Development Kit MDK ARM AR Embedded Workbench development tools Code Sourcery GCC development tools Code Red Technologies development tools Complete documentation Quickstart guide Quickstart source code Stellaris Firmware Development Package with example source code Evaluation Board Specifications Board supply voltage 4 37 5 25 Vdc from USB connector Board supply current 250 mA typ fully active CPU at 50 MHz Break out power output 3 3 Vdc 60 mA max 15 Vdc 15 mA max Dimensions 4 0 x 2 45 x 0 7 LXWxH RoHS status Compliant of the LM3S6965 Microcontroller 32 bit RISC performance using ARM Cortex M3 v7M arc
11. TDI 2 ADCO PC3 TDO 9 ADC3 S S ADC2 PE2 PhBI PDO IDXO PEO PWM4 PEI PWMS PD2 UIRX S 5 PDI PWMI PB2 DCOSCL AG PB3 2CSDA PGI U2TX oo PD3 UITX PBI PWM3 oo PCT PhBO 56 PGO U2RX PFIADX1 DO PBO PWM2 PCS C1 C00 PC6 CCP3 PF3 LEDO 1 PC4 PhAO 05 32007 4 H OSC32IN DS PA2 SSIOCLK PFOPWMO 59 S PA3 SSIOFSS PAA SSIORX ls PAS SSIOTX PAG DCSCL PAT DCSDA 199H d YH O 5 Break out Headers Ethernet 10 100baseT 05 10 10 3 3V C17 470 Ul PAO UORX 26 PAO UORX 2 66 PBOPWM2 PAVUOTx 27 67 PBI PWM3 433v PAYO __27 PAUUOTX PBUPWMS 1 55 TCL PA2 SSIOCLK PB2 I2COSCL HR PA3 SSIOFSS PB3 I2COSDA PAMSSIORX 304 PAA SSIORX PBA CO PAS SSIOTX 91 10K PAS SSIOTX 31 PAS SSIOTX PBs CI foi _ PAG DCSCL 90 6 0 PASIDCISCL PB6 CO 9 PB CO PANDCSDA 384 PATMCISDA PB7 TRST S an PCO TCK SWCLK pn lt TMS SWDIO gt PCI TMS SWDIO PDI PWMI k PCTDI PD2 UIRX pa PCIE PC3 TDO ECOLE PDA UL PD3 UITX lt PCNTDO PC3 TDO SWO PD3 UITX EIS PDD PCA PhAO PDA CCPO PCUPRAO _25 PDA CCPO Hs
12. 3 Status LED 3323232233 2 Select switch OLED Graphics kamen O 0 d PESO Opiate 10 50 Oda Oco oxo UT Onus um Q NT SOTA lt 4 2 34 pin VO RS p break out Ovinc d O break out 77 10000 header header O Orro E mR Ooscsz O Ooscsz ox O Ossicte sewo O f Stellaris sss O OSS LM3S6965 soa Ocho 1 46 n circuit Debug Microcontroller 9 Interface SD CARL Bi 4 microSD Card Memory Slot 6 USB Device 10 100baseT Ethernet Jack Interface October 28 2008 7 Stellaris LM3S6965 Evaluation Board Features The Stellaris LM3S6965 Evaluation Board includes the following features Stellaris LM3S6965 microcontroller with fully integrated 10 100 embedded Ethernet controller Simple setup USB cable provides serial communication debugging and power OLED graphics display with 128 x 96 pixel resolution User LED navigation switches and select pushbuttons Magnetic speaker LM3S6965 I O available on labeled break out pads Standard ARM 20 pin JTAG debug connector with input and output modes USB interface for debugging and power supply MicroSD card slot Block Diagram Figure 1 2 LM3S6965 Evaluation Board Block Diagram 21572 1231 XU
13. PDA CCTO PCS CI C00 PDS CCP2 24 pC5 C14 C00 PDS CCP2 426 2 PDO FAULT ECO SECHS PDO FAULT PDT CCPT 2211 7 100 _ PEO PWM4 an 41 PEYPWMO PEUPWMS 61 PEINDXT PEUPWNG 73 PEI PWMS pr npx OL PEVIDXI _ PR LEDI PE3 PhAI PEAPRBI PES LEDO PF3 LEDO en MDIO ADER ADC3 TXOP 2 P 2 PGI U2TX MCURSTn gt RST TXON XTALNPHY RXIP MM lt 8 MOSCin RXIN vi OSCHIN 52 110 2 2 OSCEOUT 551 499 499 433V 25 00MHz 8 00MHz WAKE HIB 40 ca MA S SIS STE CMODI VDD33 18PF 18PF 18PF 18PF DD GND VDD33 GND VDD33 GND VDD33 GND VDD33 GND VDD33 GND VDD33 VDD33 GND VDD33 GND GND GND veat 55 GND LDO GND GND GND VDD25 GND VDD25 AGND VDD25 AGND VDD25 ERBIAS LM3S6965 12 4K 1 resistor required on Pin 41 for compatibility with future LM3S6965 revisions Product Change Notification J3011G21DNL History First Production Release Improve SWD out feature add SWO support 1 bit OLED display option Change to RiT 128x96 OLED display Install R27 Add R35 for future compatibility Tie R6 R7 to 3 3V Add TVCC control On board Peripheral Signals
14. R AUG 23 2007 22 October 28 2008 APPENDIX Connection Details This appendix contains the following sections Component Locations Evaluation Board Dimensions Breakout Pads ARM Target Pinout References Component Locations Figure B 1 Component Locations co Fault CCP2 SERBS RR ot 0 LM3S6965 ETHERNET EVAL BOARD CND imal PB7 ADCI ADCO PC3 PHAT ADC3 ADC2 es PHBI CND 88 IDXO CND n PWM4 PWM5s UIRX PWS vi UE 610 SDAO 5 U2TX um PWM3 CND 0 2 8 PWM2 CPAB LEDO LEDs CND Y GND 05632 3 3V UORX ms SBS SRS GND 0SC32 U0TX SSICLK 7 B on e oy C4PWMO 3 3V On toe 9 60 555 SSIRX nz 2s g KSSITX om 3 gl SDA1 gE a 8 u GND 45V 0 0 y 4 ys a B8 ow R34 18 28 gt C36 R23 R21 R25R24 o 5 2 el 2 5 o SD CARD October 28 2008 Evaluation Board Dimensions Figure B 2 Evaluation Board Dimensions 2 45 POLL mm g m Hm m mm EHE EH L D I O Breakout Pads The LM3S6965 EVB has 44 I O pads 14 power pads and 2 crystal connections for a total of 60 pads Connection can be made by soldering wires directly to t
15. V SHDNn 2 En 2 vppio E NDS331N 17 8K 15 23 31 VDD AAA RI2 ne FANS33I 25 10K C23 C2 0 1UF UF OLED RIT 128X96 RGS13128096WH000 15V 50mA Power Supply for OLED Display Speaker Circuit 128 96 OLED Graphics Display 433V RIS Reset 10K SWI RESET_SWn SW B3S1000 RI6 LED gt 30 330 OMIT LED2 433V 4 Green Status Select 2 ah 93 DER 10K SELECT_SWn SW B3S1000 2 RIS CARDCSn gt 3 Up DBGOUTLED SSITX SW3 330 433V a L DS E 5 2908 05WB MG UP_SWn gt SSICLK gt 5 SW B3S1000 Debug 7 SSIRX Dow 8 own sw4 a DOWN_SWn eee a a SW B3S1000 35 ROO Left 330 sws zt LED4 Power LEFT_SWn amp Green SW B3S1000 Right microSD Card Slot sw Status LEDs UT RIGHT SWn MICRO SW B3S1000 L Drawing Tile Ethernet Evaluation Board User Switches Page Tite QLED Display Switches and Audio Size B Document Number y Date 3796 2008 Sheet gt gf 3 1 2 3 4 5 6 1 2
16. aces must connect pin 18 and at least one other GND pin to GND References 26 In addition to this document the following references are included on the Stellaris Family Development Kit documentation CD ROM and are also available for download at www luminarymicro com m Stellaris LM3S6965 Evaluation Kit Quickstart Guide for appropriate tool kit see Evaluation Kit Contents on page 9 Stellaris LM3S6965 Read Me First for the Evaluation Kit Stellaris Family Peripheral Driver Library Stellaris Family Peripheral Driver Library User s Manual publication PDL LM3S6965 Stellaris LM3S6965 Data Sheet publication DS LM3S6965 October 28 2008 Stellaris LM3S6965 Evaluation Board Additional references include Information on development tool being used October 28 2008 RealView web site www keil com arm rvmdkkit asp IAR Embedded Workbench web site www iar com Code Sourcery GCC development tools web site www codesourcery com gnu_toolchains arm Code Red Technologies development tools web site www code red tech com 27 28 October 28 2008 APPENDIX Contact Information Company Information Luminary Micro Inc designs markets and sells ARM Cortex M3 based microcontrollers MCUs Austin Texas based Luminary Micro is the lead partner for the Cortex M3 processor delivering the world s first silicon implementation of the Cortex M3 processor Luminary Micro s introduction of the Stellaris
17. hese pads or by using 0 1 pitch headers and sockets 24 October 28 2008 Stellaris LM3S6965 Evaluation Board Note In Table B 2 an asterisk by a signal name also on the EVB PCB indicates the signal is normally used for on board functions Normally you should cut the associated jumper JP1 15 before using an assigned signal for external interfacing Table 1 Breakout Pads PDA CCPO 34 33 PB4 C0 12 V 60 59 GND PD6 FAULT 32 31 PD5 CCP2 PB5 C1 58 57 PB6 C0 GND 30 29 PD7 CCP1 PB7 TRST 56 55 PC2 TDI ADC1 28 27 ADCO PC3 TDO 54 53 PE3 PHA1 ADC3 26 25 ADC2 PE2 PHB1 52 51 GND 24 23 GND 4 50 49 1 5 PD2 U1RX 22 21 PD1 PWM1 PB2 SCLO 48 47 PB3 SDAO PG2 U2TX 20 19 PD3 U1TTX PB1 PWM3 46 45 GND PC7 PHBO 18 17 PGO U2RX PF1 IDX1 44 43 PBO PWM2 PES C1 16 15 PC6 CCP3 0 42 41 PF2 LED1 GND 14 13 PC4 PHAO GND 40 39 OSC32 3 3 V 12 11 PA0 UORX GND 38 37 5 32 PA1 UOTX 10 9 PA2 SSICLK PFO PWMO 36 35 3 3 V PA3 SFSS 8 7 PA4 SSIRX PA5 SSITX 6 5 PA6 SCL1 PA7 SDA1 4 3 GND GND 2 1 5 V Recommended Connectors Connection can be made by soldering wires directly to pads or using 0 1 pitch headers and sockets Table B 2 Recommended Connectors Pins 1 34 2 x 17 Pins 35 06 2 13 way
18. hitecture 50 MHz operation Hardware division and single cycle multiplication Integrated Nested Vectored Interrupt Controller 42 interrupt channels with eight priority levels 256 KB single cycle Flash 64 KB single cycle SRAM Four general purpose 32 bit timers Integrated Ethernet MAC and PHY Three fully programmable 16C550 type UARTs Four 10 bit channels inputs when used as single ended inputs Two independent integrated analog comparators October 28 2008 9 Stellaris LM3S6965 Evaluation Board 10 Two 2 modules Three PWM generator blocks One 16 bit counter Two comparators Produces two independent PWM signals One dead band generator Two QEI modules with position integrator for tracking encoder position 0 to 42 depending on user configuration On chip low drop out LDO voltage regulator October 28 2008 2 Hardware Description In addition to a microcontroller the Stellaris LM3S6965 evaluation board includes a range of useful peripherals and an integrated This chapter describes how these peripherals operate and interface to the MCU LM3S6965 Microcontroller Device Overview The heart of the EVB is a Stellaris LM3S6965 ARM Cortex M3 based microcontroller The LM3S6965 offers 256 KB Flash memory 50 MHz operation an Ethernet controller and a wide range of peripherals Refer to the LM3S6965 data sheet order number DS LM3S6965 for c
19. oSD card slot The Stellaris Firmware Development Package included on the Documentation and Software CD contains complete drivers with source code for the OLED display Power Supply A 15 V supply is needed to bias the OLED display A FAN5331 device from Fairchild combines with a few external components to complete a boost converter When the OLED display is operating asmall amount of power can be drawn from the 15 V rail to power other devices Design Guidelines The OLED display has a lifetime of about 13 000 hours It is also prone to degradation due to burn in similar to CRT and plasma displays The quickstart application includes both a screen saver and a power down mode to extend display life These factors should be considered when developing EVB applications that use the OLED display When using the EVB as an in circuit debug interface ICDI the OLED display is held in reset to reduce power consumption and eliminate display wear out Further Reference For additional information on the OLED display visit www ritekdisplay com Other Peripherals Speaker A small magnetic audio transducer connects through a MOSFET to PD1 1 allowing a range of options for generating simple and complex tones Use of the 5 V rail reduces switching noise on the 3 3 V rail MicroSD Card Slot Removable Flash cards are an ideal media for storing data such as web page content The source code on the CD includes example code f
20. omplete device details The LM3S6965 microcontroller is factory programmed with a quickstart demo program The quickstart program resides in the LM3S6965 Flash memory and runs each time power is applied unless the quickstart has been replaced with a user program Ethernet A key feature of the LM3S6965 microcontroller is its fully integrated Ethernet controller Only a RJ45 jack with integrated magnetics and few passive components are needed to complete the 10 100baseT interface The RJ45 jack incorporates LEDs that indicate traffic and link status These are automatically managed by on chip microcontroller hardware Alternatively the LEDs can be software controlled by configuring those pins as general purpose outputs LM3S6965 supports automatic MDI MDI X so the EVB can connect directly to a network or to another Ethernet device without requiring a cross over cable Clocking Reset The LM3S6965 microcontroller has four on chip oscillators three are implemented on the EVB A 8 0 2 crystal completes the LM3S6965 s main internal clock circuit An internal PLL configured in software multiples this clock to 50 2 for core and peripheral timing A small 25 MHz crystal is used by the LM3S6965 microcontroller for Ethernet physical layer timing and is independent of the main oscillator LM3S6965 microcontroller shares its external reset input with the OLED display the EVB reset sources are gated thro
21. or reading data from standard FAT formatted SD cards All data and control transactions use the SD card s SPI mode Note that the SD card specification does not require that a card supports the SPI mode but most cards do so in practice Cards from several vendors have been used with the EVB MicroSD cards are very small and require careful handling the SD card slot on the EVB is a push push type push to insert push again to eject Note To avoid damage remove power before inserting or removing cards The EVB does not implement SD card power control Push Switches The EVB has five general purpose input switches Four are arranged in a navigation style configuration The fifth functions as a Select switch 14 October 28 2008 Stellaris LM3S6965 Evaluation Board User LED A user LED is provided for general use The LED is connected to PC5 CCP1 allowing the option of either GPIO or PWM control brightness control Refer to the Quickstart Application source code for an example of PWM control Bypassing Peripherals Excluding Ethernet the EVB s on board peripheral circuits require 16 GPIO lines Two additional GPIO lines are assigned to Ethernet LEDs This leaves 20 GPIO lines and 4 ADC channels immediately available for connection to external circuits If an application requires more GPIO lines the on board hardware can be disconnected The EVB is populated with 16 jumper links which can be cut with a knife to isola
22. rget software The red Debug Out LED will be ON 3 In from JTAG SWD header For users who prefer an Connecting an external external debug interface debugger to the JTAG SWD ULINK JLINK etc with the header EVB Modes 2 and 3 automatically detect the presence of an external debug cable When the debugger software is connected to the EVB s USB controller the EVB automatically selects Mode 2 and illuminates the red Debug Out LED Debug In Considerations 12 Debug Mode 3 supports evaluation board debugging using an external debug interface Mode 3 15 automatically selected when a device such as a Segger J Link or Keil ULINK is connected Boards marked Revision D or later automatically configure pin 1 to be a 3 3 V reference if an external debugger is connected To determine the revision of your board locate the product number on the bottom of the board for example EK LM3S6965 D The last character of the product number identifies the board revision A configuration or board level change may be necessary when using an external debug interface with revisions A through C of this evaluation board Because the evaluation board supports both debug out and debug in modes 1 of the 20 pin JTAG SWD header is by default not connected to 3 3 V Consequently devices requiring a voltage on pin 1 to power their line buffers may not work Two solutions exist Some debugger interfaces such as ULINK have an internal po
23. te on board hardware The process can be reversed by installing 0603 0 chip resistors Important The quickstart application will not run if one or more jumpers are removed Table 2 2 Isolating On Board Hardware Pin 26 PAO UORX Virtual COM port receive JP1 Pin 27 PA1 UOTX Virtual COM port transmit JP2 Pin 10 PDO IDXO SD card chip select JP3 Pin 11 PD1 PWM1 Sound JP4 Pin 30 PA4 SSIORX SD card data out JP5 Pin 31 PA5 SSIOTX SD card and OLED display data in JP6 Pin 28 PA2 SSIOCLK SD card and OLED display clock JP7 Pin 22 PC7 PHBO OLED display data control select JP8 Pin 29 PA3 SSIOFSS OLED display chip select JP9 Pin 73 PE1 PWM5 Down switch JP10 Pin 74 PE2 PHB1 Left switch JP11 Pin 72 PEO PWM4 Up switch JP12 Pin 75 1 Right switch JP13 Pin 61 PF1 IDX1 Select switch JP14 Pin 47 User LED JP15 Pin 23 PC6 CCP3 Enable 15 V JP16 Interfacing to the EVB An array of accessible I O signals makes it easy to interface the EVB to external circuits All LM3S6965 lines except those with both JTAG and SWD functions are brought out to 0 1 pitch pads For quick reference silk screened labels on the PCB show primary pin functions Table B 1 on page 25 has a complete list of I O signals as well as recommended connectors October 28 2008 15 Hardware Description Using Figure 2 1 16 Most LM3S6965 signals are 5 V tolerant Refer to
24. the LM3S6965 data sheet for detailed electrical specifications the In Circuit Debugger Interface The Stellaris LM3S6965 Evaluation Kit can operate as an In Circuit Debugger Interface ICDI acts as a USB to the JTAG SWD adaptor allowing debugging of any external target board that uses a Stellaris microcontroller See Debugging Modes on page 12 for a description of how to enter Debug Out mode ICD Interface Mode Connecting Pin 18 to GND sets JTAG or SWD connects to the external debug mode external microcontroller Evaluation Board Target Stellaris Stellaris Cable MCU MCU SS PC with debugger TCK SWCLK bypasses the on board microcontroller The debug interface operates in either Serial Wire Debug SWD or full JTAG mode depending on the configuration in the debugger IDE The IDE debugger does not distinguish between the on EVB Stellaris microcontroller and an external Stellaris microcontroller The only requirement is that the correct Stellaris device is selected in the project configuration October 28 2008 APPENDIX Schematics Schematics for the Stellaris LM3S6965 Evaluation Board follow October 28 2008 17 Stellaris Microcontroller PDA CCPO 34 33 4 0 135 36 PD6 FAULT S S PDS CCP2 5 1 DI S PB6 C0 PD7 CCP1 PB7 TRST PC2
25. to them Copyright 2007 2008 Luminary Micro Inc All rights reserved Stellaris Luminary Micro and the Luminary Micro logo are registered trademarks of Luminary Micro Inc or its subsidiaries in the United States and other countries 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 Luminary Micro Inc 108 Wild Basin Suite 350 Austin 78746 1 512 279 8800 1 512 279 8879 http www luminarymicro com gt EH m EH orte Intelligent Processors by lt a ARM LUMINARY MICRO 2 October 28 2008 Stellaris LM3S6965 Evaluation Board Table of Contents Chapter 1 Stellaris amp LM3S6965 Evaluation Board uususnnsansnnnonnnnnnannunnnnnnnnnnnnnnannnnnnannnnnnnnnnnnnnnnnnnnnnnannnnn 7 8 DAGAN EE il aida 8 Evaluation Kit Contents ioter ene ve a da 9 Evaluation Board 9 Features of the LM3S6965 9 Chapter 2 Hardware 11 LM3S6965 9 11 BED a 11
26. tual COM Port VCP allows Windows applications such as HyperTerminal to communicate with UARTO on the LM3S6965 over USB Once the 2232 VCP driver is installed Windows assigns a COM port number to the VCP channel Serial Wire Out The evaluation board supports the serial wire output SWO trace capabilities Under debugger control the CPLD can route the SWO datastream to the virtual communication port VCP transmit channel The debugger can then decode and interpret the trace information received from the VCP The normal VCP connection to UARTO is interrupted when using SWO Not all debuggers support SWO Refer to the Stellaris LM3S3748 data sheet for additional information on the trace port interface unit TPIU Organic LED Display The EVB features an organic LED OLED graphics display with 128 x 96 pixel resolution OLED is a new technology that offers many advantages over LCD display technology Features RiT P14201 series display 128 columns 96 rows High contrast typ 500 1 Excellent brightness 120 cd m Fast 10 us response October 28 2008 13 Hardware Description Control Interface The OLED display has a built in controller IC with synchronous serial and parallel interfaces Synchronous serial SSI is used on the EVB as it requires fewer microcontroller pins Data cannot be read from the OLED controller only one data line is necessary Note that the SSI port is shared with the micr
27. ugh the CPLD though in a typical application a simple wired OR arrangement is sufficient Reset 15 asserted active low under any one of three conditions Power on reset m Reset push switch SW1 held down Internal debug mode By the USB device controller 04 FT2232 when instructed by debugger October 28 2008 11 Hardware Description Power Supplies The LM3S6965 is powered from a 3 3 V supply A low drop out LDO regulator regulates 5 V power from the USB cable to 3 3 V 3 3 V power is available for powering external circuits 15 V rail is available when the OLED display is active The speaker and OLED display boost converter operate directly from the 5 V rail Debugging Stellaris microcontrollers support programming and debugging using either JTAG or SWD JTAG uses the signals TCK TMS and SWD requires fewer signals SWCLK SWDIO and optionally swo for trace The debugger determines which debug protocol is used Debugging Modes The LM3S6965 evaluation board supports a range of hardware debugging configurations Table 2 1 summarizes these configurations Table 2 1 Stellaris LM3S6965 Evaluation Board Hardware Debugging Configurations 1 Internal ICDI Debug LM3S6965 Default mode microcontroller over USB interface 2 ICDI out to JTAG SWD EVB is used USBto Connecting to an external header SWD JTAG interface to an target and starting debug external ta
28. wer jumper that in this case should be set to internal 3 3 V power Refer to debugger interface October 28 2008 Stellaris LM3S6965 Evaluation Board documentation for full details However if your debugger interface does not have a selectable power source it may be necessary to install a 0 Q resistor on the evaluation board to route power to pin 1 Refer to the schematics and board drawing in the appendix of this manual for the location of this resistor USB Device Controller Functions Device Overview An FT2232 device from Future Technology Devices International Ltd manages USB to serial conversion The FT2232 is factory configured by Luminary Micro to implement a JTAG SWD port synchronous serial on channel A and a Virtual COM Port VCP on channel B This feature allows two simultaneous communications links between the host computer and the target device using a single USB cable Separate Windows drivers for each function are provided on the Documentation and Software CD A small serial EEPROM holds the FT2232 configuration data The EEPROM is not accessible by the LM3S6965 microcontroller For full details on FT2232 operation go to www ftdichip com USB to JTAG SWD The FT2232 USB device performs JTAG SWD serial operations under the control of the debugger CPLD 02 multiplexes SWD and JTAG functions and when working in SWD mode provides direction control for the bidirectional data line Virtual COM Port The Vir

Download Pdf Manuals

image

Related Search

Related Contents

Toshiba Satellite L775-S7140  管理運営委託契約書(案)(PDF)  Samsung RL38ECPS Manuel de l'utilisateur  Samsung GT-E1190 Bruksanvisning  機(3音区屋換気用) 特定保守製品 L  Edición de Europa / Australia / Nueva Zelanda      II OPERATING  manual - Olimpus  

Copyright © All rights reserved.
Failed to retrieve file