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.

CC2640: calling AONRTCCurrentCompareValueGet() from SWI

Part Number: CC2640

Hi,

Is it allowed to call AONRTCCurrentCompareValueGet() from a software interrupt?

The current clock tick is requested to timestamp sensor data in the sensor controller task interrupt callback function.

I'm not sure if it's allowed because the restriction as with HWIs, blocking API calls, including calls to the protocol stack APIs, cannot be made in an SWI.

Thanks.