Other Parts Discussed in Thread: CC2500, MSP430F2274
I am currently using the CC25000EMK on the MSP-EXP430FG4618 experimenter board to communicate with the eZ430-RF2500.
This is utilising a modified version of the CCxxxxEMK code running on the RF2500T to gain a common RF interface between the two boards.
I am trying to send a packet from the eZ430 to the EXP board. The packet that I attempt to send appears to be successfully sent, it contains the address and pin number of one of the LEDs on the EXp board and this LED successfully toggles as desired.
The issue is that this is meant to happen multiple times, however when invoking RFSendPacket(char *txBuffer, char size) for the first time, although the packet appears to send, the RFSendPacket method never completes. it is hanging on this line:
while (TI_CCIGDO0_PxIN & TI_CC_GDO0_PIN) // Wait GDO to clear -> end of pkt
above the method in the cc2500 code, it is stated that "GDO must be configured to be asserted when when sync word is sent and de-asserted at end of packet, which is accomplished by setting the IOCFG0 register to 0x06"
i assume that i have the GDO mapped correctly, as the line to sync the Tx is:
while (! TI_CCIGDO0_PxIN & TI_CC_GDO0_PIN) // wait GDO to go hi -> sync TX'ed
which uses the exact same check values, just when they are not high.
does anyone know where it issue lies? my guess would be with the "setting the IOCFG0 register to 0x06" however I am not sure how to do this, i assumed it would be automatic?