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: How can I confirm a connection between two devices using the CC1101 for wireless two-way communication?

Part Number: CC1101

Tool/software:


I'm using the CC1101 transceiver for wireless communication between two devices, but I haven't found any method to verify whether both devices are connected or within range.

Is there a way to confirm that both devices are in range and ready for communication?

  • How to confirm that a packet has been sent to or received by another device using the CC1101?
     I want to know how to confirm whether:

    • A packet has been successfully transmitted to the other device.

    • A packet has been successfully received by the other device.

    Since CC1101 does not automatically handle acknowledgments, what is the recommended way to implement this kind of confirmation?

  • Hi Guddu,

    the CC1101 has three general purpose pins (GDO0, GDO1, and GDO2), which can signal when the the MCU when a packet has been transmitted and on the receiving side, it can signal to the MCU when a packet has been received.

    Section 26 of the datasheet includes a table which explains the various signal that can be sent by the CC1101 using these pins.

    For example, GDOx_CFG = 0x06 can be used to signal when the sync word has been sent or received and when the CC1101 has finished transmitting or receiving a packet.

    On the receiver side GDOx_CFG = 0x07 could also be used to to signal when a packet has been received with CRC OK.

    Now, if the transmitter needs to know if the receiver has successfully received a packet, then in your communication protocol you would need to implement some form of  acknowledgement from the receiving device to the transmitter. How it is implemented depends on your application. It can be as simple as transmitting 1 specific byte to acknowledge the reception or more sophisticated acknowledgements.