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.

LAUNCHXL-CC1312R1: pthread example for switching from Rx to Tx mode for CC1312R1

Part Number: LAUNCHXL-CC1312R1
Other Parts Discussed in Thread: CC1310

Hello,

        I am using LAUNCHXL-CC1312R1 for developing firmware. As every sample program in sdk is using pthread programming, I am trying to use Rx and Tx examples together.

        My application needs to stay MCU in Rx mode always and after receiving the data, it will switch over in Tx mode to transmit the data and again goes back to Rx mode.

        For this, I am trying to use condition variables but after first attempt, my program gets stuck at mutex_lock() ?

        Is there any sample program to switch from Rx to Tx? Please let me know if more information is required

Regards,

Omkar