Specifications
CM-X300 CoM
42 CM-X300 Reference Guide Rev 1.31 30-Dec-2010
3.3.19.1 PWM Features
Four pulse-width modulated signal channels
Enhanced period controlled through 6-bit clock divider and 10-bit period counter
10-bit pulse control
3.3.19.2 PWM Operation
Figure 7 shows the block diagram for the PWM control logic.
Figure 7 PWM Block Diagram
To program the PWM controller, determine the period and pulse-width values. The period
value is based on two registers, PWMPCR2 and PWMCR2.
Figure 8 Basic PWM Waveform
The output waveform in Figure 8 is derived by writing the PWMPCRx register with a value
of 10(0x00A) and writing the PWMDCRx register with 0x06.
Pulse-width modulated signals, once programmed, output a specified waveform until the
value in any associated register is altered. The time from the register change until the
associated signal change depends on PWMPCRx[PV]: