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.

MCU-PLUS-SDK-AM263PX: SDK 10.x Drivers_open() Fails Assert Check

Part Number: MCU-PLUS-SDK-AM263PX
Other Parts Discussed in Thread: TMDSCNCD263P, SYSCONFIG

Tool/software:

Hello,

The following line fails the assert check in Drivers_open() in Core2 (No RTOS). Note: I don't get the same problem for ADCs in FreeRTOS Core 0.

[r5f1-0]     0.000981s : .c:Drivers_open:67: SOC_getAdcReferenceStatus(0) == true failed !!!

However, if I increase the sleep time from 1us to 1000us on line 64, the check passes.

<Question>

How did you decide on 1us sleep time on line 64 please? Why is this even needed? The code comment "Wait for  ClockP_sleep" doesn't say anything useful, it just states the obvious.