MPC5566 Interrupts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5566 Interrupts

1,639 Views
sas
Contributor I
I'm moving from the MPC563 to the MPC5566 and am looking for guidance on some choices...
 
Are there any benchmarks or guidelines to help determine the tradeoffs between the hardware and software vector modes?
 
INTC has many vectors for FlexCAN, one for each of the first 16 mailboxes.  Should each be sent to its own ISR?  Or is one ISR looping through the interrupt flags, like TouCAN, still a good choice?
 
Thanks
 
0 Kudos
2 Replies

487 Views
hpdwally
Contributor II
Performance is near the same, yet in hardware mode, you need more lines of code and rom due to the fact that each ISR has its own push and pop of the stack, its duplicated for every channel.  The advantage is that you can have custom code run on specific channels, to do your save context
0 Kudos

487 Views
JChMathae
Contributor II
Hi Sas,


As far as I have understand this subject (I am transitionning from the MPC555 to the MPC5554 :smileywink: the software vector mode is a king of MPC5XX compatibility mode, wether the hardware mode offers better performance by handling in hardware some of the work that used to be done by software...


0 Kudos