Texas Instruments 的 LAUNCHXL2-TMS57012 Quick Start Guide 规格书

Meet the
Hercules TMS570LS12x
LaunchPad
Development Kit
Part Number: LAUNCHXL2-TMS57012
BoosterPack Ecosystem
See them all @ ti.com/boosterpacks
>>
Software Tools
HALCoGEN
A powerful GUI based code
generation tool that allows users
to configure peripherals and other
MCU parametes.
Easily import code into CCS and
other IDEs.
Professional Software tools
LaunchPad is also supported by professional
IDEs that provide industrial-grade features
and full debug-capability. Set breakpoints,
watch variables & more with LaunchPad.
2014 Texas Instruments Incorporated. The platform bar, Hercules, SafeTI and Code Composer Studio are trademarks of Texas Instruments.
All other trademarks are the property of their respective owners.
Disclaimer: www.ti.com/lit/sszz027
c
www.ti.com/ccs
Code Composer Studio IDE
TM
DRV8301 Motor Driver
BoosterPack
- Spin Any Three Phase Motor!
- 6-24V Supply Input
- 10A Continuous/14A Peak
TM
www.ti.com/tool/halcogen
Sensor Hub BoosterPack
InvenSense MPU-9150 9-axis
MEMS motion sensor
- 3-axis gyroscope
- 3-axis accelerometer
- 3-axis compass
• Bosch Sensortec BMP180
pressure sensor
• Sensirion SHT32 humidty &
ambient temperature sensor
• Intersil ISL29023 light & IR
SPI CS
SPI CS
SPI CS
GND
GPIO (!)
GPIO (!)
GPIO**
RST
SPI MOSI
MISO
GPIO (!)
GPIO (!)
GPIO (!)
PWM
+3.3V
Analog In
UART RX ( MCU)
TX ( MCU)
GPIO (!)
Analog In
SPI CLK
GPIO (!)
I2C SCL
SDA
+5V
Analog In
Analog In
Analog In
Analog In
Analog In
Analog In
GND
Reserved
Reserved
Timer
Timer GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
PWM
PWM
PWM
PWM
(!)
(!)
(!)
(!)
(!)
(!)
(!)
(!)
(!)
(!)
SPI CS
SPI CS
SPI CS
GND
GPIO (!)
GPIO (!)
GPIO**
RST
SPI MOSI
MISO
GPIO (!)
GPIO (!)
GPIO (!)
PWM
+3.3V
Analog In
UART RX ( MCU)
TX ( MCU)
GPIO (!)
Analog In
SPI CLK
GPIO (!)
I2C SCL
SDA
+5V
Analog In
Analog In
Analog In
Analog In
Analog In
Analog In
GND
Reserved
Reserved
Timer
Timer GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
GPIO
PWM
PWM
PWM
PWM
(!)
(!)
(!)
(!)
(!)
(!)
(!)
(!)
(!)
(!)
BoosterPack standard
LAUNCHXL2-TMS57012 Pin map
Resources
ti.com/launchpad {
{
Code examples
Open Source Design Files
Documentation
Example projects
Videos
Tutorials
Other TI products
Below are the pins exposed @ the 2x BoosterPack connector sites.
Mapping to the booster pack standard is shown. In some cases a function can be either a GIO or another function,
and may be listed twice (color coded as both GIO and again as the function). Additional functions beyond the
booster pack standard may be available. For details consult the launchpad schematic.
(!) Denotes I/O pins that are interrupt-capable.
BoosterPack standard
LAUNCHXL2-TMS57012
+3.3V
AD1[16]/AD2[0]
SCITX
SCIRX
MIBSPI3CLK
N2HET1[4]
N2HET1[9]
GIOA[7]
(!)
AD1[17]/AD2[1]
GIOA[6]
(!)
GND
AD1[0]
AD1[7]
AD1[18]/AD2[2]
AD1[19]/AD2[3]
AD1[20]/AD2[4]
AD1[21]/AD2[5]
+3.3V
AD1[9]/AD2[9]
LIN1TX
LIN1RX
MIBSPI1CLK
N2HET1[24]
N2HET1[26]
GIOB[2]
(!)
AD1[1]
N2HET1[31]
(!)
+5V
GND
AD1[3]
AD1[2]
AD1[10]/AD2[10]
AD1[11]/AD2[11]
AD1[12]/AD2[12]
AD1[4]
P50
P51
GND
nRESET
MIBSPI1SIMO
MIBSPI1SOMI
N2HET2[8] N2HET1[1]
(!)
MIBSPI1NCS[0]
MIBSPI1SOMI[1]
MIBSPI5SIMO[0]
MIBSPI5SOMI[0]
MIBSPI1NCS[1]
N2HET1[17] (!)
MIBSPI1NCS[2]
N2HET1[19] (!)
N2HET1[10]
(!) N2HET1[10]
GIOB[0]
AD1EVT
MIBSPI5CLK
MIBSPI5NENA ECAP5
N2HET1[28]
N2HET1[28]
(!)
N2HET1[8]
N2HET1[8]
(!)
N2HET1[23]
N2HET1[23]
(!)
N2HET1[11]
N2HET2[18]
(!)
GIOB[1]
(!)
(!)
N2HET1[20]
(!) EPWM6B
EPWM6A
N2HET1[18]
(!)
N2HET1[30]
N2HET1[30]
(!)
N2HET1[12]
N2HET1[12]
(!)
GIOA[5]
(!)
GIOA[2]
(!)
GIOA[0]
(!)
GIOA[1]
(!)
N2HET1[14]
(!) N2HET1[14]
N2HET1[16]
N2HET1[16]
(!)
GND
MIBSPI3SIMO
MIBSPI3SOMI
MIBSPI3NCS[2]
N2HET1[27] (!)
MIBSPI3NCS[3]
N2HET1[29] (!)
N2HET1[22]
N2HET1[22] (!)
MIBSPI3NCS[1]
N2HET1[25] (!)
GIOB[3] (!)
nRESET
GIOB[2] (!)
+5V
JP2 JP3
JP4 JP5
J2,J3 J4,J5
J6,J7 J8,J9
When using some BoosterPacks, JP2,3,4, or 5 may need to be removed. For example, using this LaunchPad with BoosterPack BOOSTXL-DRV8301 that includes a
3.3V regulator. To avoid conflict between the LaunchPad's 3.3V regulator and the regulator on the BoosterPack, JP2 (or JP4) should be removed.
LAUNCHXL2-TMS57012 Pin map LAUNCHXL2-TMS57012 Pin map LAUNCHXL2-TMS57012 Pin map
A closer look at your new LaunChPad Development Kit Featured microcontroller: Hercules TMSS70LS1224 This LaunchFad is great for. , Starling evaluation wlth Hercules TMSSVD MCUS designed to! 5026262 and IEC61508 lunctlanal salely automotive and transportatton appltcattons sGettlng handsVnn experience wttn the Mcu‘s nardware tntegrated salety and dtagnosttc leatures , Getttng tamtltar wtth SaleTl sottware and development tools tnat ease development ot luncttonal salety appttcattons i What comes in the box? at @ LAuNcHxLz-TMSSmtz launchpad thsQulck Mlch»USE Downtoadsonware stan Guide saute n mm/launchle-tmLSmt 2 mssmstm mtcmcuntmttcr .Aulnmnltv- Grad. MCU . ten MHz Luckstlp ARMQCDMXQ RAF cpu . t 25MB ot Emmood Flash wll’l Ecc .7 x «mm s in setup 2 XIDEP . 152KB ot Emmood SRAM wll’l Ecc >2 x12»bltAnzlag-tn-DlgnalCnnvsnsltADCl .sma otErnnodoao Flash tor EEPRDM wttn ECC »Mutttpta communtcauon Modulus . aunt—tn sottrutlor cm and on.cntp RAM: .unersct LIN. MulMaun-md SPl tzc . Error atgnattng Clock and Voltag. Monttor -3 x cm Cantmllll Modules (DEAN) XD51 to Class Deouo Pmbe Emu. JYAGDlnflumltlw Miami": r. .pptteuon um vt. use .2 t proorantmapta mph—End rtnun tNZHETl Mmulu .Enhanooo rtmtnq ponpnorats tor Motor Cortlml Flnd mute tntorrnatton @ |I oum/laundtlestm557D12 t Out-of-box Demo 3 1. [opttonatt tnstatttng cade Composer studta recs] The vtnuat com portdnvers that are requned to see the console ouhoutol the out ol box demo are oundted wtth ccs ll you wtsh to see tnts pan ol the demo, tnstntt ccs vs n t or later oelore oonnecttng the Launchpad to the pc 2. Connecting to a Computer and pawertng the Launchpad The Launcnpad ts oonngured oy delautt to oe use powered ups must be Installedyy wntcn can oe done oy connecttng tne Launchpad to a computer ustng the tnctuded usta caote ll you stopped tne opuonat step t, tgnore any errorlwarntng messages about mtsstng dnvers dunng tnts step :. [opttonatt apentng a rermtnat program ll you oompteted step t and wtsn to see the console output ol tne demoy thts ts the ttme to configure tne tenntnat program ol your chotce- ) Select COM pon tdenttned as "XDS class Applicahort/User UARI‘ lrorn your computer‘s devtce manager ) Conngure Baud Rate mutt Data Bus 5, stop EIIS' 2 and panty- None 4. Runntng tne out—ontox Demo This Launchpad comes pmsprogrammed wtth a demo set that ntgnltgnts several ol Mcu's salety leatures wnen powered the Lnuncnpad will start blinklng USER LEDs Demo 1 An unknown Arnotent ught Sensor ts connected to tne Mcu‘s Analog tnput t tne usER LED E blinks accordtng to the tth tntestty and a change tn ttgnt tntenstty wttt cause tt to blink taster or slower Demo 2 shorttng ‘umpevJPt wttt snort the osc to GND and cause an Dsctttator Eautt tn tne Mcu tne onschtp monttor wttt detect and trtgger en enor stngnt caustng tne ERR LED to ttght up Note upt should be open durtng normal operauon Demo 3 tne pusnshuuon usER SWlTCH a wttl tntect a core compare enor tcpu rntsrnntcht Art ouschlp monttor wttt detect the laull and trtgger an ermr stgnat caustng the ERR LED to ttght up Demo 4 tne pusnshuuon usER SWlTCH A wttl tntect a stngte tnt error tn tne Mcu‘s ltash on every push ECC logtc corrects stngte ott errors tn ltasn and counts them The USER LED A blinks taster wtth every ermr detected When a piss programmed ttmtt (st ts reacned. tne error stgnat ts trtggered and tne ERR LED ttghts up wnen you are ready to take tne next step complete Project a For more tnlormatton go to www tt comltauncnpad and cllck on tne protect tt link tor Hercules TMSSmLS’le Launchpad Powerron Resets Warm Resets User sw SafeTlTM Design Packages for Functional Safety , Complementary emoedded processtng and analog products tnat work togetner to help destgner meet satety standards , satety development process certtned suttaote tor use tn development at tEDatsua and lsozozaz compttant semtconductors , satety related documentatton salety Analysts Report, salety Manual and satety Report , satety roots and saltware (See below Sortwnre ttorary olluncttons and response handlers lorvanous snlety lectures ol tne Hercules salety MCUs Duwnload' tt com/tool/saleuidlagillh "fl Tl E2E‘M Community
A closer look at your new
LaunchPad Development Kit
Featured microcontroller: Hercules TMS570LS1224
This LaunchPad is great for...
- Starting evaluation with Hercules TMS570 MCUs designed for ISO26262 and IEC61508 functional safety automotive
and transportation applications.
- Getting hands-on experience with the MCU's hardware integrated safety and diagnostic features.
- Getting familiar with SafeTI software and development tools that ease development of functional safety applications.
Out-of-box Demo Find more information @
ti.com/launchxl2-tms57012
What comes in the box?
LAUNCHXL2-TMS57012
LaunchPad
TMS570LS1224 Microcontroller
- Automotive Grade MCU
- 180 MHz LockStep ARM Cortex R4F CPU
- 1.25MB of Embedded Flash with ECC
- 192KB of Embeeded SRAM with ECC
- 64KB of Embedded Flash for EEPROM with ECC
- Built-in Self-Test for CPUs and on-chip RAMs
- Error Signaling, Clock and Voltage Monitor
QSG
This Quick
Start Guide
Micro-USB
Cable
Download Software
ti.com/launchxl2-tms57012
Hercules
TMS570LS1224
XDS110 Class Debug Probe
Enables JTAG programming, debugging
& application UART via USB.
{
{
- 2 x Programmable High-End Timer (N2HET) Modules
- Enhanced Timing Peripherals for Motor Control
- 7 x ePWM, 6 x eCAP, 2 x eQEP
- 2 x 12-bit Analog-to-Digital Converter (ADC)
- Multiple Communication Modules
- UART/SCI,LIN, Multi-buffered SPI, I2C
- 3 x CAN Controller Modules (DCAN)
- Complementary embedded processing and analog products that work together to help designer meet safety standards
- Safety development process certified suitable for use in development of IEC61508 and ISO26262 compliant semiconductors
- Safety related documentation: Safety Analysis Report, Safety Manual and Safety Report
- Safety Tools and Software (See below)
Software library of functions and response handlers for various safety features of the Hercules Safety MCUs.
Download: ti.com/tool/safeti_diag_lib
LAUNCHXL2-TMS57012 Overview
1. (Optional) Installing Code Composer Studio (CCS)
The virtual COM port drivers that are required to see the console output of the out of box demo are bundled with CCS. If
you wish to see this part of the demo, install CCS v6.0.1 or later before connecting the LaunchPad to the PC.
2. Connecting to a Computer and Powering the LaunchPad
The LaunchPad is configured by default to be USB powered (JP6 must be installed), which can be done by connecting the
LaunchPad to a computer using the included USB cable. If you skipped the optional step 1, ignore any error/warning
messages about missing drivers during this step.
3. (Optional) Opening a Terminal Program
If you completed step 1 and wish to see the console output of the demo, this is the time to configure the terminal program of
your choice:
> Select COM port identified as "XDS Class Application/User UART" from your computer's device manager.
> Configure Baud Rate: 19200, Data Bits: 8, Stop Bits: 2 and Parity: None.
4. Running the Out-of-box Demo
This LaunchPad comes pre-programmed with a demo set that highlights several of MCU's safety features. When powered
the LaunchPad will start blinking USER LEDs.
Demo 1: An on-board Ambient Light Sensor is connected to the MCU's Analog Input 1. The USER LED B blinks according
to the light intesity and a change in light intensity will cause it to blink faster or slower.
Demo 2: Shorting jumper JP1 will short the OSC to GND and cause an Oscillator Fault in the MCU. The on-chip monitor
will detect and trigger an error singal causing the ERR LED to light up. Note: JP1 should be open during normal operation.
Demo 3: The push-button USER SWITCH B will inject a core compare error (CPU mismatch). An on-chip monitor will
detect the fault and trigger an error signal causing the ERR LED to light up.
Demo 4: The push-button USER SWITCH A will inject a single bit error in the MCU's flash on every push. ECC logic
corrects single bit errors in flash and counts them. The USER LED A blinks faster with every error detected. When a pre-
programmed limit (6) is reached, the error signal is triggered and the ERR LED lights up.
When you are ready to take the next step, complete Project 0. For more information go to www.ti.com/launchpad and click
on the Project 0 link for Hercules TMS570LS12x LaunchPad.
TM
SafeTI Design Packages
for Functional Safety
Find more information @
ti.com/safeti
SafeTI Diagnostic Library
SafeTI Compliance Support Packages
Hercules MCU E2E Support Forum:
>> ti.com/hercules-support
Hercules Training Videos:
>> ti.com/herculestraining
SafeTI™ design packages help designers meet industry standard functional safety requirements while managing both
systematic and random failures. Using SafeTI components helps make it easier for designers to achieve applicable end-
product certification and get to market quickly with their safety critical systems which are pervasive in our world today.
SafeTI Compiler Qualification Kit
Assists developers in qualifying their use of the TI ARM Compiler to functional safety standards such as IEC 61508 and ISO
26262.
Learn more: ti.com/tool/safeti_cqkit
SafeTI Compliance Support Packages for HALCoGen and SafeTI Diagnostic Library provide the necessary documentation,
reports and unit test capability to assist developers who need to comply with functional safety standards such as ISO 26262
and IEC 61508.
RR
XDS110 Class Debug Probe
40-pin BoosterPack
plug-in module Connector
(J2-J5)
{
Optional +5V power supply jack
Optional TI CTI-20 JTAG Header
for use with external debug probes
Additional
MCU I/Os for
Prototyping
(on both edges)
LAUNCHXL2-TMS57012 Overview
USB Bus Power Jumper
Light Sensor
Optional 40-pin BoosterPack
plug-in module connector
(J6-J9)
Hercules TMS570LS12x MCU
Current Limit LED
On indicates External
power is necessary
USB Connector
Power-on Reset Switch
Warm Reset Switch
User Switch A
User Switch B
{
{
User LED A
User LED B
JP1 - OSC Faul Injection Jumper
SPNU611
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. 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 TI’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.
TI 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, machine, 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 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 III (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 as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
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 Applications 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 © 2014, Texas Instruments Incorporated