Skip to main content
Renesas Electronics America - Knowledgebase

What's the difference of PPG and PWM output?

Latest Updated:03/22/2017


The timer output function includes PPG and PWM output.
Both output similar signals, so I do not really understand the difference.


PPG output is a function for outputting a pulse whose cycle and width is specified.
With this function, the issue is the waveform itself (timing).
Therefore, changes in parameters (pulse cycle and width) are reflected immediately.
Consequently, depending on the timing of the change, the output may be inverted.
With PWM output, because an analog amount is output, the pulse is output after specifying an active period in the specified cycle.
With this function, the issue is the proportion of active period in the specified cycle rather than the waveform itself.
Consequently, some microcontrollers have a function to output the active period divided into multiple sections.
Also, with the PWM output function, regardless of the timing at which the parameter (cycle, active period, etc.) was changed, the change is only reflected at the end of one cycle, so the output does not become abnormal.
On the other hand, even if the parameter is changed, that change is not immediately reflected in the operation.
Suitable Products
V850 Family