@PetrS Hello,
I'm using PF[6] for eMIOS_0_23_X and PP[13] for eMIOS_1_23_X. I'm able to get PWM output for PF[6] (eMIOS_0_23_X) but I'm not able to see PWM output for PP[13] (eMIOS_1_23_X). I also enabled global prescaled clock and time base for both emios0 and 1. Below is code snippet, can you please assist me?
/*-------eMIOS_0_23_X ----------*/
eMIOS_UC_0.UC[23].C.R = 0x0;
eMIOS_UC_0.UC[23].A.R = 20;
eMIOS_UC_0.UC[23].B.R = 200;
eMIOS_UC_0.UC[23].CNT.R = 1;
eMIOS_UC_0.UC[23].C.B.EDPOL = 1;
eMIOS_UC_0.UC[23].C.B.MODE = 0x58;
eMIOS_UC_0.UC[23].C.B.UCPRE = 0;
eMIOS_UC_0.UC[23].C.B.UCPREN= 1;
SIUL2.MSCR[86].B.SSS = 1;
SIUL2.MSCR[86].B.OBE = 1;
SIUL2.MSCR[86].B.src=3 or 4;
/*-------eMIOS_0_23_X ----------*/
/*-------eMIOS_1_23_X ----------*/
eMIOS_UC_1.UC[23].C.R = 0x0;
eMIOS_UC_1.UC[23].A.R = 20;
eMIOS_UC_1.UC[23].B.R = 200;
eMIOS_UC_1.UC[23].CNT.R = 1;
eMIOS_UC_1.UC[23].C.B.EDPOL = 1;
eMIOS_UC_1.UC[23].C.B.MODE = 0x58;
eMIOS_UC_1.UC[23].C.B.UCPRE = 0;
eMIOS_UC_1.UC[23].C.B.UCPREN= 1;
SIUL2.MSCR[253].B.SSS = 1;
SIUL2.MSCR[253].B.OBE = 1;
SIUL2.MSCR[253].B.src=3;
/*-------eMIOS_1_23_X ----------*/