Disable FreeRTOS Systick

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Disable FreeRTOS Systick

2,081件の閲覧回数
kaarthick
Contributor II

Hai,

I am using MCUXpresso compiler with MK10DN512VLQ IC.

During Sleep mode i have to disable all modules and also FreeRTOS Systick and i have to wait for other Interrupt.

Can anyone help me how to disable FreeRTOS Systick?

0 件の賞賛
返信
3 返答(返信)

1,912件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Karthik,

I think what you want to do is not usinig SysTick at all, but using a low power timer instead.

See IoT: FreeRTOS Down to the Micro Amps | MCU on Eclipse  which uses the Kinetis low power timer instead. This timer is running even in low power mode (usually 1 kHz).

And combine this with the tickless idle mode of FreeRTOS, see Low Power with FreeRTOS: Tickless Idle Mode | MCU on Eclipse 

I hope this helps,

Erich

0 件の賞賛
返信

1,912件の閲覧回数
kaarthick
Contributor II

How to jump out of vTaskStartScheduler . 

I exit from scheduler and move to while loop

0 件の賞賛
返信

1,912件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Karthik,

not sure if I understand?

If the call to vTaskScheduler() is not sucessful (check the return code), most likely you have not enough heap allocated and creating the IDLE task failed.

If you want to terminate the scheduler you need a FreeRTOS port which implements that functionality. You can see this in my port here: FreeRTOS: how to End and Restart the Scheduler | MCU on Eclipse 

I hope this helps,

Erich

0 件の賞賛
返信