Starting Tim2/3/4/5 Slaves with HRTIM-SyncOut does not work
Hi,
i am desperately trying to start multiple Timers with the HRTIM as single trigger.
The datasheet states, that internal trigger connection "tim_itr10" is "hrtim_out_sync2".
So I enable the HRTIM-Master-Timer
HRTIM1->sMasterRegs.MPER = 0xFFDF;
HRTIM1->sMasterRegs.MCNTR = 0;
Bitfield<HRTIM_MCR_CK_PSC>(HRTIM1->sMasterRegs.MCR) = 5;
Bitfield<HRTIM_MCR_SYNC_SRC>(HRTIM1->sMasterRegs.MCR) = 0;
Bitfield<HRTIM_MCR_SYNC_OUT>(HRTIM1->sMasterRegs.MCR) = 2;
Bitfield<HRTIM_MCR_CONT>(HRTIM1->sMasterRegs.MCR) = 1;
Bitfield<HRTIM_MCR_MCEN>(HRTIM1->sMasterRegs.MCR) = 1;While the Timers try to listen to:
Timer->SMCR = (14 << TIM_SMCR_TS_Pos); // tim_itr10 = hrtim_out_sync2
Timer->SMCR |= (6 << TIM_SMCR_SMS_Pos); //Trigger ModeHowever, nothing happens.
Now, the Datasheet is somewhat unclear if there is really a physical connection between the Timers and the HRTIM, or if this really only done vial GPIO-Pins - since configuring the GPIO-Pin (HRTIM_SCOUT) is mentioned as mandatory step - but it makes no sense that this would route over the Pin, because HRTIM_SCOUT is not selectible as Trigger Input for the Timers, but hrtim_out_sync2 is - which is clearly an internal signal and.
Can someone please clarify this?
