Dear All,
The part number is : XMC1300 series, XMC1302-Q040X0064
I have configured CCU8_CCU80 slice for PWM generation.
As per the configuration SR0 is selected for Interrupt and is working fine, ISR is getting executed.
But when I m selecting SR1 or SR2, ISR is not executed.
Below API is being used
As per reference manual SR0, SR1, SR2 are connected to.
If I am selecting SR0 then ISR is executed.
In SR1 also NVIC is there but still ISR is not executed.
If selecting SR1 or SR2 then ISR is not executed.
Could any one please explain and guide me.
Regards,
Tinchu
The part number is : XMC1300 series, XMC1302-Q040X0064
I have configured CCU8_CCU80 slice for PWM generation.
As per the configuration SR0 is selected for Interrupt and is working fine, ISR is getting executed.
But when I m selecting SR1 or SR2, ISR is not executed.
Below API is being used
Code:
/* Connect period match and one match event to SR0 */
XMC_CCU8_SLICE_SetInterruptNode(SLICE0_PTR,
XMC_CCU8_SLICE_IRQ_ID_PERIOD_MATCH,
XMC_CCU8_SLICE_SR_ID_0);
Code:
==================================================================
CCU80.SR0 NVIC; Service request line
CCU80.SR1 NVIC; Service request line
POSIF0.MSETE;
CCU80.SR2 VADC0.BGREQTRI; Service request line
VADC0.G0REQTRI;
VADC0.G1REQTRI;
ERU0.OGU03;
ERU0.OGU13;
==================================================================
In SR1 also NVIC is there but still ISR is not executed.
If selecting SR1 or SR2 then ISR is not executed.
Could any one please explain and guide me.
Regards,
Tinchu