Re: NuttX timers

2022-03-09 Thread Gregory Nutt
Try to sleep less than 1000us, because the sleep(X) means it will sleep at least X us, not less, not equal. More info here: https://cwiki.apache.org/confluence/display/NUTTX/Short+Time+Delays Many timers are based on on one-shot watchdog timers.  Basing any periodic timer on a one-shot ti

Re: NuttX timers

2022-03-09 Thread Alan Carvalho de Assis
Hi Roberto, Try to sleep less than 1000us, because the sleep(X) means it will sleep at least X us, not less, not equal. BR, Alan On 3/9/22, Roberto Bucher wrote: > Hi > > I've tried to modify the base timer from 10ms to 1ms, but in the > execution of the generated RT Thread i get a overrun (of

NuttX timers

2022-03-09 Thread Roberto Bucher
Hi I've tried to modify the base timer from 10ms to 1ms, but in the execution of the generated RT Thread i get a overrun (of about 5ms...). I modified for this the "CONFIG_SCHED_TICKLESS" from 1 to 1000. My board is a the STM32F746:nucleo-144 board. Are there other possibilities to get a