background image

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 require-
ments concerning its products, and any use of TI components in its applications, notwithstanding any applications-related infor-
mation 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.

Mailing Address: Texas Instruments, Post Office Box 655303 Dallas, Texas 75265

Copyright © 2016, Texas Instruments Incorporated

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 & Imaging

www.ti.com/video

RFID

www.ti-rfid.com

OMAP Mobile Processors

www.ti.com/omap

TI E2E Community

e2e.ti.com

Wireless Connectivity

www.ti.com/wirelessconnectivity

Summary of Contents for MSP43 series

Page 1: ...TI RTOS 2 16 for MSP43x Getting Started Guide Literature Number SPRUHU4D February 2016...

Page 2: ...lorer in CCS 14 3 1 1 Creating an Empty TI RTOS Project 16 3 1 2 Creating Examples to Build via a Command Line 17 3 2 Creating Examples with IAR Embedded Workbench 18 3 3 Driver Examples Readme Files...

Page 3: ...er the brackets themselves Trademarks Registered trademarks of Texas Instruments include Stellaris and StellarisWare Trademarks of Texas Instruments include the Texas Instruments logo Texas Instrument...

Page 4: ...tion You can install TI RTOS from the CCS App Center choose View CCS App Center in CCS Choose the version of TI RTOS for your device family If you use devices in multiple families you can install mult...

Page 5: ...Unified Instrumentation Architecture UIA provides target content that aids in the creation and gathering of instrumentation data for example Log data MSPWare This software is an extensive suite of dri...

Page 6: ...nents and have all the settings needed for your device Expand the tree in the Resource Explorer to see the examples that are available for your device Resource Explorer provides TI RTOS examples for b...

Page 7: ...TI RTOS is provided on the Texas Instruments Wiki For MSP43x devices TI RTOS drivers are prebuilt only for MSP430F5529 MSP430FR5969 and MSP432P401R devices TI RTOS drivers for other MSP43x devices mus...

Page 8: ...less network processor Not intended to be called directly 1 7 For More Information To see release notes for a component go to the subdirectory for that component within the TI RTOS products directory...

Page 9: ...tall products MSPWare_ doc MSPWare Product Folder FatFS API Open source documentation TI RTOS User s Guide SPRUHD4 General microcontroller information Microcontrollers forum on TI s E2E Community MSP4...

Page 10: ...TOS can be installed on systems that are running Linux RedHat v4 and higher or Ubuntu v10 04 and higher Separate versions of TI RTOS are available for various Texas Instruments device families In orde...

Page 11: ...s To install CCS 6 x go to the Download CCS page on the Texas Instruments wiki and follow a link to download the software for your license type For multi user licenses see the CCS product page Run the...

Page 12: ...s in Section 3 1 2 to complete the installation of the TI RTOS examples See Section 3 2 to build the examples with the IAR compiler and to load and run the examples with IAR Embedded Workbench 2 5 Ins...

Page 13: ...1 Creating Example Projects Using the Resource Explorer in CCS 14 3 2 Creating Examples with IAR Embedded Workbench 18 3 3 Driver Examples Readme Files and Common Features 18 3 4 MSP430 MSP EXP430F55...

Page 14: ...it perspective and choose View Resource Explorer Examples from the menus 2 Type the name or part of the name of your device in the enter search keyword field to hide all the examples that don t apply...

Page 15: ...kmark will be shown next to that step 6 The project created will have a name with the format example_name _ board You can expand the project to see the source code configuration and other files in the...

Page 16: ...a debug session for the project and switch to the CCS Debug Perspective 3 1 1 Creating an Empty TI RTOS Project TI RTOS provides blank projects you can use as a starting point for creating your own p...

Page 17: ...R Full path to the location where TI tools are installed IAR_COMPILER_INSTALL_DIR Full path to the IAR code generation tools installation GCC_INSTALLATION_DIR Full path to the GCC code generation tool...

Page 18: ...pty Minimal projects are configured to make TI RTOS available but do not contain specific code that uses TI RTOS The Demo examples use several peripherals working together The remaining examples show...

Page 19: ...Set RXD and TXD to provide UART communications via the onboard USB debugger If you use a BoosterPack with this board Section 3 8 the BoosterPack fits over J1 and J5 SPI Loopback example pin connectio...

