Hello.
I am trying to use output mode 3 for TB1 in continuous mode (Fig. 14-13 UG). It seems to suggest that TBxR will count to a terminal count based on the whether 12, 16, etc bits. (CNTL bits in TBxCTL). The resource explorer doesn't show an example for continuous mode PWM. I have the following code and it sets all the registers as expected. Can someone tell me what registers I am setting incorrectly? I seem to get outputs that look like UP mode instead of CONTINOUS even with the MODE appropriately confirmed in the register.
TimerSetup.pTimerx = TIMERB1;
TimerSetup.Timer_Config.Pwm[0] = PWM_CCR1;
TimerSetup.Timer_Config.Pwm[1] = PWM_CCR2;
TimerSetup.Timer_Config.PwmAction[0] = SET_RESET;
TimerSetup.Timer_Config.PwmAction[1] = SET_RESET;
TimerSetup.Timer_Config.PwmOnEdgeTime[0] = 3500;
TimerSetup.Timer_Config.PwmOnEdgeTime[1] = 3000;
TimerSetup.Timer_Config.TimerCountDirection = CONT;
TimerSetup.Timer_Config.TimerSrc = ACLK;
TimerSetup.Timer_Config.pTimer_Interval.Timer_Unit = MILLISECONDS;
TimerSetup.Timer_Config.pTimer_Interval.Timer_Interval = 4000;
TimerSetup.Timer_Config.IRQ = CCR0;
Basically at 4000 ms the output turns off and at PWM_CCR1 turns on at 3500ms and CCR2 turns on at 3000ms.
Thanks
