You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DelaySysTick has jitter for specific values of 1, 2, 6, 8, 10 (tested up to 10).
DelaySysTick(0) is always 292ns.
DelaySysTick(1) is 292ns or 459ns.
DelaySysTick(2) is 459ns or 626ns.
DelaySysTick(3) is always 793ns.
I'm suspecting compiler optimization at play here. I tried forcing it to be inlined with little success.
Adding volatile changed the behaviour (2 doesn't have jitter anymore) but it still shows jitter for other values. It's also much slower, obviously...
DelaySysTick has jitter for specific values of 1, 2, 6, 8, 10 (tested up to 10).
DelaySysTick(0) is always 292ns.
DelaySysTick(1) is 292ns or 459ns.
DelaySysTick(2) is 459ns or 626ns.
DelaySysTick(3) is always 793ns.
I'm suspecting compiler optimization at play here. I tried forcing it to be inlined with little success.
Adding volatile changed the behaviour (2 doesn't have jitter anymore) but it still shows jitter for other values. It's also much slower, obviously...
The text was updated successfully, but these errors were encountered: