I'm using DEVKIT-MPC5748G and I want to get 4 PWM signals from CH 10, 11, 12, 13 EMIOS0
thanks to sample code I can get 1 PWM signal from EMIOS from CH 13.
And for other PWM input,
EMIOS_0_CH10_CH11_IRQhandler , MIOS_0_CH12_CH13_IRQhandler is not entered.
and eMIOS_UC_0.UC[t_channel].S.R is not updated.
for now, I copied and pasted for other IPWM below code.
(Of course, I changed each index and channel number)
t_Index = 4;
t_Channel = 13;
eMIOS_UC_0.UC[t_Channel].C.B.EDPOL = vEcaleMIOS_Info[t_Index].Edpol_u8;
eMIOS_UC_0.UC[t_Channel].C.B.EDSEL = vEcaleMIOS_Info[t_Index].Edsel_u8;
eMIOS_UC_0.UC[t_Channel].C.B.FEN = 0;
eMIOS_UC_0.UC[t_Channel].A.R = 0x0000FFFF;
eMIOS_UC_0.UC[t_Channel].C.B.IF = 1;
eMIOS_UC_0.UC[t_Channel].C.B.BSL = 0;
eMIOS_UC_0.UC[t_Channel].C.B.MODE = vEcaleMIOS_Info[t_Index].Mode_u8;
eMIOS_UC_0.UC[t_Channel].C.B.UCPRE = 0;
eMIOS_UC_0.UC[t_Channel].C.B.UCPREN = 1;
INTC.PSR[MCALEMIOS_0_CH12_CH13_PSR].R = PRC_SEL_CPU0 | PRC_PRI(7);
eMIOS_UC_0.UC[t_Channel].C.B.FEN = 1;
Can you help this??