S32K344 在不使用MACL, 使用FreeRtos的情况下,是否可以使用OsifUseSystemTimer, 如果可以使用,OsifCounterConfig里的选项应该怎么配置。如果使用OsifUseCustomTimer, 将Pit或者STM作为定时器, OsifCounterConfig又应该怎么配置?
Solved! Go to Solution.
Hi @harryoceana,
Sorry, I thought you meant to use System Timer without FreeRTOS. If you are using any operating system, you must use that clock instead.
For example, in FreeRTOS_Toggle_Led_Example_S32K344, the OsIfFreeRtosType choice is set, and the FreeRTOS clock is used instead.
Best regards,
Julián
Hi @harryoceana,
Yes, you can use the System Timer. Please refer to this post: Solved: Delay function using OSIF - NXP Community. In the newer RTD updates, you can simply add the "Clock_Ip_ReferencePoints" component instead of the Mcu driver in the MCAL layer:
Best regards,
Julián
在freertos 下,时钟参考提示只能在无操作系统下使用,这个有影响吗?
Hi @harryoceana,
Sorry, I thought you meant to use System Timer without FreeRTOS. If you are using any operating system, you must use that clock instead.
For example, in FreeRTOS_Toggle_Led_Example_S32K344, the OsIfFreeRtosType choice is set, and the FreeRTOS clock is used instead.
Best regards,
Julián