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