Search found 3 matches

by benitangela
Wed Aug 12, 2020 4:43 am
Forum: ChibiOS/NIL
Topic: NIL tick-less problem
Replies: 5
Views: 11291

Re: NIL tick-less problem

Hi,


If MCU is wake up from sleep mode, is the thread wake up directly too?
Or is there any additional setting should be done?
For example in tick mode, I implement this in the handler.

Code: Select all

chSysLockFromISR();
chSysTimerHandlerI();
chSysUnlockFromISR();



Thank you
by benitangela
Tue Aug 11, 2020 3:30 am
Forum: ChibiOS/NIL
Topic: NIL tick-less problem
Replies: 5
Views: 11291

Re: NIL tick-less problem

Sorry for the late response, I think there is no specific timer in LPC812, like what STM32 has. The only timer that uses low power oscillator is WKT (WakeUp Timer), but it is a 32-bit down counter timer. From the previous discussion http://www.chibios.com/forum/viewtopic.php?f=20&t=985&start...
by benitangela
Tue Aug 04, 2020 10:26 am
Forum: ChibiOS/NIL
Topic: NIL tick-less problem
Replies: 5
Views: 11291

NIL tick-less problem

Hi, I am using LPC812 and want to implement CHIBIOS/NIL (tick-less mode). I have define CH_CFG_ST_TIMEDELTA to 2 (chconf.h), use MRT as timer, and enable CORTEX_ENABLE_WFI_IDLE (chcore_v6m.h). Besides, I have one thread to be run and while(true) in main is empty. #include "ch.h" #include &...

Go to advanced search