MPC5566 Interrupts

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5566 Interrupts

1,839件の閲覧回数
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 件の賞賛
返信
2 返答(返信)

687件の閲覧回数
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 件の賞賛
返信

687件の閲覧回数
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 件の賞賛
返信