background image

eZ430-TMS37157 Development Tool

User

'

s Guide

Literature Number: SLAU281B

November 2009

Revised March 2010

Summary of Contents for eZ430-TMS37157

Page 1: ...eZ430 TMS37157 Development Tool User s Guide Literature Number SLAU281B November 2009 Revised March 2010 ...

Page 2: ...2 SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 3: ... 23 9 2 Demo 2 Configuration Memory Mode Batteryless 24 9 3 Demo 3 Check Battery Level Mode 25 9 4 Demo 4 Write and Read Data in Memory 27 9 5 Demo 5 Read IC Serial Number 28 9 6 Demo 6 Trimming the TMS37157 Target Board 29 10 MSP430F2274 Firmware Flow Diagrams 31 11 Specifications 35 12 Supported Devices 36 13 MSP430 Application UART 36 14 Software Installation 37 15 Hardware Installation 37 16 S...

Page 4: ...eck Battery Level Mode High 25 24 Demo 3 Check Battery Level Mode Medium 26 25 Demo 3 Check Battery Level Mode Low 26 26 Demo 4 Read Page 27 27 Demo 5 TMS37157 Memory Map 28 28 Demo 5 Read Serial Number 28 29 Demo 6 Read Page 2 29 30 Demo 6 Program Page 2 30 31 Flow Diagram of Main Routine 31 32 Flow Diagram of Push Button Routine 32 33 Flow Diagram of MSP Access Routine 33 34 Flow Diagram of Auto...

Page 5: ...pported by Texas Instruments Although IAR Embedded Workbench KickStart is a product of IAR Texas Instruments provides support for KickStart Therefore please do not request support for KickStart from IAR Please consult all provided documentation with KickStart before requesting assistance We Would Like to Hear from You If you have any comments feedback or suggestions please let us know by contactin...

Page 6: ...6 Read This First SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 7: ...Z430 TMS37157 target board is an out of the box wireless system that may be used with the USB debugging interface as a stand alone system with or without external sensors or may be incorporated into an existing design The new USB debugging interface enables the eZ430 TMS37157 to remotely send and receive data from a PC using the MSP430 application UART eZ430 TMS37157 features USB debugging and pro...

Page 8: ...BSL receive compare OUT0 output General purpose digital I O pin ADC10 analog input A12 9 P4 3 TB0 A12 OA0O Timer_B capture CCI0B input compare OUT0 output P2 3 TA1 A3 VREF VeREF General purpose digital I O pin Timer_A capture CCI1B input compare OUT1 10 OA1I1 OA1O output ADC10 analog input A3 negative reference voltage output input General purpose digital I O pin ADC10 analog input A13 11 P4 4 TB1...

Page 9: ...eader in this document sends a command to a RFID transponder and the transponder answers normally with its serial number The transponder is not connected to a battery it is completely powered out of the RF field supplied by the RFID Reader The TMS37157 extends this function by a 3 wire SPI Interface to the MSP430 The TMS37157 is a semi active transponder Its memory can be written through the RF in...

Page 10: ...e 3 eZ430 TMS37157 Kit Content Count Description 1 Documentation Read Me First 1 eZ430 emulator stick 1 eZ430 TMS37157 target board 1 eZ430 battery board 2 AAA battery 1 USB RFID reader board 1 Reader antenna 1 USB cable 1 DC power plug cable Figure 3 Kit Contents 10 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas In...

Page 11: ...com msp430 7 Additional documents application notes etc http www ti com rfid 8 eZ430 TMS37157 Product Folder http focus ti com docs toolsw folders print ez430 tms37157 html 6 Installation 6 1 RFID Base Station Hardware Installation 1 Plug the antenna into the RFID Base Station J3 there is no need for soldering 2 Connect the RFID Base Station to a USB port Figure 4 RFID Base Station With Mounted An...

Page 12: ...ase Station USB Driver Installation 1 Install the RFID demo software by running RFID Demo Software 1 0 Setup exe on the PC This also installs the device driver for the base station and the eZ430 USB debugging interface see Section 5 2 Plug the base station into the USB port 3 Windows recognizes the new hardware as Texas Instruments MSP FET430UIF see Figure 6 Windows should automatically install th...

Page 13: ... Wizard Step 1 6 Select Install the software automatically Recommended if IAR KickStart R4 64 or higher has already been installed see Figure 9 Figure 9 Found New Hardware Wizard Step 2 13 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 14: ...ues to install the driver and then provides notification when it has finished the installation of the software 9 Find the right Com Port for the RFID Base Station Texas Instruments RFID Base Station in the Windows Device Manager see Figure 11 Figure 11 RFID Base Station in Device Manager 10 The USB driver is now installed on your PC The system is ready for use 14 eZ430 TMS37157 Development Tool SL...

Page 15: ...moved no voltage supply Active device when jumper JP1 is connected battery voltage supply NOTE Make sure the top side of the battery board red PCB is connected to the top side of the TMS37157 target board component side see Figure 12 Figure 12 Connection of TMS37157 to the Battery Board Place eZ430 TMS37157 in front of the reader antenna The expected operating distance in passive mode without batt...

