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

About PPI priorities

We all know that PPI can have the same event to trigger other tasks. But I couldn't find any official document explaining the priorities/timing of those tasks linked to the same events.

My understanding and test are showing the lower PPI channel numbers have the high priorities which will happen first.

I just wanted an official answer to confirm this finding is true.

Thanks

Parents
  • Sorry for the delayed answer, but from a hardware perspective there is no priority difference between the PPI channels. As long as they are all configured before the event happens, the associated task should be triggered within the same 16 MHz clock cycle.

    I'm hence having some trouble understanding what you say. If my explanation above does not align with your findings, can you please explain how you test this, and possibly share any code?

Reply
  • Sorry for the delayed answer, but from a hardware perspective there is no priority difference between the PPI channels. As long as they are all configured before the event happens, the associated task should be triggered within the same 16 MHz clock cycle.

    I'm hence having some trouble understanding what you say. If my explanation above does not align with your findings, can you please explain how you test this, and possibly share any code?

Children
No Data
Related