interrupt priority

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hellow,

   

Does PSoC1 can set the priority of interrupts? I have two timers (2 x Timer16) and I want to make sure that one of them has a higher priority interrupts.

   

Thanks for the reply

0 Likes
4 Replies
lock attach
Attachments are accessible only for community members.
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

From the TRM, attached.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Interrupt priority can also be seen by the order in which interrupt vector locations are listed in boot.asm file. They are in decreasing priority order.

   

 

   

-Rajiv Badiger 

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Interrupt priority can also be seen by the order in which interrupt vector locations are listed in boot.tpl file. They are in decreasing priority order.

   

 

   

Regards, Dana.

0 Likes
AbhishekK_31
Employee
Employee
10 sign-ins First comment on KBA 10 solutions authored

 The rule of thumb is that the top left digital blocks will have the highest priority and the bottom right will have the least priority among digital blocks. The upper row will have a higher priority and in the same row the left block wil have a higher priority. So if you want a 16 bit timer to have a higher priority than the other, place it accordingly. Another rule of thumb is that the digital block you place first will be placed in the higher priority block. But this depends on the availibility of digital blocks

0 Likes