Hi @semiconductor_user,
In order to use the TimerClockRef, you need to add the Mcu module in the MCAL layer, which will generate the clock reference point:
Julin_AragnM_0-1725383376858.png
If you have no need for the MCAL layer, you can also add the "TimerClockFreq" input:
Julin_AragnM_0-1725387751368.png
The default frequency for the system timer is 48MHz. You can use the "OsIf_Init(NULL)" function to initialize the module, and the APIs included in "OsIf_Timer.c" to create a delay function:
- OsIf_GetCounter
- OsIf_MicrosToTicks
- OsIf_GetElapsed
Best regards,
Julián