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.

CC2530: CC2530 writing RF code

Part Number: CC2530

Hi Ti 

I have two CC2530 development kit and I write  a simple  RF code to transmit  numbers from ( 0 to 254 ) from one kit to another and show them using UART0 .

now i want to use each kit as transmitter and receiver.

this mean that i want to send data from     kit 1   to kit 2    and then transmit data from   kit 2    to    kit 1   how can i do this ?

how can i adjust the receive time and transmit time for Two kits  So that there is no overlap to the data?

this is the transmitter code

 

this is the receiver code 

  • Hello Mohammed,
    It sounds like you want asynchronous communication between two kits. In that case, you can consider having both kits in always receive mode. A Tx can be triggered by a button press or uart or by any other means you desire. Once Tx is triggered, Rx should end and switch to Tx, finish transmission and go back to Rx.
    Regards,
    Prashanth