Home
Stellaris® MCU Day
Contents
1. ii 4 BENE ILETLETERTI tbe parigharala Py lec Teel PEP La MT3CTL PERIPB Glos T ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Options in Building a Serial to Ethernet with Stellaris Stellaris Quickstart Evaluation Kits Ls 5 Stellaris Open Tool Reference Design Kits nn es 2 9 10 pin to 20 pin JTAG Adapter 71 ze PRopuce Customize Debug your Module Stellaris Modules using any ARM Cortex M3 JTAG emulator Tools from Trusted 39 Parties Off the Shelf amp Ready to Integrate PRODUCTION Use our Complete Open Tool HW amp SW Design ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow Example applications SCADA Remote Terminal Units RTUs Electronic Flow Meters EFMs Medical Point of Care and Retail Point of Sales Machines CCTV RS 232 Recorders RS 232 Stepper Motor Controller Systems LM3S6432 in a 10 x 10 package for reduced board size 10 100 Mbit Ethernet port A
2. 00000 STELLARIS P EVALBOT 194 ASA Stop Start ARROW ELECTRONICS AND TEXAS INSTRUMENTS THE SWITCH Wireless Solutions for Stellaris 1 Lj a Tr Ea ii TRF7960TB DK LM3S9B96 EM2 Stellaris 13 56MHz RFID Wireless Kit e DK LM3S9B96 DK EM2 2500S Stel laris J DK LM3S9B96 EM2 2 4 GHz SimpliciTl Wireless Kit lt lt 1GHz compatible lt A DK EM2 2520Z DK LM3S9B96 EM2 Stellaris 5 ZigBee 4 lt Networking Kit amp Ng Q DK LM3S9B96 Confidential NDA Restrictions E ARROW ELECTRONICS AND TEXAS INSTRUMENTS mm MAKE THE SWITCH Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow StellarisWare Free license and royalty free source code Driver Library Graphics Library USB Library Boot Loader IEC 60730 Library Code examples for each kit Supports different compilers and IDEs TI CCS Keil IAR Code Red CodeSourcery G Enabling our customers with the ability to rapidly develop and deploy their products at competitive costs yielding a higher overall value for the Stellaris solution ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SW
3. Embedded Series 2011 Make the Switch to TI Microcontrollers Interested in designing with microcontrollers Already using MCUs but want to learn more It s easy With a portfolio of 500 MCUS robust software options 24 7 support and more its easy to switch to MCUs For more information visit www ti com make the switch the Switc toTI Mcus INSTRUMENTS i Because Vou can do more Top 10 Sons to Make th e Switc Future proof your design with TI s scalable MCU h to TI MCUs Innovate with the work s lowest sii roadmap 8 Tallor your cess 5 most advanced design with Memory an and connectivity intelligent peripherals for ultra low pows and connectivity options advanced motor Control 4 Access th mast cake support in tha hg veh Days Advanced Techni nference ical Conf SHY slart development wip 1008 of kits and tools I fir the right MCU for your app tom Th rtfol la Of 500 devices WW ti com make the switch ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH MSP430 Day Attendee Exclusive tool discounts Purchase eStore to get 50 OFF for up to one of each tool eZ430 Chronos Wireless Watch Development Tool _ Day t Pick up a promo card and take advantage of these great deals PN ez430 chronos 915 MSP430Day1 MSP430 E
4. aN _ MAKE THE SWITCH Flash Programming GUI supports IE Configuration Program Flash Utilities Other Utities Quick Set Manual Conliguration see below Using the Selected Crystal Value Using the Specified Single Ended Source Value Hz 6000000 3 M Flash Programmer Build 1154 Configuration Program Flash Utities Other Unites Quick Set Manual Configuration see below Interf aca Clock Source Using the Selected Crystal Value 16 MHz Using the Specified Single Ended Source Value Hz 6000000 KE THE SWITCH _ Note Target must be powered Programming Options Boot Loader To update using the boot loader the LM Flash Programmer utility is the easiest option It can be downloaded from the Stellaris section of the website http focus ti com docs toolsw folders print Imflashprogrammer html No Ethernet use UART With Ethernet LM Flash Programmer Build 1154 Ses LM Flash Programmer Build 1154 Configuration Program Flash Utilities Other Utilities Configuration Program Flash Utilities Other Utilities Quick Set Quick Set Manual Configuration see below Manual Configuration see below Interface Interface COM Pork Dewice Manager Client IP Address 158 218 124 140 Serial UART Baud Rate 115200 m Client MAC Address 00 1a b6 ff ed 02 Disable Auta Baud Support Transfer Size
5. EEE 1588 is Precision Clock Synchronization Protocol for Network and Control Systems or Precision Time Protocol PTP NETWORK IEEE 1588 is a protocol designed to synchronize real time clocks in the nodes of a distributed system that communicate using a network Ethernet at a high degree of accuracy Required synchronization Application Area accuracy Low speed sensors e g pressure temperature Milliseconds Common electro mechanical devices e g relays breakers solenoids valves Milliseconds General automation e g materials handling chemical processing Milliseconds Precise motion control e g high speed packaging printing robotics A few microseconds High speed electrical devices e g synchrophasor measurements Microseconds Electronic ranging e g fault detection triangulation Sub microsecond Stellaris implementation Open source IwIP PTPd within 500nS of master clock jitter 500nS This represents a greater than tenfold improvement over typical SW only implementations ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Visualizing the Benefits of IEEE 1588 Before IEEE 1588 Ethernet communication in control applications occurred without absolute determinism Assume Sender sends a control instruction Turn to Controller Assume also that Clock S and Clock C are not synchronized f Sender asks Controller to Turn upon receipt of the instruction then
6. 356965 Evaluation Board Stiellaris LM3S6965 microcontroller with fully integrated 10 100 Ethernet controller Simple setup OLED graphics display with 128 x 64 pixel resolution User LED navigation switches and select pushbuttons Magnetic speaker 1 356965 I O available on labeled break out pads Standard ARM 20 pin JTAG debug connector with input and output modes MicroSD card slot included and IP stacks with Web Servers eRetractable Ethernet Cable USB cable and JT AG cable Kit contains Evaluation software tools Device documentation Quickstart guide Stellaris Peripheral Driver Library Example source code ARROW ELECTRONICS AND TEXAS INSTRUMENTS a 1 THE SWITCH Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow Proof of Concept Industrial Control Demo Serial Ethernet Web Enabled Browser I O User Interface Local User Interface Remote control Local control Serial to Ethernet Converter ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow
7. Speed to market with rapid evaluation Reference design kit includes Motors adapter cables Design files layout BOM s schematic e Kit User Guide Documentation oi b ag gt IDM SBC RDK IDM Single board Touch screen touch screen POE 299 USD 219 USD StellarisWare software GUI interface firmware y gt _ STEPPER 52 Stepper motor Serial o Ethernet CAN BDC Motor Induction Motor 199 USD 139 USD 199 USD 379 USD RDK s are complete design solution all open tooling aN ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH RDK BLDC CAN Ethernet BLDC Motor 219 USD Tllaunches dev kits for Stellaris wireless networking apps 46 a oe NUN HE E W SF ES H QE WC sP H K WO MAKE THE SWITCH Stellaris amp LM3S9B92 EVALBOT Robotic Evaluation Board e otellaris amp EVALBOT for more flexibility amp fun with microcontrollers amp robotics e Offers more tool amp software options for more experimentation dev Keil MDK ARM IAR EWARM TI Code Composer Studio Code Red Technologies Red Suite amp CodeSourcery G e This EVALBOT is preloaded with a StellarisWare application amp includes more example projects in source code e Highlighted LM3S9B92 EVALBOT features Integrated 10 100 Enet MAC PHY
8. ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Options in Building Demo evacuate CUSTOM ZE provuce Stellaris Quickstart Evaluation Kits Customize Debug your Module Stellaris Modules using any ARM Cortex M3 JTAG emulator Tools from Trusted 39 Parties Off the Shelf amp Ready to Integrate Stellaris Open Tool PRODUCTION Reference Design Kits Dues amp S 10 to 20 JTAG Adapter Use our Complete Open Tool HW SW Design ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Example applications Security Systems amp Building Access Controllers White Goods and other Home Appliances Factory Automation System Status and Configuration Bright QVGA LCD touch screen display 3 5 QVGA 240 x 320 pixels 16 bit color White LED backlight 4 wire resistive touch panel Serial connectivity options Headers provide TXD and RXD signals RS232 signal levels serial port with TTL signal levels Default 115 2k 8 n 1 operation High performance and memory 32 bit ARM Cortex M3 core 256KB Main Flash memory 64KB SRAM MicroSD slot typically 1GB storage Flexible power supply options 5 V DC jack 5 V Terminal block and 5 V Serial header Peripherals Four analog measurement inputs 16 digital lines Magnetic buzzer PWM controlled Any Stellaris evaluation kit can function as Serial H
9. Proof of Concept S2E Converter Demo ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Proof of Concept Hardware User Interface RDK IDM L35 User Interface IDM w RDK BLDC HUB ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Proof of Concept S2E Software General Init UART Init LwiP TCP IP Init UPnP Init Set Enable Interrupt Priority Find IP connect Telnet or Client Wait for event Time Stamp Process Update 2 ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Proof of Concept S2E Software Event IDML35 User change Motor to off S2E Processes UART to ENET msg BLDC Turn off motor Send update that motor is off IDML35 Update Web server display Motor off IDM Update Web server display Motor off ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Proof of Concept S2E Demo Basic theory of operation S2E Operating in Raw Mode Data received in UART is Transmitted back out the Ethernet Changing the motor on either the IDM or IDML35 interface will cause an event An update is then sent to network BLDC receives and processes update adjusts the motor speed BLDC transmits updated motor speed to network e DMs receives and processes update refresh web server page with new motor speed
10. 7 Ethernet Adapter 158 218 124 182 Broadcom NetXtreme 57xx Gigabit Wi Texas INSTRUMENTS Wi TEXAS INSTRUMENTS Idle ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow Serial to Ethernet Converters Applications Retro fitting legacy device PC Control Modules Home building controls Add Interface lt Industrial automation systems Remote monitoring Remote control 3 777 Serial to Ethernet Converters Features General Features RS232 Port 10 100Mbps Ethernet w auto detect Auto MDI MDIX cross over correction Network Management Interface Virtual COM software Selectable baud rates Programmable web server a ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow Designing a Serial to Ethernet Converter Typical design considerations Hardware e MCU embedded Ethernet UART e Connection ports RS232 RJ45 e Consider other comms SPI Software e Code for MCU to configure and drive embed
11. CAN amp motion control HR RUN G4 amp 100 pin pk 64 amp 100 pin pkg 128K to 2MB flash 64 100 144 pin D 64 100 144 lt EE eee Note All devices include mix of timers UART 2 X Motion control control USB 125 Ethernet CAN 64 amp 100 pin pkg Complete peripheral set not shown for each device 128KB 2MB flash T 128KB 2MB flash imela sillanata lari gt 2 2 flash Encryption tamper Motion control CAN 8 motion 32KB 2MB flash oniro 64 100 144 control 64 100 144 64 100 144 e 64 amp 100 pkg DO 128KB 2MB flash 5 16 256KB flash 32KB 2MB flash Encryption tamper 5 8 64KB flash CAN amp motion 64 100 144 pin 64 100 144 pin e Motion control control 48 pin pkg 64 amp 100 pin pkg TI Information Selective Disclosure 7A gt MAKE THE SWITCH The Stellaris Full Solution Approach Fully Integrated Stellaris MCUs ARM Cortex M3 core with single cycle Flash Advanced motion control Integrated deterministic connectivity Production ready Modules Customizable modules for drop in implementation Multiple motors supported Easy adoption learning curve through Multiple connectivity options 10 min out of the box evaluation kits Cop
12. Settings Firmware Update TI Stellaris Serial2Ethernet Module 6852 Outstanding in the field Copyright 2009 Texas Instruments Incorporated All rights reserved Done J Local intranet 100 2 ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Options in Building a Serial to Ethernet with Stellaris evavuate 2 5 2 Stellaris Quickstart Evaluation Kits Customize Debug your Module Stellaris Modules using any ARM Cortex M3 JTAG emulator Tools from Trusted 39 Parties Off the Shelf amp Stellaris Open Tool X Ready to Integrate PRODUCTION Reference Design Kits 10 pin to 20 pin Customizing JTAG Adapter Ethernet a Use our PRODUCTION Complete Open Tool HW amp SW Design ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Ethernet in Embedded Systems Stellaris MCU External Hardware Ethernet Controller Media Access Physical gt PHY MAC Layer 2 Layer 1 e RJ45 That Ethernet Connector e Magnetics Isolation Transformer Part of the Physical layer used to decouple PHY from the physical Ethernet cable Physical Layer PHY The most basic network layer providing only the means of transmitting raw bits rather than packets over a physical data link connecting network nodes Media Access Controller MAC Part of the Data Link Layer The MAC provides addressing and
13. USB OTG motion control Bright 96x16 OLED display SD card I F CAN I F 125 audio codec Tl wireless module I F promotes 3 party extensions e Includes Chronos Simplici demo code that enables wireless control EVALBOT using Chronos watch 149 USD MSRP www ti com evalbot wireless module amp watch sold separately i ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Texas Instruments EvalBot Overview Bump Sensors 2 96x16 Blue OLED Display ON OFF Switch USB Device Connector USB Host Connector MicroSD Socket DC gear motors 2 EM2 Expansion Header compatible w Wireless Evaluation Modules In Circuit Debug Interface ICDI 3 USB ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH assembly iS Factory installed quickstart software run pue seas 359892 MICROCONTROLLER Board Overview amp Setup 4 inch diameter circuit board 30 minutes of mechanical resides in on chip Flash memory Texas Instruments analog components for Motor Drive Power Supply e Communications Functions ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Wireless Kit for Evalbot war uqa Control amp SmartRF 04 EVALBOT CC1101EMK868 915 eZ430 Chronos Power PE Calibration on AL Start On vs Y 5 7 gt
14. bit s Flow Control None None Local Telnet Port Number 23 26 Remote rene Telnet Mode Server Server Telnet Protocol Telnet Telnet Telnet Server IP alnet Timer i carnand lt arnnrc ARROW ELECTRONICS TEXAS INSTRUMENTS MAKE THE SWITCH RDK S2E Quickstart e Configuration and Status Settings gt Stellaris S2E Module Windows Internet Explorer provided by Texas Instruments Incorporated Oo 77 http 158 218 125 2 _ 89 t X ui File Edit View Favorites Tools Google v Search gt dp a hre B Check Qj Translate gt 7 Signin m 2 We stellaris 52E Module deh Page G Tools 1 Texas Stellaris S2E Module NSTRUMENTS Firmware Update Home To update the firmware do the following Port 0 1 Startthe LM Flash Programmer application Settings 2 Click the Configuration tab and set the Quick Set choice to Manual Configuration see below 3 Setthe Interface choice to Ethernet Interface Port 4 Enter the parameters given below as the client IP and MAC addresses Settings 5 Click the Program tab and chose the binary file containing the new firmware image by pressing the Browse button 6 Press the Program button If after a few seconds the status bar doesn t show the update in progress press the Update button below Miscellaneous
15. channel access control mechanisms that make it possible for several terminals or network nodes to communicate within a multipoint network ARROW ELECTRONICS AND TEXAS INSTRUMENTS w MAKE THE SWITCH OSI Open System Interconnect Model e OSI defines set of rules to enable computers to communicate over a network It specifies how data is packaged addressed and routed to the right destination Application Presentation Session layers Application Presentation Session Layers Higher layer protocols provide the user interface to the network T t Transport Layer concerned with error free in sequence data delivery with or without loss or duplication Examples UDP x Network Internet Layer provides for the raw transfer of information Network Internet layer between end systems M Data Link Layer concerned with error detection and control The MAC Data link layer media access controller hardware is part of this layer Physical Layer The physical interface between devices transport media Physical layer e g twisted pair bit stream protocol electrical representation of bits The PHY hardware is part of this layer ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Ethernet Hardware Simple Hardware Design RS PF PWMDO PFOPWM PFUIDYT PFLIDXI PEXTEDI Fx e 100bas NOTER Ethernet 10 100baseT MDIO TXOP 8 VDD
16. signals decent speed SSI up to 72 system clock Cons Slower 12C not as common for larger displays e Examples EK LM352965 EK LM3S6965 EK LM3S8962 EK LM3S811 Case 1 Display w integrated controller Stellaris MCU SSI Case 2 Discrete controller display Display Controller IC ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Interface Options Parallel The most common parallel interfaces supported by display controller ICs are 8 16 bit 6800 or 8080 compatible interfaces e Pros High speed due to parallel nature Cons Resource hog lots of pins signals e Examples EK LM383748 DK LM3S9B96 all RDK IDM boards Case 1 Display w integrated controller Stellaris MCU EPI GPIO Case 2 Discrete controller display 1 Display Controller IC ARROW ELECTRONICS TEXAS INSTRUMENTS MAKE THE SWITCH Interface Options Serial Interface SSI SPI and 2 x High speed Stellaris GPIO bit banging or the Stellaris EPI Very popular Simple host bus type interfaces Pros Fewer signals decent 22 With either 8 or 16 bit data paths speed SSI up to 72 system clock 6800 or 8080 compatible Cons Slower 12 not as rss common for larger displays Pros High speed due to parallel Examples EK LM3S2965 EK LM3S6965 EK LM3S8962 Cons Resource hog lots of EK LM3S81 1 p
17. there is no telling when Controller will receive Turn 49 Sender Clock S Uh oh Ethernet is non deterministic by nature some time later Ok Controller Even if Sender asks Controller to Turn at a given time alpha there is still the problem of unsynchronized clocks C Butif Sender asks Controller to Turn at a given time alpha and the clocks are synchronized to a master then determinism is achieved Ok I will TURN at alpha Sender Clock S Clock C UR ARROW ELECTRONICS AND TEXAS INSTRUMENTS Clock C TURN at alpha Sender i Clock S Uh oh Alpha on Clock S z Alpha on Clock C Ok I will TURN at alpha TURN at alpha Yes Alpha on Clock S z Alpha on Clock C MAKE THE SWITCH TCP IP Communications Stacks for Stellaris cHC TCP IP Micrium uC TCP IP Foia expresslogic Express Logic NetX TCP IP protocol stack CMX CMX MicroNet protocol stacks interniche InterNiche TCP IP NicheStack NicheLITE and add on modules such as HTTP SNMP and security protocols EtherNet IP protocol stacks FreeRTOS org Open Source Embedded web server Open source TCP IP stack for small footprint embedded systems Open source light weight implementation of the TCP IP stack for small RAM embedded systems IEEE 1588 PTP Precision Time Protocol SEv
18. 33 VDD33 VDD33 J3011G21DNL VDD33 VDD33 VDD23 68 full schematic in Stellaris LM3S8962 Evaluation Board User s Manual Ti ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH General Ethernet PCB amp Layout Guidelines No power planes under the Ethernet signals to avoid unwanted capacitive coupling Avoid having other signals cross the Ethernet signals on other layers Distance between PHY and Magnetics should be less than 2 inches Differential pairs need to be routed together on same layer e g TX RX RX Differential pairs need to be close in length lt 700 mils and be separated from each other by at least 0 050 necessary to avoid cross coupling between the RX TX Ethernet resistors should be located a close as possible to the Stellaris MCU 10pF capacitors should be located close to the Ethernet transformer The ground plane should not extend under the transformer unless it is shielded on all sides Do not extend the ground plane under the signals from the transformer to the connector A ground plane is not strictly a requirement for Ethernet signaling The benefits of retaining the ground plane between the MCU and the transformer are Provide a low impedance connection point for the 10pF filter capacitors for improved EMC Impedances are easier to control with a ground reference plane Without the plane small dimensional variations in the PCB have a more significant impact on
19. EXAS INSTRUMENTS MAKE THE SWITCH Interrupt Response Tail Chaining Highest IRQ1 IRQ2 Interrupt Handling d gon SS iis 26 Cycles 16 Cycles 26 Cycles 16 Cycles EE Cortex M3 Interrupt 572 SES TE 65 Saving 4 Handling Cycle Overhead lt gt 12 Cycles 6 Cycles 12 Cycles Tail Chaining ARM7TDMI Cortex M3 26 cycles from IRQ1 to ISR 12 cycles from IRQ1 to ISR1 up to 42 cycles if in LSM Interruptible Continual LSM 42 cycles from ISR1 exit to ISR2 entry 6 cycles from ISR1 exit to ISR2 entry 16 cycles to return from ISR2 12 cycles to return from ISR2 ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH How it works on Cortex M3 GUI Graphics ISRs _ application foreground Main application runs as foreground base level Easy to write since no factoring just normal application or RTOS based Can use PLC style state machine poll loop safely ISRs keep data available e SRs for the GUI and graphics are highest priority ies This keeps the UI responsive and fast ISRs for communications below that Ethernet CAN serial etc May use other priorities as needed Very fast interrupt response time true nested interrupts priority masking easy ISR setup all contribute to making an easy solution Application uses priority masking vs interrupt disable if needs cr
20. EwST SEVENSTAX TCP IP Protocol Stack ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Networking stacks supporting Stellaris a mx 0 m TPV Product Stack EET CMX Networking SW Optio ns Interniche mEt mu Interniche Networking WT T TI P TT teme COUNT ee ee IET FE ESSE H Eis E ES n E IDEONGONHENEONEOOEESNNCRSSEEEEE LL ulP open source opensource List is subject to change lt ARROW ELECTRONICS AND TEXAS INSTRUMENTS w MAKE THE SWITCH IP UDP ARP RARP BOOTP DHCP BSD ICMP IGMP PPP SLIP DNS FTP TFTP RIP RTP RTCP Telnet HTTP SNMP SMTP POP3 SNTP PTP NAT SSL IPSec IKE Typical Stack Options Translation Transmission Control Protocol Internet Protocol User Datagram Protocol Address Resolution Protocol Reverse Address Resolution Protocol Bootstrap Protocol Dynamic Host Configuration Protocol Berkeley Socket Internet Control Message Protocol Internet Group Management Protocol Point To Point Protocol Serial Line Internet Protocol Domain Name System File Transfer Protocol Trivial File Transfer Protocol Routing Informa
21. ITCH Stellaris amp Peripheral Driver Library High level API interface to complete peripheral set Free license and royalty free use Stellaris amp Peripheral Driver Library oimplifies and speeds development of applications USER S GUIDE Available as object library and as source w code Works with all supported IDEs TI CCS Keil IAR Code Red CodeSourcery G Driver library functions are preprogrammed in ROM on select Stellaris MCUs ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH StellarisWare CAN StellarisWare driver library CAN All functions needed to implement a interrupt driven CAN stack Configuration of CAN module and data handlings Configuration and control the interrupts interrupt driven message objects CAN Example code can device fifo fifo 115 bldc ARROW ELECTRONICS AND TEXAS INSTRUMENTS Stellaris are boards 1 dk Im3saba6 Ez ek Im3saban ek Im3sabaz 125 ek Im3s811 351988 352965 Lj aes expanded key aes set bitband Fifo drivers jtag graphics 3 hello interrupts mpu Fault pwnmgen qs ek Im3s2965 timers uart echo watchdog ek Im3s3748 ek Im3s6365 HAA BJ B F F MAKE THE SWITCH On chip Software Enhancements ROM e StellarisWare Driver Library High level API i
22. S SAFERTOS Commercial license 2500 Aerospace medical apps e 65K license ROM d LM3S9B96 Le ARROW ELECTRONICS AND TEXAS INSTRUMENTS C j MAKE THE SWITCH SAFERTOS included in the LM3S9B96 High integrity RTOS in ROM PROGRAM MEMORY Can be used as a standard operating EN system as part of a high integrity application which requires certification _ to IEC61508 or FDA510 k AN Device Drivers fsa SAFERTOS RTOS value 65k free with s Tempest LM3S9B96 Integrated hardware software solution shortens the time to market and significantly reduces cost for Industrial and Medical Applications Innovative Design Assurance Pack available separately from WITTENSTEIN provides complete turnkey evidence and process documentation ARROW ELECTRONICS AND TEXAS INSTRUMENTS mm MAKE THE SWITCH
23. Stellaris MCU Day serial to Ethernet Solutions ready to implement Stellaris ARM Cortex M3 Microcontroller Solutions Embedded Series 2011 EETIMES 3 ProouctCenter ULTIMATE PRODUCTS 3 1 Winner TEXAS INSTRUMENTS Editors Tech Choice COMPUTING DESIG WN Editor s Choice FIRST Robotics Competition CROWN SUPPLIER Stellaris Family StellarisWare Serial to Ethernet Converter Designing a Serial to Ethernet Converter S2E RDK Overview Industrial Control Demo Overview Embedded Series wow Embedded Processors Portfolio TI Embedded Processors Microcontrollers MCUs ARM Based Processors Digital Signal Processors DSPs Ultra Low power 16 bit ultra 32 bit 32 bit ARM low power ARM Cortex A8 High performance Cortex M3 MCUs real time MCUs DSP MCUs DSPs MPUs C2000 e Sitaras 6000 MSP430 Delfino Stellaris ARM Cortex A8 DaVinci C5000 ARM Cortex M3 amp ARM9 Piccolo Up to 40MHz Up to 300MHz to 300MHz to 1Ghz Up to 300 MHz 25 MHz 300 MHz 80 MHz gt 1GHz Accelerator Accelerator Flash Flash RAM Flash Cache Cache Up to 320KB RAM 1 KB to 256 KB 16 KB to 512 8 KB to 256 KB RAM ROM RAM ROM Up to 128KB ROM Analog I O ADC PWM ADC Fintan USB CAN USB USB ADC LCD USB RF CAN SPI 2 ADC PWN SPI PCle EMAC PCle SATA SPI McBSP SPI C Measurement Motor Control Connecti
24. YNC otellaris devices don t have enough internal SRAM to locally store the frame buffer on most displays External slower memory is required to store frame buffer Assuming 4 cycles per pixel 16 bit parallel interface via EPI that s an additional 18 432 000 cycles per second In reality it will most likely take more than 4 cycles per access When factoring in access to external memory and the precise timing requirements required for the SYNC signals doing something simple like drawing the frame buffer consumes most If not all of the CPU cycles ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH No Assembly Required e Cortex M3 has complete hardware support for interrupts Interrupt Service Routines ISRs are purely written in C C setup is easily done in e C C array which contains the vectors pointers to the functions Pointer to the stack a C C array No boot code ASM no system configuration ASM ARM compilers normally come with an ASM boot routine in object form that does setup For Cortex M3 no boot routine is needed Cortex M3 hardware loads the stack pointer from memory and the initial PC from memory and enters as a normal C function User C C code is all that is required Entire software code base can be written in ISRs Td RTOS Application code ARROW ELECTRONICS AND T
25. ased size and clock enable input e Other features General parallel GPIO FlFOed with speed control for custom peripherals or digital controls Blocking and non blocking reads FlFOed writes separate the processor from timing details Direct memory access DMA ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Interface Options Why notl drive directly LCD interfaces could theoretically be driven directly from the MCU when there are enough pins f no controller is present EVERY pixel needs be re drawn multiple times per second typically 60 to avoid screen flicker Pixel data to be written needs to be stored locally Assuming 16 bit color that s 16 bits per pixel Simple example Screen 320x240 16 bit color Assumptions Single cycle GPIO writes ignoring VSYNC and HSYNC signaling requires 3 GPIO ports 2 for data 1 for control 320 240 76 800 pixels 16 bit color 76 800 x 16 bits 2 bytes 153 600 bytes for frame buffer 76 800 cycles 1 for each GPIO port write 230 400 cycles 60 fps 230 400 60 13 824 000 cycles ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Interface Options Why not drive directly From the example it takes 13 924 000 cycles per second just to draw the frame buffer his does not take into account memory access for the frame buffer his does not take into account HSYNC and VS
26. ded Ethernet UART and perform data conversion e Web server with TCP IP stack e Interface for configuration and status ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Serial to Ethernet Hardware Block Diagram Stellaris MCU ARROW ELECTRONICS AND TEXAS INSTRUMENTS zn Embedded Serie MAKE THE SWITCH _ La bon AS w LA T RER ai WIE User Interface ARROW ELECTRONICS AND TEXAS INSTRUMENTS i Embedded Series MAKE THE SWITCH Serial to Ethernet User Interface Configuration and status e S2E Kit Finder Utility amp IP Address LM S2E Browser Application Manual Configuration comOcom ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH erial to Ethernet Design Solution Hardware Soflware Interface T 14 arus aasqssanaqssnaqqpusaqaqpusaqapaaqaqanaaquunaqpanaqqpanaqaapuqaqpu aqaqpunaqpanaqqs K imi 1 saiz medal s has Texas Stellaris 2E Module heey masigurd lamq eser t Was lapak char Saatus amp Configuratian i n epi i Jedes T neum jaa EF r ka EJ fin ap Z map peris 2 i T iii EL 13 mme i i ias LPS 2 Cr T 3
27. e unit resale 185 USD 24V DC power jack e 5V DC terminals Any Stellaris evaluation kit can function as an ARM Cortex M3 USB to JTAG emulator MAKE THE SWITCH RDK IDM Board Options e Bright QVGA LCD touch screen display e Bright QVGA LCD touch screen display 2 8 QVGA 240 x 320 pixels 3 3 5 QVGA 320 x 240 pixels e Ethernet and Serial connectivity options Serial connectivity options 10 100 Ethernet with Auto MDI MDIX 3 RS232 serial port with RS232 signal Header provides TXD and RXD signals levels UART serial port with T TL signal levels MicroSD slot typically 1 GB storage MicroSD slot typically 1 2 GB storage Flexible power supply options Power over Ethernet IEEE 802 3af Flexible power supply options compliant 5 V power supply with DC regulator that 24V DC power jack generates 3 3 V for powering the board 5V DC terminals hrough UART header e Additional Peripherals Four analog measurement inputs relay output 1 form C SPDT contacts ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Display User output User input devices MCU or MPU Memory Communications Serial amp Ethernet ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Interface Options Serial The most common serial interfaces supported by display controller ICs are SSI SPI and 2 e Pros Fewer
28. eader JTAG SWD T S UR Digital I O 8 lt Digital 1 0 4 microSD Card 3 2 ME x 8 6 6M Inputs 4 Serial Port Digital O 4 RDK IDM L35 resale 219 USD MDL IDM L35 single unit resale 185 USD an ARM Cortex M3 USB to JTAG emulator ARROW ELECTRONICS AND TEXAS INSTRUMENTS KE THE SWITCH _ Example applications e Security Systems amp Building Access Controllers e White Goods and other Home Appliances e Factory Automation e System Status and Configuration Bright QVGA LCD touch screen display Relay pe Contacts Kog Anal 2 8 QVGA 240 x 320 pixels _ __ ms LES 16 bit color NC ET L AINO White LED backlight LOL d pa AIN1 Resistive touch panel RXD E E TXD T E Ethernet and Serial connectivity options ze ies 10 100 Ethernet with Auto MDI MDIX and Traffic Link indicator LED Header provides TXD and RXD signals e RS232 signal levels Default 115 2k 8 n 1 operation e Ethernet boot loader for reprogramming 10H00 Ethemet High performance and memory 32 bit ARM Cortex M3 core 256KB Main Flash memory 64KB SRAM CE MicroSD slot typically 1GB storage Flexible power supply options RDK IDM resale 219 USD Power over Ethernet IEEE 802 3af compliant MDL IDM single unit resale 199 USD MDL IDM only MDL IDM28 singl
29. ernal networks send audio video over internet remote access publish retrieve web pages manage monitor client status send email over internet retrieve email over internet network clock synchronization deterministic synchronization network privacy secure communication virtual private network security key certificate sharing ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH LM3S8962 Evaluation Kit Web Server Demo e QS lwip DE http 169 254 19 63 g x i View Favorites Tools Hel arcade game Be Edt Favortes Toos Hep uptellarist LM356265 Evaluation Kit Windows Internet Explorer Ww 1 1 356965 Evaluation Kit A M y WE v Tools w E enet lwi WIP TEXAS Stellaris LM3S8982 Evaluation Kit Serves web pages NSTRUMENTS from internal flash or from user micro SD Car e About Texas Instruments Extended support for About the Stellaris Family SSI amp CGI added to Block Diagram HTTPD e Quick Start Game Demo Utility supports easy of web site lle system images enet Serves basic single page Copyright 2007 2009 Texas Instruments Incorporated All rights reserved 4 Internet 100 ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH EK LM3S6965 Evaluation Kit Overview Stellaris LM3S6965 Evaluation Kit
30. ernet USB Included in the Stellaris Peripheral Driver Library with full applications examples Preloaded in ROM on select Stellaris Microcontrollers ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH StellarisWare Serial Flash Programming GUI e LM Flash Programming GUI LM Flash Programmer Build 1154 Simpl e graphical user interface Configuration Program Flash Utilities Other Utilities Support for all Evaluation Kits Quick Set Key features include Manual Configuration see bel Prog Interface Verify sats FE rase CDI Eval Board e Read memory Speed Hz 1000000 Clock Source f Using the Selected Crystal Value 16 MHz 6000000 f Using the Specified Single Ended Source value Hz Wi TEXAS INSTRUMENTS Available now ht tp focus ti com docs toolsw folders print Imflashprogrammer htm ARROW ELECTRONICS TEXAS INSTRUMENTS MAKE THE SWITCH Programming Options JTAG SWD If debug is needed or a flash image is erased you can always use the JTAG SWD interface to load a binary into the flash e Remember Stellaris evaluation kits can act as In Circuit Debug Interfaces ICDIS meaning you can use them to program debug other boards such as the RDKs LM3S811 EVB Target Cable PC with IDE This LM3S811 is held in reset debugger ARROW ELECTRONICS AND TEXAS INSTRUMENTS
31. es do not show up on the screen Application code widget handlers ISRs etc can add and remove widgets by calling WidgetAdd or WidgetRemove or can pass messages for processing using WidgetMessageQueueAdd TEXAS INSTRUMENTS MAKE THE SWITCH Graphics Library Primitives Layer Graphics Primitives TEXAS INSTRUMENTS Point Line Rectangle Circle Font Image Context Buffer 134 Computer Modern predefined fonts available Up to 24 bit color 150 common colors conveniently referenced in GraphicsLib The widget library uses graphics primitives to construct widoets For example a checkbox uses the rectangle font and line primitives rectangle for drawing the TEXAS INSTRUMENTS container line for drawing the x for checked and font for the text It s possible to make calls to the primitives layer for example to draw static text or an image but if an application is widget based it s not necessary ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Graphics Library Display Driver Layer The Graphics Library can be made to work with just about any display of any size within reason of course The graphics primitives use a structure describing the display to figure out how to talk to it This structure contains Basic display info such as width height that determines display orie
32. g functionality and power conservation Experience fastest time to market for the most cost effective standardized market leading solutions through extensive Stellaris hardware tools StellarisWare software documentation technical support and s vast 3rd party ecosystem e o o 900000 0 900000 900000 900000 6 51 85 104 128 Stellaris Stellaris 1 Gen 2naGen 4 lt gt x 2 E 4 E 4 e ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Family Technology ARM Cortex M3 v7 M Processor Core Up to 80 MHz On chip Memory 256 KB Flash 96 KB SRAM loaded with Stellaris Driver Library BootLoader AES tables and CRC External Peripheral Interface EPI 32 bit dedicated parallel bus for external peripherals Supports SDRAM SRAM Flash M2M Advanced Serial Integration 10 100 Ethernet MAC and PHY CAN 2 0 Controllers USB speed Host Device UARTs with IrDA and ISO 7816 support 2 1265 e2 Synchronous Serial Interfaces SSI Integrated Interchip Sound 125 System Integration 32 channel DMA Controller eInternal Precision 16MHz Oscillator e wo watchdog timers with separate clock domains Cortex Systick Timer 4 32 bit timers up to 8 16 bit
33. ing performance and cost demands of various markets ARM Cortex A Series e Applications processors for complex OS and user applications e Supports the ARM Thumb and Thumb 2 instruction sets Did You ARM Cortex R Series Know Embedded processors for real time systems Instruments is the Supports the Thumb and Thumb 2 instruction sets lead partner for ARM Cortex e Deeply embedded processors M4 e Optimized for cost sensitive applications e Supports the Thumb 2 instruction set only Note C E E E e ARM Code 32 bit instructions 32 bit data Q rtex Thumb Code 16 bit instructions 32 bit data h Thumb 2 Code mostly 16 bit amp some 32 bit 25 Faster 26 Smaller Intelligent Processors by ARM ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris First in ARM Cortex M3 Microcontrollers In May of 2009 acquired Luminary Micro Inc Luminary Micro was ARM s lead partner for Cortex M3 architecture Tl now offers four generations of Stellaris ARM Cortex M3 MCUS today Corte Intelligent Processors by ARM POWERED e Stellaris family has over 160 microcontrollers Broad line card of mixed signal microcontrollers focused on applications in energy security and connectivity markets Unique IP for motion control applications real time connectivity Ethernet Controller Area Network and USB intelligent analo
34. ins signals Examples EK LM383748 DK LM3S9B96 all RDK IDM boards ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH HMI Software Block Diagram Data Processing Embedded WebServer optional 5 OS Device Drivers ARROW ELECTRONICS TEXAS INSTRUMENTS Embedded eries ruvuuu MAKE THE SWITCH StellarisWare Graphics Library Set of graphics primitives and widgets for use on Stellaris MCUs Three layers of functionality Display Driver Layer Graphics Primitives Layer Widget Layer Application Widget Layer Graphics Primitives Layer Display Driver Layer tem ARROW ELECTRONICS AND TEXAS INSTRUMENTS 777 _ MAKE THE SWITCH Graphics Library Widget Layer e The Graphics Library built in widgets include Canvas Checkbox Container Push Button Radio Button Image Button Slider ListBox The appearance of push button and slider widgets can be customized with any image The widget framework also allows for customizable widgets if what you need doesn t exist A utility pnmtoc is provided in StellarisWare to help convert the image from PNM format to a C array that can be linked into an application user application periodically services the widget messages the queue by calling WidgetMessageQueueProcess Without processing the queue chang
35. itical region ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH RTOS Support for Stellaris gt IKEIL RTX flexible royalty free RTOS with source code Ars Compery SIAR PowerPac fully featured RTOS combined with a high performance file system amp 7 CMX RTX RTOS offering small footprint fast context switch times embOS RTOS for embedded applications designed Quadr ne RTXC for embedded applications SCIOPTA SCIOPTA real time operating system for safety critical applications Unison Ultra Tiny Embedded Linux and POSIX Compatible RTOS Micrium Portable scalable preemptive real time multitasking kernel RTOS ThreadX advanced RTOS designed specifically for deeply embedded applications FreeRTOS org Open Source mini real time kernel ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH RTOS Support for Stellaris i Industry RTOS Basics ocheduler policy threads Pre emptive 3 thread types omall footprint fast execution Very small 5KB fast uC specific Dynamic static declarations Threads dyn data static dynamic Object based Yes User APIs via library or src 3 C source files provide entire kernel File Mgmt nice to have yes but not built in Cost 0 e Can upgrade from freeRTOS e Can upgrade from freeRTOS 5KB ROMable AA Certified IEC 61508 TUV SUD SIL3 9 Supports MSP430 and Stellaris Ox Safety Integrity Level OPENRTO
36. ntation Functions for basic tasks such as single pixel draw pixel draw multiple line draw horizontal line draw vertical rectangle color fill color translate from 24 bit RGB to display specific colors and cache flush If a display controller is not supported in the Graphics Library creating a driver with the functions listed above will allow it to be used with the Graphics Library ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH StellarisWare Graphics Library File Organization StellarisWare grlib contains all Graphics Library related files Compiler specific project information StellarisWare Graphics Library specific c source and h header files for all boards graphics objects boot loader Canvas checkbox circle container context docs Image line listbox pushbutton radiobutton imagebutton m e Rectangle string slider widget F4 I Lj ccs Other generic Graphics Library related c source and header files amp swarm Supports different compilers and IDEs 5 fonts TI CCS IAR Code Red CodeSourcery StellarisWare grlib fonts contains Graphics Library font specific w files m third party Graphics Library User Guide click link for download J tools Graphics Library utilities 3 usblib StellarisWare tools ftrasterize for creating fonts util StellarisWare tools pnmtoc f
37. nterface to complete peripheral set Simplifies and speeds development of applications Saves user flash by storing peripheral setup and configuration code Allows programmer focus to be on the application not setup StellarisWare Bootloader Download code to flash memory for firmware updates Interface options include UART default I2C SSI Ethernet e Other flash memory saving options Advanced Encryption Standard AES tables for cryptography Supported by the current AES example application Covers all three sizes 128 192 256 Cyclic Redundancy Check CRC functionality for error detection ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH StellarisWare In System Programming Options e Stellaris Serial Flash Loader Small piece of code that allows programming of the flash without the need for a debugger interface Stellaris MCUs without a ROM ship with this pre loaded in flash Interface options include UART or SSI supplies a Windows based application GUI or command line that makes full use of all commands supported by the serial flash loader LMflash exe e Stellaris Boot Loader Small piece of code that can be programmed at the beginning of flash to act as an application loader Also used as an update mechanism for an application running on a otellaris microcontroller Interface options include UART default 2 SSI Eth
38. or Board Com Port Ethernet Ethernet ka L i gt E Seriatto Ethernet Module ARROW ELECTRONICS AND TEXAS INSTRUMENTS Eme Embedded Series nnw MAKE THE SWITCH RDK S2E Quickstart e Finder Utility n Stellaris R Board Finder Get the IP address Using PnP protocol Available Stellaris Boards IP Address MAC Address ClientlP Application ARROW ELECTRONICS AND TEXAS INSTRUMENTS L MAKE THE SWITCH RDK S2E Quickstart Use address to launch Configuration and Status Website Open Internet Explorer window in IP address from Finder Utility in browser gt Stellaris S E Me n taag nternet Explorer provided by Texas Instruments Incorporated roinse 216 125 2 11728 File Edit Wew 065 Help I Google SJ search 4 5 Ap Check dg Translate AutoFil 7 K gt Signin We QS Stellaris 52E Module h Py page gt TEXAS a E Mad INSTRUMENTS Stellaris 52 Module Status amp Configuration Home 1211 Stellaris Serial2Ethernet Module Port 0 Firmware Revision 6852 Port 1 00 1a b6 00 44 6a Settings Current port settings Settings Firmware Baud Rate 115200 bits second 115200 bits second update Data Size 8 bits character 8 bits character Parity None None Stop Bits 1 bit s 1
39. or creating images ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Example applications Factory automation Small appliances Electric wheelchairs and mobility devices Pumping and ventilation systems Advanced motor control for three phase brushless DC motors up to 36 V 500 W Brake Resistor Flexible platform accelerates integration process a ES Power Input D Uses Stellaris LM3S8971 microcontroller uuu s Mam Status LEDs II 13 Rm Terminals 10 100 Ethernet and CAN interfaces ma eis qii CAN Bus UYA a B Hall Effect Sensor Four quadrant operation for precise control Connector por FRR AS unos 6 02 Terminals a mir m ke al Hall Effect Quadrature and Sensorless operation modes 10 100 U 3 E S anim Analog Input Ethernet G On board braking circuit Connector r I EET ES Encoder Input _ MOTOR Terminals Incremental quadrature encoder input m Stellaris LM3S8971 MOSFET User Pushbutton Analog and digital control Inputs Microcontroller Power Stage DEMO Status LEDs indicate Power Run and Fault conditions RDK BLDC resale 219 USD Optional power managed fan for forced air cooling MDL BLDC single unit resale 149 USD JTAG SWD port for software debugging Any Stellaris evaluation kit can f
40. r RDK s Brush DC Motor Control Ethernet CAN BLDC Motor Controller MDL BDC24 MDL BLDC US LUMINHNAR YMHICRO STEPPER Motor Control AC Induction Motor Control MDL STEPPER MDL ACIM ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Broad Portfolio Largest ARM MCU portfolio in the world with over 160 devices e 8KB 256KB Flash and 96KB RAM 10 bit 8ch ADCs from 250ksps 1MSPS e Up 8 advanced PWM modules BOR and integrated LDO e Analog comparators and temp sensor 48 to 108 pin LQFP LQFN BGA Connectivity Rye Ease of Use Only family in the industry with c friendly IDE and compilers from industry Ethernet MAC amp PHY with 1588 PTP support leaders USB Host Device or On The Go Low cost development tools e CAN 2 0 with 32 mailboxes Application specific and advanced Integrated UART 12C SSI modules development kits Integrated 125 master or slave Production ready application modules External Peripheral Interface supporting StellarisWare on ROM includes driver and SRAM SDRAM M2M FPGA CPLD peripheral libraries to ease development ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Thank you for attending Stellaris MCU Day Human Machine Interface applications made easy with Stellaris ARM Cortex M3 Microcontroller Solutions Always available online to answer your questions TI E2E Support Community Stellaris
41. the differential impendance Smaller trace geometries are possible Without a plane simulations show that 0 023 traces with 0 007 spacing are needed for a typical two layer FR 4 design ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH StellarisWare Ethernet e StellarisWare driverlib API s Configure and control the MAC Access the register set on the PHY ransmit and receive Ethernet packets Configure and control the interrupts Interrupt driven Ethernet Example code boot demo eth boot eth ext enet io enet enet ptpd enet uip Stellaris extras wip 1 3 2 uip 1 0 ptpd 1rc1 fatfs ARROW ELECTRONICS AND TEXAS INSTRUMENTS 3 Stellarisware boards dk Imas9b96 1 359690 ek Im3saboz ek m3s811 ek Im3s1968 ek Im3s2365 ek Im3s3748 ek Im3s6965 E ek Im3s8962 aes expanded key aes set bitband blinky boot demo Lj boot boot dema eth boot eth boot serial can device fifo device led device qs can Fifa drivers enet in enet enet ptpd enet LJ jtag graphics hello interrupts Fault pwmgen mm MAKE THE SWITCH Time Synchronization over Ethernet IEEE 1588 PTP What is IEEE1588
42. tion Protocol Real time Transport Control Protocol Terminal Emulation Hypertext transfer Protocol Server Simple Network Management Protocol Simple Mail Transport Protocol Post Office Protocol 3 Synchronized Network Time Protocol Precision Time Protocol also called IEEE1588 Network Address Translation Secure Sockets Layer Internet Protocol Security Internet Key Exchange Several Stellaris MCUs integrate hardware assistance for IEEE1588 PTP a Wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link wikipedia Link High level Purpose guarantee delivery data oriented fire and forget finding a address finding a address finding a address adding devices to a network connecting to the internet error message generation manage IP multicast groups direct point to point connection direct point to point connection translate host name to address transfer files point to point FTP but for smaller files routing int
43. unction as an ARM Cortex M3 USB to JTAG emulator ARROW ELECTRONICS AND TEXAS INSTRUMENTS aN _ THE SWITCH Example Solution BLDC Motor Control Ethernet 3 phase BLDC with Ethernet and CAN RDK BLDC BLOC Motor ROK 3 phase Brushless DC Motion Control 8 Ethernet commands and monitoring Communicating with a multicast CAN network Power Terminals Motor Terminals Alternate Power Input Status LEDs CAN Bus Hall Effect Sensor Connector Terminals mee an Stellaris 1 358971 MOSFET User Push bution 40 of 50 MHz bandwidth left to application Motor control ISRs e g PWM ADC t Main application foreground Return ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Digital Motor Control concept PWM Outputs a gt RX 0101101001 UART Control Loop 1 TX 101011 i 010110000 FLASH ROM i e PID IIR N INED ADC i e V l Quad Decoder i e Encoder i e Hall Sensor ARROW ELECTRONICS AND TEXAS INSTRUMENTS _ MAKE THE SWITCH RDK BLDC e GUI interface tool Brushless DC Motor Drivs Main Window r Direction Speed Power target x e Run Stop Configure Pomer N e Speed Current power graphs as e Instantaneous speed and LER DOWe r Mob Curent Status motor current bus voltage etc INSTRUMENTS Stellaris Moto
44. uto MDI MDIX cross over correction Traffic and link indicators Serial ports UARTO has RS232 levels transceiver runs at up to 230 4 K baud UART1 has CMOS TTL levels can run at 1 0 M baud UART ports include RTS CTS for flow control Both ports can be used simultaneously ooftware P configuration with static IP address or DHCP Telnet server for access to serial port VCP software included Web server for module configuration Universal plug and play uPnP for device discovery Telnet client for Ethernet based serial port extender Module supports 5 V and 3 3 V supplies RDK S2E resale 139 USD ous MDL S2E single unit resale 49 USD JTAG port pads for factory programming ARROW ELECTRONICS AND TEXAS INSTRUMENTS a RDK S2E Kit Hardware 52 board pre programmed with Quickstart application ser2enet c RS 232 adaptor board e Cables DB9 serial cable Ethernet cable USB cable power source Reference Design Kit on public website Documentation Quickstart ReadMeFirst Software Reference Manual Board Data Sheet BOM schematics and gerbers Software Stellarisware LM Flash Programmer Interface applications http focus ti com docs toolsw folders print rdk s2e cd html ARROW ELECTRONICS AND TEXAS INSTRUMENTS mm MAKE THE SWITCH RDK S2E Quickstart Connect and power Serial Cable S2E Connect
45. vity Security Industrial computing Test amp Meas Video Sensing General Digital Power Motion Control HMI POS amp portable audio security Purpose Lighting Ren Energy Industrial Automation data terminals imaging infrastructure 0 49 to 9 00 1 50 to 20 00 1 00 to 8 00 5 00 to 20 00 5 00 to 200 00 3 00 to 10 00 4 Audio Voice Medical Biometrics ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Scalable solutions across all ARM cores industrial automation e Connectivity Ethernet USB serial e Display Up to QVGA 320 x 240 Real time sensor 2 handling e Connectivity Ethernet USB serial 7 Machine to machine 1 Interface still camera low res video e Connectivity USB Ethernet Display Up to WXGA resolution 4 Rich user interface 3D graphics capability of 10M polygons per second Connectivity USB Ethernet e Display Up to WXGA x j 3D graphics MAKE THE SWITCH What is ARM Cortex M3 The Cortex family of ARM processors provides a range of solutions optimized around specific market applications across the full performance spectrum Cortex underlines ARM s strategy of aligning technology around specific market applications and performance requirements e he ARM Cortex family is comprised of three series which all implement the Thumb 2 instruction set to address the increas
46. with RTC capability Lower power battery backed hibernation module pin muxing capability Advanced Motion Control advanced PWM outputs for motion and energy applications 2 Quadrature Encoder Inputs Analog 2 8 ch 10 bit ADC for a total of 16 channels 3 analog comparators voltage regulator 1 2V internal operation v ARROW ELECTRONICS AND TEXAS INSTRUMENTS JTAG ARM Wig Cortex M3 80 MHz SWD 3 UARTs 2 SSI SPI 10 100 Ethernet PHY IEEE 1588 USB Full Speed Host Device OTG 3 uj lt x lt x TT o 21 126 2 Quadrature Encoder Inputs 8 PWM Outputs Timer Comparators PWM PWM Generator Interrupt MOTION CONTROL Dead Band Generator MAKE THE SWITCH 256 KB Flash 96 KB SRAM ROM Clocks Reset System Control Systick Timer 4 Timer PWM CCP Each 32 bit or 2x 16 bit 2 Watchdog Timers GPIOs 32ch Precision Oscillator Battery Backed Li Hibernate LDO Voltage Regulator 3 Analog Comparators 2x 10 bit ADC Each 8 channel 1 Msps Temp Sensor Stellaris amp Roadmar Production Sampling Development ARMS Cortex M3 ARM Cortex M3 ARM Cortex MAF 128KB to 2MB flash 384 512KB flash 128 256KB flash CAN amp motion Encryption tamper gt
47. xperimenter Board PN MSP EXP430F5529 MSP430Day2 21 MSP430 Experimenter Board Codes will be live for a month after the event and PN MSP EXP430FG4618 MSP430Day3 gt MSP430 Experimenter Board PN MSP EXP430F5438 MSP430Day4 Texas MSP FET430Uxx kits MSP430Day5 INSTRUMENTS Stellaris Day Attendee Exclusive tool discounts Purchase via eStore to get to one of each of m the following kits for only 49 gt Serial to Ethernet Reference Design Kit RDK S2E StellarisDay1 the d ay of the event Ethernet Evaluation Kits EK LM3S6965 StellarisDay2 e Ethernet CAN Evaluation Kits EK LM3S8962 StellarisDay3 e Ethernet USB OTG Evaluation Kits EK LM3S9B90 StellarisDay4 e Ethernet USB OTG Evaluation Kits EK LM3S9B92 StellarisDay5 EVALBOT Evaluation Kits EK EVALBOT StellarisDay6 code valid thru 5 31 11 100 instead of regular 149 www ti com estore a ARROW ELECTRONICS AND TEXAS INSTRUMENTS Presentations will be posted on MAKE THE SWITCH Backup Slides mbedded Series wow External Peripheral Interface Multiple device types supported Machine to Machine Wide parallel interfaces for fast communications e For instance CPLDs and FPGAs e Data widths up to 32 bits data rates up to 150 Mbytes second e Optional address sizes from 4 bits to 20 bits Optional clock output read write strobes framing with counter b
48. y exactly with open tooled HW and SW 10 100 CAN USB Ethernet Complete Open tooled RDKs Open tooled HW SW Reference Design Kits Motor included for out of the box demonstration Fully documented available for download and in stock Proof of Concept Stellaris MCUs Modules Putting our motion control to the test before you do End to End Solution Source Files Motor App and Royalty Free Schematics Placement Bill of Materials Gerbers StellarisWare Source Control Config GUI ARROW ELECTRONICS AND TEXAS INSTRUMENTS MAKE THE SWITCH Stellaris Evaluation Kits e Start in 10 minutes or less e Evaluation board packages includes Cables A choice of evaluation tools suites for popular development tools Documentation QuickStart guide User s guide StellarisWare software Applications notes EK LM3S811 EK LM3S1968 EK LM3S2965 EK LM3S3748 EK LM3S6965 EK LM3S8962 EK LM3S9B90 EK LM3S9B92 Low pin count High pin count CAN Functionality USB Host Device Ethernet MAC PHY Ethernet CAN Ethernet USB OTG EthernettOTG MC 49 USD 59 USD 79 USD 109 USD 69 USD 89 USD 99 USD 99 USD e Function both as an evaluation platform and as a serial in circuit debug interface for any Stellaris microcontroller based target board ARROW ELECTRONICS AND TEXAS INSTRUMENTS KE THE SWITCH Stellaris Reference Design Kits RDK IDM Landscape touch screen 219 USD
Download Pdf Manuals
Related Search
Related Contents
manual del usuario v.. - Software Punto de Venta HomeFill™II Compressor User Manual of FarmBoss II - Diesel UTV Le tarot, mode d`emploi 3-Heights™ PDF to PDF/A Converter API, User Manual 書式(PDF) - 尾山台不動産 Soleus Air ST-2008 User's Manual 1 - Xerox 取扱説明書 操作編 Copyright © All rights reserved.
Failed to retrieve file