Are you using Do While loop here?
I don't see where you put DO in the snippet.
If you want a delay, you can use CyU3PBusyWait or CyU3PThreadSleep.
Yes I am using a do ... while (just forgot to copy and paste the do ....
I do not want a delay but I am trying to create a timeout in order not to 'block' the application
I wonder if CLOCK_PER_SECONDS macro (==10 which seems to me a too small value ...) is reliable (I see EZUSB example code does not use CMSIS and the system timer but I understand the SoC is based on the good old 926 and not on a cortex)
1 of 1 people found this helpful
You can use CyU3PGetTime - Get the number of elapsed OS timer ticks since FX3 system start-up.
Each tick value is 1 ms.
Thanks much. This solve my problem
One last question; which RTOS is used? It is derived from freeRTOS or what? I'd like to access some documentation about it
It is ThreadX RTOS.