Dear all
this is my first post here and i hope to get some help by you
I'm working on the ez430 demo kit , based on the msp430f2274 micro and the CC2500 RF transceiver.
I started by changing the demo software provided by TI according on the actual hardware i'm working with. The problem is that, although i can "talk" with the CC2500 via the SPI interface (TXFIFO is filled with correct data), I can't transmit data wireless.
The problem is that GDO0 is never asserted: I send the strobe command to start the transmission but GDO0 stays low so that the first while in the following code is never left.
void RFSendPacket(char *txBuffer, char size)
{
TI_CC_SPIWriteBurstReg(TI_CC2500_TXFIFO, txBuffer, size); // Write TX data
TI_CC_SPIStrobe(TI_CC2500_STX); // Change state to TX, initiating
// data transfer
while (!(TI_CC_GDO0_PxIN&TI_CC_GDO0_PIN));
// Wait GDO0 to go hi -> sync TX'ed
while (TI_CC_GDO0_PxIN&TI_CC_GDO0_PIN);
// Wait GDO0 to clear -> end of pkt
}
I have no idea where the problem might be.
Looking forward for any suggestion and advice
Gian Nicola