Texas Instruments TRF4903 User Manual Download Page 20

www.ti.com

5.6

External Control Software for RF Evaluation Mode

Software Overview

In the RF evaluation mode, the TRF4903 transmitter is controlled by external software run on a PC rather
than by the game/demo firmware installed on the MSP430. There is no operational link in RF evaluation
mode; the transmitter is set to one operational state at a time. Jumper JP2 sets the board operation mode
to game/demo or RF evaluation.

The RF control software has a graphical user interface (GUI) for the user to set the transmitter frequency,
power, etc. In the RF evaluation mode, the external software GUI controls the TRF4903 by passing control
register words through the computer COM1 serial port, RS232 driver IC (MAX3232), and finally through
the MSP430 microcontroller to the transmitter.

Figure 11

shows the graphical user interface that communicates with the circuit board through the COM1

RS232 serial port. The user must click on the adjacent COM1 button if its caption reads Com1 Closed in
order to open the serial port. The RF evaluation GUI is written in Borland C++ Builder, version 6, and
integrates utilities from Winsoft Ltd. to write to the serial port (Comport). In RF evaluation mode, the serial
port COM1 is used to control the TRF4903.

An example GUI setup for the TRF4903 (transmit mode) is shown in

Figure 11

Several boxes and pick

lists have to be filled out by the user before clicking the Send All button to configure the RF transceiver.
Some of the boxes will toggle state when the cursor is placed over the box contents and double-clicked
(power amplifier).

The crystal frequency should be set to 19.6608 MHz. Set the reference divider to 48 (enter value and click
the Set button). The crystal tune capacitance should be set to an intermediate value like 17, 20, or 22 pF.
The charge pump current is 0.5 mA. In the Mode Select box, Either A-Word or B Word can be selected for
transmit mode. The phase-frequency detector reset should be set to Prescaler. Enter the power amp
output frequency and click the Set Freq button; the software rounds off the output frequency to an integer
multiple of the reference frequency. The Band Select List box can be used to select for the ISM band of
operation. The Modulation box should be set to FSK. For initial evaluation, set TXM=0 and TXDATA to
Low. The Multiplex Terminal List box can be used to define the output at terminal 16 of the TRF4903.

Other communication utilities such as HyperTerminal or ProComm can be used in place of the external
software GUI to control the TRF4903 in pass-through mode. Set the transmission raw data rate to
38.4 kbps, 8 bits data, no parity, 1 stop bit, no flow control or handshake. Send the 24-bit control words for
registers A through E in ASCII hex with a leading asterisk (hex 2A) and trailing carriage return (hex 0D),
i.e., “*[A][B][C][D][E]<CR>”.

TRF4903 With MSP430 Demonstration and Development Evaluation Kit

20

SWRU010A – October 2004 – Revised May 2005

Summary of Contents for TRF4903

Page 1: ...tise Other related Texas Instruments information includes the following that may be helpful TRF4903 data sheet SWRS023 TRF6903 data sheet SWRS022 MSP430F449 data sheet SLAS344 TRF6903 Design Guide SWR...

Page 2: ...ency RF data link without the need of an external computer and for prototyping by downloading new software code to the MSP430F449 through the JTAG connector This kit is used to evaluate the Texas Inst...

Page 3: ...demo purposes the TRF6903 board is used as a receiver for the TRF4903 transmitter The microcontroller firmware is configured by default to use the 902 MHz to 928 MHz ISM frequency band Additional firm...

Page 4: ...1 c 2 d e f k j i h g Demonstrating a Wireless Link Figure 1 Top Side Back Side of the TRF4903 Demonstration Board TRF4903 With MSP430 Demonstration and Development Evaluation Kit 4 SWRU010A October...

Page 5: ...er A simple game is implemented in the firmware to demonstrate unidirectional RF communication between the TRF4903 transmit board and the TRF6903 configured in the receive mode The user starts the gam...

Page 6: ...smit data the multiplexed pin 16 is programmed for the DCLK mode and the recovered data clock at 38 4 kbps is output at terminal 16 This blinks the LOCK LED at 38 4 kbps Once the transmission is compl...

Page 7: ...r conditions that persist Error conditions are defined as lost communication mismatch in response sequences or response time outs In some cases antenna orientation signal multipath or another interfer...

Page 8: ...switch to ON Step 2 Start the Workbench START PROGRAMS IAR SYSTEMS IAR EMBEDDED WORKBENCH Step 3 Use FILE OPEN WORKSPACE to open the workspace file at Installation root TRF4903_Demo_US eww Step 4 Use...

Page 9: ...to implement The TRF4903 ISM band transmitter IC operates from 315 MHz to 950 MHz It has low power consumption and an operating voltage of 2 2 V to 3 6 V It features an integer N PLL synthesizer and s...

Page 10: ...MSP430F44x See SWRR009 for the TRF4903 transmit side schematics and SWRR001 for the TRF6903 receiver side schematics All the schematics for the demonstration boards can be found at http www ti com is...

Page 11: ...C104KAT2A CAP CER 0603 16 V 10 0 1 F C23 C30 C31 C33 C34 C37 C40 C43 C44 C45 C46 C51 C52 C53 C55 C56 C57 C58 C59 4 1 F AVX TAJA105K016R CAP TANT 3216 16 V 10 1 F C26 C27 C28 C29 4 22 F CAL CHIP GMC32Y...

Page 12: ...W 4050 Green See sample Cap 1 12 mm Switch OMRON B32 1380 Cap SW 12 mm sq fits B3W 4050 Red See sample Cap 1 2468 MemProtectionD BC2AAAPC Battery holder 2 X AAA PCB Mount BAT1 ev 1 TP Red Kobiconn 41...

Page 13: ...figuration at the silk screen Table 3 lists information for some antenna suppliers If the PCB antenna is not used leave it unconnected remove the matching components from each end and substitute one 1...

Page 14: ...referred method or remove R42 which disables the voltage supply to the MSP430 The TRF4903 can then be controlled directly through J5 the 14 pin surface mount header 4 7 8 Game and RF Operational Modes...

Page 15: ...roller is configured as a state machine to run the link demonstration Figure 8 illustrates the state machine flowchart for the TRF4903 transmit board and the TRF6903 receive board Buttons and timer fu...

Page 16: ...eived Remote Button Packet Local Button Activated Received Response Packet 5 Second Timed Out All 4 Button Pushed 3 sec Timeout All Response Button 3 sec Timeout Local Button Initiated COM Response to...

Page 17: ...ing timer Over time the receive timing could shift in phase relative to transmit timing due to the small variation in component tolerances and performance This shows up as an error in sampled data The...

Page 18: ...Application Register Values Register Parameter Value A PA attenuation 0 dB Mode 0 TX Charge Pump 0 5 mA Frequency Band 915 MHz TX Frequency 902 3488 MHz B PA attenuation 0 dB PA Enabled Mode 1 TX Mod...

Page 19: ...int f_sel trf4903 a bit B_DIV_M0 MAIN_B_T pointer trf4903 a bit A_DIV_M0 MAIN_A_T pointer program_TRF4903_word trf4903 a all trf4903 b bit B_DIV_M1 MAIN_B_R pointer trf4903 b bit A_DIV_M1 MAIN_A_R poi...

Page 20: ...out by the user before clicking the Send All button to configure the RF transceiver Some of the boxes will toggle state when the cursor is placed over the box contents and double clicked power amplif...

Page 21: ...erent set of firmware needs to de downloaded to operate the evaluation kit at the EU band The firmware can be downloaded from the www ti com ismrf website See the Operating the TRF4903 With MSP430 Eva...

Page 22: ...768KHZ R47 100 J2 HEADER 7X2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 U6 MSPF449 59 58 57 55 54 53 12 13 46 47 48 49 50 51 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 52 56 14 15 16 17 18 19 20 21 2...

Page 23: ...PRODUCED OR COPIED OR USED PARTIALL Y OR WHOLLY IN ANY MANNER WITHOUT PRIOR EXPRESS WRITTEN AUTHORIZA TION OF CNOWIRE TECHNOLOGY INC LEDRED LEDORN LEDYEL LEDGRN VCC VCC R13 10k R14 10k R17 10K SW2 PB...

Page 24: ...10k C14 43pF D13 MBRM120LT3 D10 RED R10 15K R61 200 C55 1uF C54 100pF D12 RED R44 10 R35 10 Y2 19 6608MHZ C17 27pF U1 TRF4903PW 9 5 7 4 8 6 11 12 15 13 3 2 1 18 19 20 21 22 24 23 16 10 17 14 VCO_GND...

Page 25: ...ute a license from TI 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 pro...

Page 26: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Texas Instruments MSP TRF4903 DEMO...

Reviews: