background image

USB Connector

TPS62237

DC-DC Converter

Isolation 
Jumper Block

eZ-FET lite 5V

e

Z

-FE

T

 l

it

e

 3

.3

V

5V in

3.3V out

MS

P

43

0

F

5529 

T

arg

e

t

5529  BoosterPack 5V

5529  BoosterPack 3.3V

MSP430F5529

Target Device

*  5V and 3V3 

Isolation Block 

Jumpers 

Connected

e

Z

-F

ET

 lite

www.ti.com

Hardware

Note that this measurement does not include USB current, which is sourced through the 5V jumper
instead. USB current levels can vary widely, depending on whether the connection is active or suspended,
how much bus activity is happening, how long the cable is, and other factors.

If you are trying to achieve the LPM3 values shown in the F5529 data sheet and are having trouble,
download the

F5529 code examples

and see MSP430F552x_LPM3_01.c, adjusting the I/O settings for

your application.

2.4

Using an External Power Source

The F5529 LaunchPad target device can be used with a power source other than USB. However, this
should be done carefully to ensure proper system behavior. External power can be supplied by many
sources, most commonly a direct power supply, or through a battery BoosterPack.

Figure 17. Power Block Diagram for Default Configuration With USB Power Only

21

SLAU533B – September 2013 – Revised June 2014

MSP-EXP430F5529LP LaunchPad™ Development Kit User's Guide

Submit Documentation Feedback

Copyright © 2013–2014, Texas Instruments Incorporated

Summary of Contents for LaunchPad MSP-EXP430F5529LP

Page 1: ...MSP EXP430F5529LP LaunchPad Development Kit User s Guide Literature Number SLAU533B September 2013 Revised June 2014...

Page 2: ...3 Example Project Software Organization 32 3 4 USB Configuration Files 33 3 5 Out of Box Experience emulStorageKeyboard 34 3 6 Example simpleUsbBackchannel 40 3 7 Starting Device Manager 48 4 Addition...

Page 3: ...USB BSL Button 25 22 Identifying the USB BSL s HID Interface in Device Manager 26 23 F5529 LaunchPad to BoosterPack Connector Pinout 28 24 Browse to Demo Project for Import Function 31 25 When CCS Has...

Page 4: ...ware Examples 30 6 Demo Project File and Directory Descriptions 32 7 Backchannel Library Constants to Configure 44 8 Backchannel Library Functions 44 9 Clock Settings 45 10 How MSP430 Device Documenta...

Page 5: ...5529 LaunchPad Rapid prototyping is simplified by the 40 pin BoosterPack plug in module headers which support a wide range of available BoosterPacks You can quickly add features like wireless connecti...

Page 6: ...ation backchannel UART Now open source Ability to emulate and develop USB applications with a single USB cable made possible with an on board USB hub Power sourced from the USB host The 5 V bus power...

Page 7: ...host where each interface is associated with either a pre defined device class or a custom driver The major operating systems already ship with drivers for most common device classes which is why you...

Page 8: ...unchPad web LaunchPad url page README txt A readme file that helps explain how to use these files If you place other files inside the volume they are stored inside MSP430 flash But keep in mind that t...

Page 9: ...another application running on the PC Then press the S1 button on the LaunchPad to send the text in Figure 5 to Notepad Figure 5 Default Text Typed From Button S1 Then delete this text and press the S...

Page 10: ...utton2 txt files respectively you can change these strings Open these files in a text editor modify their contents and save the files Then press the corresponding button your new string is typed out N...

Page 11: ...n Jumper Block Connect to other targets Allow more accurate power measurement MSP430F5529 USB Microcontroller 128KB flash 8KB RAM Full speed USB ADC 5 timers 4 serial interfaces SPI UART I C 2 Analog...

Page 12: ...on UART Application USB 40 pin 4x10 Boosterpack Interface USB Hub Power eZ FET lite Emulator 3 3V Power 5V VBUS 3 3V Power Header Jumper Power Header USB USB Data 5V VBUS Emulator USB 5V VBUS Hardware...

Page 13: ...P3 7 TB0OUTH SVMOUT P4 2 PM_UCB1SOMI PM_UCB1SCL P4 1 PM_UCB1SIMO PM_UCB1SDA P4 0 PM_UCB1STE PM_UCA1CLK P4 5 PM_UCA1RXD PM_UCA1SOMI P4 4 PM_UCA1TXD PM_UCA1SIMO P4 3 PM_UCB1CLK PM_UCA1STE P4 6 PM_NONE...

Page 14: ...ports almost all MSP430 derivatives has a configurable backchannel UART baudrate is completely open source The hardware and firmware designs are both available for you to customize Further details and...

Page 15: ...Pad from the PC and reconnect it eZ FET lite is connected and ready but the eZ FET lite interface has not been opened by ON OFF IDE ON ON eZ FET lite interface is used by IDE but no data transfer is t...

Page 16: ...ager Look for the emulator s interfaces under the Ports section see Figure 12 Figure 12 F5529 LaunchPad USB Interfaces If you are using a Mac see Section 2 2 2 for an explanation why these interfaces...

Page 17: ...upplied from an external source to the power header pin But to do this the 3 3 V jumper on the isolation jumper block must be disconnected See Section 2 4 for more information 2 2 5 Clocking The F5529...

Page 18: ...or instructions on starting Device Manager Figure 15 Application Backchannel UART in Device Manager The backchannel UART is the port named MSP Application UART1 In this example the figure shows COM13...

Page 19: ...6 Isolation Jumper Block Table 3 Isolation Block Connections Jumper from Description left to right GND Ground 5V 5 V VBUS sourced from the USB host The F5529 target needs this if attempting a USB conn...

Page 20: ...XD and RXD and the hardware flow control signals RTS and CTS All four of these signals travel through the jumper block as well and can be disconnected Reasons to open these connections When measuring...

Page 21: ...are trying to achieve the LPM3 values shown in the F5529 data sheet and are having trouble download the F5529 code examples and see MSP430F552x_LPM3_01 c adjusting the I O settings for your applicati...

Page 22: ...done regardless of 5 V source external or USB to avoid conflict with the eZ FET lite 3 3 V rail 2 If the target voltage to be applied is anything other than exactly 3 3 V remove the SBW and SBW TST ju...

Page 23: ...er in the isolation jumper block may be left populated see Figure 19 In this case 3 3 V is derived through the dc dc converter and depending on the 3V3 jumper setting in the isolation jumper block can...

Page 24: ...simultaneously see Figure 20 The USB connection may be needed for direct USB communication back channel UART or to allow for programming through emulation In this scenario the 5V jumper in the isolati...

Page 25: ...y of MSP430 derivatives the F5529 has an on chip bootstrap loader BSL The BSL is a program that resides in a special protected location in the MCU s flash memory and facilitates communication with an...

Page 26: ...Input Device Both refer to the one HID interface presented by the USB BSL These are generic names that can also appear for other HID devices To be completely sure these entries derive from the USB BS...

Page 27: ...n BoosterPacks to be used with 40 pin LaunchPads This having been said while most BoosterPacks are compliant with the standard some are not The F5529 LaunchPad is compatible with all 20 pin and 40 pin...

Page 28: ...s an interrupt capable I O BoosterPack Pinout Standard Software Configurable MSP430F5529 Pin Functions Hardware www ti com Figure 23 F5529 LaunchPad to BoosterPack Connector Pinout 28 MSP EXP430F5529L...

Page 29: ...e software is available in Section 3 The schematic s PDF is searchable to make it easier to follow signals across the multipage schematic 2 9 Hardware Change Log Table 4 Hardware Change Log PCB Revisi...

Page 30: ...I is included When you begin your own development you will need more information about these libraries than can be included in this user s guide All of the information that you need is in the download...

Page 31: ...to Demo Project for Import Function Selecting the CCS subdirectory also works The CCS specific files are located there Click OK and CCS should recognize the project and allow you to import it The indi...

Page 32: ...s the user selected otherwise 3 3 Example Project Software Organization The simpleUsbBackchannel example and the emulStorageKeyboard example share a similar project organization Figure 26 shows the CC...

Page 33: ...UsbBackchannel demo these files cause the API to present a single CDC interface An application can then be written to simply send and receive data over that interface For the emulStorageKeyboard examp...

Page 34: ...et bUsbSendCompleted to FALSE Main while 1 loop USB event handlers From within the USB API USB interrupt results in new MSC SCSI command received Wake from LPM The handler returns TRUE waking the devi...

Page 35: ...ere The F5529 LaunchPad software demo does this Figure 29 shows the implementation of both the system_pre_init c file in the project and the function inside it Figure 29 Disable the Watchdog in Pre In...

Page 36: ...hat is an important step The software also must be written to effectively control the circuitry and make good use of the low power modes that are available In an application based on a main loop one w...

Page 37: ...entered If LPM0 were then entered they would get missed Disabling interrupts prevents that from happening the events are simply queued up When interrupts are re enabled any interrupts that came in ta...

Page 38: ...it is been customized for internal MSP430 flash Most of this was done in disk_read and disk_write Whereas the high level FatFs calls ask FatFs to open or read files and leave it to FatFs to parse the...

Page 39: ...nterface is available the report is prepared and USBHID_sendReport is called to send it A flag bKeyDirIsDown is used to alternate between down presses and up presses to ensure every down press is foll...

Page 40: ...it always had with fluid execution the only difference is that USBHID_sendReport always returns kUSBHID_intfBusyError and no characters are actually sent 3 5 10 Non Maskable Interrupt NMI Vector The...

