This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC1200 recommendation to switch between RX & TX and back?

Other Parts Discussed in Thread: CC1200

Hello TI people -

I'm developing a CC1200 driver to work with a custom network protocol.

What's the recommended method to switch between RX & TX and back again? 

Right now the driver does the following:

- The CC1200 is placed into receive mode (SRX) to wait for packets
- IOCFG0 is set to MCU_STATUS (value 20) to monitor for packet receipt and transmission completion.

When transmitting a packet the driver does:

- Idles the CC1200 (SIDLE)
- Flushes both the TX & RX fifos.
- Strobes the SFSTXON command
- Loads the TX fifo up with the packet to send
- Strobes the STX command
- Waits for transmission completion via IOCFG0/MCU_STATUS
- When MCU_STATUS indicate the packet has been transmitted, the SRX command is strobed to place it back into receive mode

Is this the best way to run the CC1200 or is there a better method?

Thanks,

-- Michael

  • Hi Michael,
    There is a more automated way to switch from RX to IDLE and from TX to RX.

    For RX->IDLE transition : RFEND_CFG1.RXOFF_MODE=0b00 will automatically set the radio in idle mode as soon as either a packet is successfully received or the RX is automatically terminated. The definition of the "RX terminated" will depend on rest of the settings in the RFEND_CFG1 and RFEND_CFG0 registers.
    For TX->RX transition: RFEND_CFG0.TXOFF_MODE=0b11 will set the radio in RX mode as soon as the TX is completed.

    Best Regards,
    Vihang