Page 20: ...is used on 2 onboard LEDs LED1 P1 0 and LED2 P4 7 as output pins and 2 switches S1 P2 1 and S2 P1 1 as inputs Serial The UART driver uses USCI_A1 which is attached to the onboard EZ FET MSP430 USB chi...

Page 21: ...tings and Resources The MSP EXP430FR5969LP board contains an MSP430FR5969 device This device has an FRAM memory unit MSP EXP430FR5969LP connections Micro B USB for power emulation and UART examples Bo...

Page 22: ..._A3 The TI RTOS Kernel manages the interrupt controller statically without an interrupt dispatcher TI RTOS SD Card Uses FatFs and the SDSPI driver on EUSCI_B0 without interrupts to read and write to f...

Page 23: ...tings and Resources The MSP EXP430FR6989LP board contains an MSP430FR6989 device This device has an FRAM memory unit MSP EXP430FR6989LP connections Micro B USB for power emulation and UART examples Bo...

Page 24: ...r0_A0 The TI RTOS Kernel manages the interrupt controller statically without an interrupt dispatcher TI RTOS SD Card Uses FatFs and the SDSPI driver on EUSCI_B0 without interrupts to read and write to...

Page 25: ...s and Resources The MSP EXP432P401RLP board contains an MSP432P401R device MSP EXP432P401RLP connections Micro B USB for power emulation and UART examples Board_LED0 MSP_EXP432P401RLP_LED1 Board_BUTTO...

Page 26: ...switches S1 P1 1 and S2 P1 4 as inputs I2 C The I2 C driver is configured on EUSCI_B0 to support various BoosterPacks PWM The PWM driver uses the onboard RGB LED G P2 1 and B P2 2 These pins are confi...

Page 27: ...igure below shows the jumper needed on the microSD BoosterPack to make it pin compatible with the SD Card BoosterPack 3 8 2 TMP006 BoosterPack The I2C TMP006 example uses the TMP006 BoosterPack to con...

Page 28: ...on of Internet connectivity TI s SimpleLink Wi Fi solution minimizes the software requirements of the host microcontroller MCU and is thus the ideal solution for embedded applications using any low co...

Page 29: ...SPRUHU4D February 2016 Examples for TI RTOS 29 Submit Documentation Feedback www ti com BoosterPacks MSP EXP430FR6989LP MSP EXP432P401R...

Page 30: ...odification Note In order to use the RF430CL330 module with a Wireless Connectivity Adapter board you need to remove R12 from the RF430CL330H board 3 8 6 TPL0401EVM Board The I2C TPL0401EVM example re...

Page 31: ...nfig folder The Windows menus and dialogs you see may be slightly different from those shown here depending on your version of Windows To install the USB driver follow these steps 1 Load and run a USB...

Page 32: ...example the device shown here is for the USB CDC driver 7 Right click on the device and select Update Driver Software 8 Select Browse my computer for driver software and browse to the location of the...

Page 33: ...Chapter 4 SPRUHU4D February 2016 Configuring TI RTOS This chapter describes how to configure TI RTOS and its components for use by your application 4 1 Starting the Configuration Tool 34 4 2 Configur...

Page 34: ...spective of CCS If you are not in that perspective click the CCS Edit icon to switch back 2 Double click on the cfg configuration file for a TI RTOS example project in the Project Explorer tree See Se...

Page 35: ...le click on the TI RTOS Drivers block You can choose to use either the instrumented or non instrumented driver libraries when linking with TI RTOS The instrumented libraries process Log events while t...

Page 36: ...td allows System_printf to be called from Tasks only not Swis or hardware interrupts it can be modified to allow calls from Swis and Hwis but this impacts real time performance 4 3 Configuring Compone...

Page 37: ...or 34 D disk space 10 documentation 8 E Empty Project example 16 empty c file 16 examples 13 F FatFs API documentation 9 forum 8 G GPIO driver 7 resources used 20 22 24 26 H HID device 8 I I2C driver...

Page 38: ...her documentation 8 SysCallback module configuration 35 SysMin module 18 System Overview configuration 34 system requirements 10 T target configuration file 16 TMP006 BoosterPack 27 TPL0401EVM board 3...

Page 39: ...y responsible for compliance with all legal regulatory and safety related require ments concerning its products and any use of TI components in its applications notwithstanding any applications relate...

Reviews: