Wednesday 15 February 2012

msp430 - Communication using CC2520 -


My team is trying to send data through CC 2520 using the MSPX 430 F 5438 board. We tried to use the FIFO_READ and FIFO_WRITE command but it has no use. We tried to use RAM_ADAD and RAM_Wirite commands but still the results were the same. We examined the interfacing of MSP 430 and CC2520 and it looks fine. Can our problem tell a way to know the lie (sender / receiver)?

Regards, Pratyush

At high level, CC2520 is an SPI - Controlled state machine. This means that a special sequence is needed to transmit or receive data to the radio transceiver.

I recommend taking a look at Section 21 (page 85, when written). In addition, Section 19 and 20 respectively shows TX and RX process.

The easiest way to get started is because there is a full GUI interface for the radio, however, you may need to buy or have a supported baseboard for CC2520 I believe That does not support the SmartRF studio, but I did not get the answer easily. I know that SmartRF Studio recognizes the MSP-XP430F 5438 when you launch the software, but I'm not sure that the software MSP-XP430F 5438 is used to control desktop GUI radio as a baseboard Can be used.

If you want to program a "Hello World" on your MSP-EXP430F5438 and CC2520, I would recommend providing TI for CC2520.

For Ti's CC xxxx radio, in C-proxy, send / send a message that you can do the following:

  SPI_Strobe (IDLE); / * 'Reset Radio State Machine to Start State (IDE) * / SPI_WriteBurstReg (TXFIFO, tx_data, tx_data_length); Write data to / * TX FIFO * / SPI_Strobe (TX); / * Start radio broadcast * / _BIS (LPM3 + GEE); / * When the TX ends, with the normal interrupt enabled, the speed MCU * / / * halts the use of GPIO when TX ends, from ISR * / / * to RETI and next line * / SPI_Strobe (FLUSH_TXFIFO ); / * Flush TX buffer (optional) * / SPI_Strobe (IDLE); / * Radio State Machine can enter the 'Start' state (IDE) / Reset * * TX I * / SPI_Strobe (PWR_DOWN); / * Close the radio to save power (optional) * /   

Above, I am using all-caps to indicate a static address / byte definition from the header file .

No comments:

Post a Comment