This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

When to use scheduler to avoid issues with interrupt priorities

Hello,

I have had issues in the past with twi manager causing ANT to drop out.  These problems are ongoing despite me taking action in hardware to improve power supply (e.g this post).

I am wondering if it has anything to do with context but realise I do not know well how this works.

Work flow currently is ANT event -> start timer, then timer event-> start TWI transaction, then twi manager event -> retrieve data.

Will each event priority be its own priority context or is there any chance of it inheriting context from that which set up the callback?

is there a way to determine current priority level/context  in the code?

Thank you

Barney

Parents Reply Children
No Data
Related