s32k1 vTaskDelay

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32k1 vTaskDelay

Jump to solution
903 Views
frank-li2021
Contributor III

在 porting freertos ,现在能够运行,但是 vTaskDelay 还有 SoftTimer 不能正常工作。

在 s32k1 FreeRTOS demo 中没有找到到 systick 相关的实现,请问如何 porting timer 相关?

0 Kudos
1 Solution
887 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I can see that SysTick is initialized in vPortSetupTimerInterrupt() function in port.c file and vTaskDelay generates delay as expected. So, not sure what's wrong.

Regards,

Lukas

View solution in original post

0 Kudos
2 Replies
888 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I can see that SysTick is initialized in vPortSetupTimerInterrupt() function in port.c file and vTaskDelay generates delay as expected. So, not sure what's wrong.

Regards,

Lukas

0 Kudos
879 Views
frank-li2021
Contributor III

Yes, and it's called by xPortStartScheduler,

thank you for your reply, Lukas

Tags (1)
0 Kudos