1-32khz sensor-sampling loop


Nathan T <nathan@...>
 

hi all,

i'd like to sample a sensor (actually several sensors) in precise intervals at speeds up to 32khz.

it seems timer and sleep functions only have millisecond resolution and I cannot busy wait.

anyone have suggestions on the best way to go about this? 

best,
nathan

Join users@lists.zephyrproject.org to automatically receive all group messages.