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