Hi all, there is also a tests application for (very) short xtimer_sleeps, i.e., `tests/xtimer_usleep_short`. It was "specifically designed" to find issues with XTIMER_BACKOFF and such.
Cheers, Sebastian > On 16. Jan 2018, at 11:17, Jose Alamos <[email protected]> wrote: > > Hi Aurelién, > > I'm currently running some experiments in a nucleo-L073RZ, calling > xtimer_usleep with small random values, just to check if I can reproduce the > issue. > On the other side, is the same issue happening if you increase the > XTIMER_BACKOFF? > > Cheers, > José > > Le lun. 15 janv. 2018 à 21:59, Aurélien Fillau <[email protected]> a > écrit : > Hi, > > Thank you for your replies and i apologize for the delay in responding. > We are working on custom boards now that embeds a STM32L073CZT6 CPU. We have > started the project with a nucleo-l073rz board (STM32L073RZT6), and i think > it can be easily reproduced on this board. > xtimer_usleep() is called from thread context (not from an isr context). > I didn't try to change XTIMER_BACKOFF because i have stabilized it to faced > another issue (Indeed, xtimer_usleep() was sleeping my task forever if > XTIMER_BACKOFF was too small). > This "blocking while" can occur at startup or after 24 hours or even after a > longer period of time, or even never on some boards, that's why it is not > easily reproducible. > > Regards, > > Aurélien > > Le 15 janv. 2018 10:56, "Jose Alamos" <[email protected]> a écrit : > Hi Aurélien: > > Could you give us more information about your platform? (e.g CPU model, etc). > Are you getting the same results with different values of XTIMER_BACKOFF? > > Cheers > > José > > _______________________________________________ > users mailing list > [email protected] > https://lists.riot-os.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > [email protected] > https://lists.riot-os.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/users
