- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I follow the manual (on the menu-->help-->help content)
of PWM_SVM usage (main-->usage).
It compiles ok, But I could not find any PWM signal output on my Tektronix oscilloscope.
Does there any input I need to add?
Thank you, eric
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @ericjoy ,
TRAP signal is used for board fault detection, this signal can be disabled. And I tested with my XMC4500, I found that if I only select 'PeriodMatchInterruptHandler', the debugger can easily get into the interrupt, because we have definition in the main.c.
And for the 'enable pin' and 'trap pin', you can refer to the figure below: Inverter Enable is an output, Trap is an input.
Here I give you some suggestions:
1) Define you own 'TrapIRQHandler' in main.c;
2) Or you can disable 'Trap event- phase U';
3) You can set a breakpoint to check if you have enter the IRQ
Hope this can help you.
Regards,
Owen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found my program never enter interrupt service routine (ISR),
void PeriodMatchInterruptHandler(void)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I use xmc4400-drive-card (https://www.infineon.com/cms/en/product/evaluation-boards/kit_xmc4400_dc_v1/)
I use new-->dave project-->choose xmc4400-drive-card
I follow the manual (on the menu-->help-->help content) of PWM_SVM usage (main-->usage),
add one SVM app, and two INTERRUPT app.
no pwm signal on the 6 signal.
If I don't use "enable" and "trap" signal on the setting of SVPWM,
I can get the stationary PWM signal on the 6 pins.
I know the program is intend to make a rotating PWM signal.
the program never goes into the ISR(interrupt service routine).
the question I wonder
(1) there are 2 interrupt app, but only one ISR listed.
(2)the "enable pin" is input or output?
(3)the "trap pin" is input or output?
If someone can help me, I am very appreciate.
eric.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, @ericjoy ,
TRAP signal is used for board fault detection, this signal can be disabled. And I tested with my XMC4500, I found that if I only select 'PeriodMatchInterruptHandler', the debugger can easily get into the interrupt, because we have definition in the main.c.
And for the 'enable pin' and 'trap pin', you can refer to the figure below: Inverter Enable is an output, Trap is an input.
Here I give you some suggestions:
1) Define you own 'TrapIRQHandler' in main.c;
2) Or you can disable 'Trap event- phase U';
3) You can set a breakpoint to check if you have enter the IRQ
Hope this can help you.
Regards,
Owen