FAQ

FAQ

How to set counter synchronization for the PWM in the NuMicro® M451 series?  Issue Date:2016-12-20

After completing the required PWM settings, add the following code:
/* Enable PWM0, PWM2, PWM4 Timer Synchronous */
PWM_ENABLE_TIMER_SYNC(PWM0, BIT0|BIT2|BIT4);    
/* Start PWM */
PWM0->SSTRG = 1;

Products: Microcontrollers ,Arm Cortex-M4 MCUs ,M451 Base Series ,M451LC3AE ,M451LD3AE ,M451LE6AE ,M451LG6AE ,M451RC3AE ,M451RD3AE ,M451RE6AE ,M451RG6AE ,M451VE6AE ,M451VG6AE ,M451M Series ,M451MLC3AE ,M451MLD3AE ,M451MLE6AE ,M451MLG6AE ,M451MSC3AE ,M451MSD3AE
Applications: Consumer ,Home Appliance
Function: Peripherals,Clock Control,PLL,Timer and PWM,PWM Output