Page 41: ...kchannel inf to associate with this device This INF file is located in the simpleUsbBackchannel directory Windows XP starts an installation wizard when you attach the device direct it to this INF file...

Page 42: ...the CDC interface see the Examples Guide in the MSP430 USB Developers Package which contains a more complete description Linux PCs do not have this requirement CDC interfaces enumerate silently as TTY...

Page 43: ...h terminal application disable flow control and have baud rate set to 28 8 kbps When both ports are open enter data into one of the terminal applications The data should appear in the other terminal a...

Page 44: ...If the application uses the USCI_A1 ISR for another purpose in addition to the backchannel it is necessary to merge that operation with the backchannel library s ISR 3 6 5 Code Description Initializa...

Page 45: ...stal and has the lowest power of the three It usually operates somewhere between 12 kHz and 20 kHz To keep things simple the simpleUsbBackchannel example does not use any low power modes the CPU stays...

Page 46: ...DataInBackground buf_bcuartToUsb rxByteCount CDC0_INTFNUM 1000 hidSendDataInBackground buf_bcuartToUsb rxByteCount HID0_INTFNUM 1000 Receive USB bytes send over backchannel UART rxByteCount cdcReceive...

Page 47: ...e removals The emulStorageKeyboard example in Section 3 5 demonstrates this 3 6 7 Modifying to Use an HID Datapipe Interface This demo can be easily converted to use an HID Datapipe interface instead...

Page 48: ...kchannel HID Datapipe 3 7 Starting Device Manager Device Manager is very useful for determining what USB interfaces have enumerated on the host To open Device Manager click the Start button click Run...

Page 49: ...ny drives that have been mounted with an MSC interface Universal Serial Bus controllers Hubs and MSC interfaces appear here as do root entries for composite USB devices Device Manager is also very use...

Page 50: ...his device 4 3 Download CCS IAR mspgcc or Energia When you want to write your own programs you will need one of these development environments Currently the USB API does not support mspgcc However you...

Page 51: ...Note that the current revision of the MSP430 USB Developers Package requires CCS v5 5 or IAR v5 51 These are newer versions than are required to run the examples included with the F5529 LaunchPad 4 5...

Page 52: ...t automatically invokes the Descriptor Tool the tool s help text walks you through all of the decisions you need to make and finally the tool saves its output files into your new empty USB project 52...

Page 53: ...imer_B and so on These do not use driverlib rather they access the MSP430 registers directly Every MSP430 derivative has a set of these code examples When you write code that uses a peripheral these e...

Page 54: ...settings or by using the standard Notepad application or another text editor To open Notepad click the Start button then click Run type notepad in the Open text box and click OK If you are using a wo...

Page 55: ...power header Q With the female headers on the bottom the board does not sit flat on the table and I can t unsolder them Why did TI do this A For several reasons A major feedback item on previous Launc...

Page 56: ...P2 2 TA2CLK SMCLK P2 4 TA2 1 P2 5 TA2 2 P2 6 RTCCLK DMAE0 P2 7 UCB0STE UCA0CLK P3 0 UCB0SIMO UCB0SDA P3 1 UCB0SOMI UCB0SCL P3 2 UCB0CLK UCA0STE P3 3 UCA0TXD UCA0SIMO P6 4 CB4 A4 P6 5 CB5 A5 P6 6 CB6...

Page 57: ...JP4 2 1 2 JP6 1 1 2 JP6 2 1 2 JP4 3 1 2 JP3 P1 4 P1 3 P3 2 P1 2 P1 5 P1 7 TEST SBWTCK RST SBWTDIO RST SBWTDIO P1 0 P1 1 P6 2 P6 4 P6 3 P6 1 P2 0 P3 4 P3 3 P6 0 P2 1 P2 2 P6 5 GND GND P3 0 P3 1 P4 2 P4...

Page 58: ...0STE P3 1 UCB0SOMI UCB0SCL P3 0 UCB0SIMO UCB0SDA P2 7 UCB0STE UCA0CLK MSP101 Thermal Pad 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28...

Page 59: ...PLL 48MCLK 27 GND 28 XTAL2 29 XTAL1 30 TSTMODE 31 SUSPND 32 MODE 1 SW 2 VIN 3 GND 4 EN 5 FB 6 U402 D D GND NC VBUS C404 C401 1 2 3 Q401 IO1 3 VCC 1 IO2 5 GND 4 NC 2 L401 2 2uH NR3010T2R2M C402 C405 C4...

Page 60: ...st paragraph in Section 3 30 Removed reference to user experience in Table 5 30 Removed reference to LaunchPad wiki 50 Added This problem is fixed in Rev1 5 and later LaunchPads to the answer to Q I m...

Page 61: ...sponsible 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 inf...

Reviews: