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.

RTOS/LAUNCHXL-CC26X2R1: Using Clock function or Creating another Task?

Part Number: LAUNCHXL-CC26X2R1

Tool/software: TI-RTOS

We have a user case that needs to read the GPIO status every 500ms.

Currently, I just use Clock function to do the job, and have not encountered any problems.

But I found a note from BLE_User_Guide:

Attention

Clock functions must not call blocking kernel APIs or TI-RTOS driver APIs! Executing long routines will impact real-time constraints placed in high priority tasks allocated for wireless protocol stacks!

 

It looks like that I can't use the clock function to read the GPIO status, right?

 

thanks

BR

Trevor