- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am working on the TC297 Aurix controller and have a query regarding the GTM based TOM module where I would like to generate an interrupt at the TOM PWM raising edge, Is it possible ? If yes could you please give the solution for that.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Atharva,
TOM pwm is generated from the comparison between a counter register "CN0" and 2 compare "CM0" and "CM1". Every compare match lead to an output edge.
Please read 28.14.3 TOM Channel of AURIXTC3XX_um_part2_v2.0.pdf.
You can the generate an ISR request for both CCU1 and CCU0 compare match. See 28.14.8.16Register TOM[i]_CH[x]_IRQ_NOTIFY.
Regards,
Prudhvi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Atharva,
TOM pwm is generated from the comparison between a counter register "CN0" and 2 compare "CM0" and "CM1". Every compare match lead to an output edge.
Please read 28.14.3 TOM Channel of AURIXTC3XX_um_part2_v2.0.pdf.
You can the generate an ISR request for both CCU1 and CCU0 compare match. See 28.14.8.16Register TOM[i]_CH[x]_IRQ_NOTIFY.
Regards,
Prudhvi.