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.

CC1101: can implement interrupt on one pin GDO0 receive and transmits at same time

Part Number: CC1101


Tool/software:

I need to implement two way communication can possible using cc1101 . currently i am send and receive msg between two module and for that we need to switch rf rx and tx mode . if one device continuos in tx and another second device continuos receive mode and suddenly device second switch to tx for msg send to the device one how to inform device one to switch in rx state. And GDO0 pin how to use for TX transmite and receive interrupt because not undestand the cfgGDO0  config 0X06. please help to implement these.

  • If the GDO0 is configured to be sync sent/received packet sent/received (IOCFG0 = 0x06) then the signal will be used in both RX and TX.

    That means that you in your application needs to keep track of what mode you are in (you should use  TXOFF_MODE = RXOFF_MODE = IDLE)

    You can have a flag called txFlag that is set to true everytime you send a STX strobe, and false every time when TX is completed.

    That way you can check this flag in you interrupt routine when something is happening on GDO0, and take action depending on what mode you where in when the  interrupt happenend.

    Siri