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: Event_post fails to trigger

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

I am facing an issue with CC1312R1 where the Event_post() fails to trigger at all.

Below is my code snippet where the device basically waits for the ACK over the UART and then should do an event post depending on the ACK/ No ACK.

After debugging and checking the signals, the CC1312 is actually getting the ACK from the device and then prints out

LOG_INFO("UART_RXED_ACK from Modem!\n");

However, it then fails to do Event_post() at all.

if (PCMD_Data.dvmn_AckNckEpoch.ACKorNCK == 1) 
{//If ACK: Event_post RX'ed_ACK
    LOG_INFO("UART_RXED_ACK from Modem!\n");
    Event_post(UartOperationEventHandle, UART_RXED_ACK);
} 
else 
{//If NACK: Evenet_post RX'ed_NACK
    LOG_DBG("UART_RXED_NACK!\n");
    Event_post(UartOperationEventHandle, UART_RXED_NACK);
}

I have previously tested this piece of code on CC1310 where everything works as expected but after implementing the same in CC1312R1, it is not working.

Am I missing anything that's why it is not triggering the event post?

Other declarations are as follows to handle the event

static Event_Handle UartOperationEventHandle;

#define UART_RXED_ACK                       (uint32_t)(1 << 4)
#define UART_RXED_NACK                      (uint32_t)(1 << 5)

  • Please take one of the simple examples from our latest SDK and make changes to the example to trigger the issue you are facing.

    Without the ability to reproduce the issue on our side on a LP, it is not possible to tell you what is failing.

    BR

    Siri