Page 16: ... the extended mode requires a high field strength 3 Start the RFID Demo Software from the PC see Figure 14 Figure 14 RFID Demo Software Startup Screen 4 Go to the Com Port tab and choose the right com port for the RFID Base Station see Figure 15 The base station connects automatically to the right com port on the PC the right com port can be found as shown in Figure 11 NOTE Connection can be teste...

Page 17: ...7157 Demo Software GUI Figure 15 RFID Demo Software Com Port Tab 17 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 18: ...ry without involvement of the microcontroller and without supply voltage The stored data can be accessed after the microcontroller is activated and use the stored date for configuration or calibration purposes 1 Enter the number of times the green LED should flash 2 Program the corresponding page in the TMS37157 memory programs Page 9 by clicking Configure Push Button 3 Connect the target board to...

Page 19: ...thin the operating field of the base station 2 to 3 cm NOTE The Flash LED without battery performs these commands 1 A Read Page 3 Command check if TMS37157 is in range 2 A Battery Charge Command power up MSP430 and charge capacitor 3 An MSP Access Command deliver number of LED flashes to MSP430 4 A Battery Charge Command power the MSP430 to drive the LEDs 5 A Read Page 3 Command stop charging 8 1 ...

Page 20: ...e The status of the programming is displayed next to the data programmed into the EEPROM page If the target board is too far away from the base station a Read Page command may be possible but a Program Page command may not be executed Figure 19 RFID Demo Software Direct Access Mode Program Page 20 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedba...

Page 21: ...or the resonance circuit is detuned Trimming is needed to tune the resonance to the optimum frequency for best performance Trimming is done by internal resonance capacitors connected in parallel to the antenna which can be switched on and off The trimming of the TMS37157 target board is done by the MSP430 via the SPI interface The trimming procedure is implemented in the MSP430 firmware For more d...

Page 22: ...unsuccessful communication the tool reports a Fail see Figure 20 In this case ensure that the target board is within the operating range 2 to 3 cm before repeating the command Figure 20 RFID Demo Software Fail Message 22 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 23: ... flashes as often as was defined by the MSP Access command Without Battery Supply 1 Disconnect the jumper on the battery board 2 Choose which LED red or green should flash and how often 3 Ensure that the eZ430 TMS37157 is in a range of 2 3 cm away from the reader antenna 4 Click the Flash LED without battery button The chosen LED flashes as often as it was defined by the MSP Access command The MSP...

Page 24: ...at is used by the MSP on the next wake up cycle to execute a flashing of the green LED 1 Disconnect the jumper on the battery board passive operation 2 Choose how often the green LED should flash 3 Program the TMS37157 memory with this information by clicking Configure Push Button 4 Connect the jumper on the battery board and press the push button on the target board The green LED flashes as often...

Page 25: ... 2 9 V Medium voltage level To run this demo 1 Connect the jumper on the battery board 2 Press the Check Battery button The TMS37157 measures the battery voltage without invoking the MSP430 3 The color code of the field on the right side represents the battery status Green High voltage see Figure 23 Yellow Medium voltage see Figure 24 Red Low voltage see Figure 25 Figure 23 Demo 3 Check Battery Le...

Page 26: ...o 3 Check Battery Level Mode Medium Figure 25 Demo 3 Check Battery Level Mode Low 26 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 27: ...t locked and can be reprogrammed If the page is locked programming is not possible Figure 26 Demo 4 Read Page To use the Write Page command 1 In the Write Page field enter the page to be programmed for example page 8 and the data for example 01 02 03 04 05 2 Press the Write Page button In the Received Bytes field the received data is shown 01 02 03 04 05 MSB 3 For validation the Read Page command ...

Page 28: ...7 Use the Read Page command as described in Section 9 4 for page 3 to read the serial number see Figure 28 Read page 1 for the Sel Address and page 2 for the Manufacturer Code see the TMS37157 data sheet SWRS083 page 10 Figure 27 Demo 5 TMS37157 Memory Map Figure 28 Demo 5 Read Serial Number 28 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback ...

Page 29: ... 30 2 After programming in the Received Byte field the content of Page 2 is 00 3 Connect the new antenna 4 Connect the battery board to the target board 5 Set the jumper on the battery board to supply the TMS37157 6 Press the Push Button on the target board The green and red LEDs turn on 7 Wait while the red LED turns off and the green LED flashes 8 Trimming is complete when the green LED turns of...

Page 30: ...xamples www ti com Figure 30 Demo 6 Program Page 2 30 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 31: ...errupts Clear LPM 3 disable all Interrupts Port 1 Interrupt P1 2 Port 2 Interrupt P2 0 Busy Port www ti com MSP430F2274 Firmware Flow Diagrams 10 MSP430F2274 Firmware Flow Diagrams Figure 31 Flow Diagram of Main Routine 31 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 32: ...geData to Page 11 PaLFI needs to be trimmed only once Page 9 Byte 0 gives number of LED Blink cycles show possibility of EEPROM programming through SPI Read PCU State and Serial Number not necessary here only for demonstration Switch off PaLFI MSP430F2274 Firmware Flow Diagrams www ti com Figure 32 Flow Diagram of Push Button Routine 32 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revise...

Page 33: ... to PaLFI Yes Yes i MSPAccess 1 Blink green LED Increment i Yes No Finish www ti com MSP430F2274 Firmware Flow Diagrams Figure 33 Flow Diagram of MSP Access Routine 33 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 34: ...g _data time TBR set next trim value TBR Time for 800 clocks of CLK _AM Prog _data 0xFF No Prog _data 0xFF break Yes Program Prog _data 1 to Trim EEPROM Power Down PaLFI No Yes Blink red LED fast Program Page 2 1 Switch off PaLFI Switch off red LED Finish Autotrim failed Trap CPU Mark that PaLFI is trimmed Timer A counts 134 2kHz CLK _AM clocks Timer B counts with 8MHz SMCLK Timer B is critical st...

Page 35: ... 390 µA Standby mode 0 7 1 4 µA Off mode with RAM retention 0 1 0 5 µA Operating Frequency VCC 3 3 V 16 MHz TMS37157 134 2 kHz RFID transponder function Semi active memory access through RF or SPI Ultra low current consumption Table 5 TMS37157 Parameters TEST PARAMETER MIN TYP MAX UNIT CONDITIONS Operating Conditions Operating supply voltage 1 8 3 6 V Current consumption Standby current 25 C 60 nA...

Page 36: ...gure 35 eZ430 RF2500 USB Debugging Interface 6 Pin Male Header 13 MSP430 Application UART The eZ430 RF USB debugging interface features a back channel MSP430 Application UART that may be used independently of a debug session This allows the user to transfer serial data to a terminal window at a fixed rate of 9600 bps with no flow control See Figure 36 for typical settings Figure 36 9600 bps With N...

Page 37: ...ible with Windows 2000 and Windows XP 2 Start Code Composer Essentials and follow the instructions 3 Respond to the prompts to install the software 4 The installation procedure installs the IDE and TI files 5 Finish the installation 15 Hardware Installation 1 Insert the eZ430 RF into USB port The debugging interface automatically installs itself 2 When prompted for the software for the MSP430 Appl...

Page 38: ... focus ti com docs toolsw folders print ez430 tms37157 html 16 1 eZ430 RF USB Debugging Interface Figure 37 eZ430 RF USB Debugging Interface Schematic 1 38 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 39: ...atics Figure 38 eZ430 RF USB Debugging Interface Schematic 2 39 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 40: ...430 TMS37157 Target Board Figure 39 eZ430 TMS37157 Target Board Schematic 40 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 41: ...Debugging Interface PCB Components Layout Figure 41 eZ430 RF USB Debugging Interface PCB Layout Figure 42 eZ430 TMS37157 Target Board PCB Layout 41 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 42: ...om 16 4 RFID Base Station Figure 43 RFID Base Station Schematic 42 eZ430 TMS37157 Development Tool SLAU281B November 2009 Revised March 2010 Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 43: ...hematics Figure 44 RFID Base Station Connector Schematic 43 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 44: ... 7 8 9 10 11 12 13 14 C19 100nF C19 100nF C16 100nF C16 100nF LED2 LTST C170CKT LED2 LTST C170CKT IC7 FT232BM IC7 FT232BM TXD 25 RXD 24 RTS 23 CTS 22 DTR 21 DSR 20 DCD 19 RSTOUT 5 XTOUT 28 RESET 4 EECS 32 EESK 1 EEDATA 2 AGND 29 GND 9 RI 18 GND 17 TEST 31 PWRCTL 14 PWREN 15 TXDEN 16 TXLED 12 SLEEP 10 RXLED 11 VCC IO 13 3V3OUT 6 AVCC 30 VCC 26 VCC 3 USBDM 8 USBDP 7 XTIN 27 C17 33nF C17 33nF R17 330...

Page 45: ... Help About Product Info IAR KickStart version 3 42F FET_R4 64 Minimum version compatible with eZ430 RF USB debugging interface board IAR KickStart version 4 09A FET_R5 10 Compatible with eZ430 RF USB debugging interface board 45 SLAU281B November 2009 Revised March 2010 eZ430 TMS37157 Development Tool Submit Documentation Feedback Copyright 2009 2010 Texas Instruments Incorporated ...

Page 46: ...or to handling the product This notice contains important safety information about temperatures and voltages For additional information on TI s environmental and or safety programs please contact the TI application engineer or visit www ti com esh No license is granted under any patent right or other intellectual property right of TI covering or relating to any machine process or combination in wh...

Page 47: ...horized for use in safety critical applications such as life support where a failure of the TI product would reasonably be expected to cause severe personal injury or death unless officers of the parties have executed an agreement specifically governing such use Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications and acknowledge ...

Page 48: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments EZ430 TMS37157 ...

Reviews: