Skip to content

Large latency 'k_usleep() / k_wakeup()` #68856

Closed Answered by TorstenRobitzki
TorstenRobitzki asked this question in Q&A
Discussion options

You must be logged in to vote

My mistake was, to use IRQ_DIRECT_CONNECT to register the IRQs (and not IRQ_CONNECT). After changing this and using a semaphore to wake the main thread, I measure a context switch time of ~2µs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TorstenRobitzki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant