cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

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
ETRO_SSN583
Esteemed Contributor

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
Esteemed Contributor

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

 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