The interrupt of zero match for both TOM0_CH0 and TOM0_CH1 are enabled with individua

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

cross mob
User18151
Level 3
Level 3
First like received First solution authored
Hi all,

The interrupt of zero match for both GTM TOM0_CH0 and TOM0_CH1 are enabled with individual Interrupt Service Routine.
However, why only 1 of the interrupt occurred at any one time? We have tested individually, both TOM0_CH0 and TOM0_CH1 are working properly. What happened?

Kind regards,
Christine

#8042000 20354
0 Likes
1 Reply
User18237
Level 5
Level 5
First solution authored First like received
Hi Christine,

Both TOM channels shared the same IRQ (GTM_TOM0_IRQ0). Only one Interrupt Service Routine can be catered for these two interrupts.

Remark: Two adjacent TOM Channels are shared. Example TOMx_CH0 share with CH1, CH2 shared with CH3, CH4 shared with CH4 and so on…..

Best regards,
Mr. AURIX™
0 Likes