background image

TI-RTOS 2.16 for MSP43x

Getting Started Guide

Literature Number: SPRUHU4D

February 2016

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: