FAQ

Häufig gestellte Fragen

How to calculate the PWM frequency and duty cycle?  Datum:2015-05-07

The formula is as follows:
PWM frequency = PWM clock source frequency / ((Pre-scale + 1) * frequency divider * (CNR + 1))
Duty Cycle = (CMR + 1) / (CNR + 1)
(CNR: 16-bit counter register; CMR: 16-bit comparator register)

Produkte: Mikrocontroller ,Arm Cortex-M0-MCUs ,M051-Base-Serie ,M0518-Serie ,Mini51-Base-Serie ,Nano100/102-Base-Serie ,Nano110/112-LCD-Serie ,Nano120-USB-Serie ,Nano130-Advanced-Serie ,NUC029-Serie ,NUC100/200-Advanced-Serie ,NUC120/122/123/220-USB-Serie ,NUC130/230-CAN-Serie ,NUC131-NUC1311-CAN-Serie ,NUC140/240-Konnektivität-Serie ,Arm Cortex-M4-MCUs ,M451-Base-Serie ,M451M-Serie ,M452-USB-Serie ,M453-CAN-Serie ,NUC442/472-Serie ,NUC505-Serie
Applikationen:
Funktion: Peripherals,Timer and PWM,PWM Output
This website uses cookies to ensure you get the best experience on our website. Learn more
OK