Hello
I would like to use PWM output using timer B7. As in Figure 26-12 of 'MSP430FR58xx, MSP430FR59xx, and MSP430FR6xx Family User's Guide' (SLAU 367O)
I created the following program with reference to Timer_B_outputPWM () of MSP430 DriverLib for MSP430FR5xx_6xx Devices. However, pulse output is impossible. Although the pin is set as a timer, PWM output can not be performed from TB 0.0.
#define TIMER_PERIOD 0x4E20
#define DUTY_CYCLE 0x2710
param.clockSource = TIMER_B_CLOCKSOURCE_SMCLK;
param.clockSourceDivider = TIMER_B_CLOCKSOURCE_DIVIDER_1;
param.timerPeriod = TIMER_PERIOD;
param.compareRegister = TIMER_B_CAPTURECOMPARE_REGISTER_0;
param.compareOutputMode = TIMER_B_OUTPUTMODE_TOGGLE_RESET;
param.dutyCycle = DUTY_CYCLE;
Please let me know what else to set.
Regards.