English
Language : 

M0564LE4AE Datasheet, PDF (97/161 Pages) List of Unclassifed Manufacturers – 32-BIT MICROCONTROLLER
M0564
6.13 PWM Generator and Capture Timer (PWM)
6.13.1 Overview
The M0564 provides two PWM generator: PWM0 and PWM1. Each PWM supports 6 channels of
PWM output or input capture. There is a 12-bit prescaler to support flexible clock to the 16-bit
PWM counter with 16-bit comparator. The PWM counter supports up, down and up-down counter
types. PWM uses comparator compared with counter to generate events. These events use to
generate PWM pulse, interrupt and trigger signal for ADC to start conversion.
The PWM generator supports two standard PWM output modes: Independent mode and
Complementary mode, they have difference architecture. There are two output functions based
on standard output modes: Group function and Synchronous function. Group function can be
enabled under Independent mode or complementary mode. Synchronous function only enabled
under complementary mode. Complementary mode has two comparators to generate various
PWM pulse with 12-bit dead-time generator and another free trigger comparator to generate
trigger signal for ADC. For PWM output control unit, it supports polarity output, independent pin
mask and brake functions.
The PWM generator also supports input capture function. It supports latch PWM counter value to
corresponding register when input channel has a rising transition, falling transition or both
transition is happened. Capture function also support PDMA to transfer captured data to memory.
6.13.2 Features
6.13.2.1 PWM function features
 Supports maximum clock frequency up to144MHz
 Supports up to two PWM modules, each module provides 6 output channels.
 Supports independent mode for PWM output/Capture input channel
 Supports complementary mode for 3 complementary paired PWM output channels:
– Dead-time insertion with 12-bit resolution
– Synchronous function for phase control
– Two compared values during one period
 Supports 12-bit pre-scalar from 1 to 4096
 Supports 16-bit resolution PWM counter
– Up, down and up-down counter operation type
 Supports one-shot or auto-reload counter operation mode
 Supports group function
 Supports synchronous function
 Supports mask function and tri-state enable for each PWM output pin
 Supports brake function
– Brake source from pin, analog comparator, ADC result monitor and system safety
events (clock failed, Brown-out detection and CPU lockup).
– Noise filter for brake source from pin
– Leading edge blanking (LEB) function for brake source from analog comparator
– Edge detect brake source to control brake state until brake interrupt cleared
May 05, 2017
Page 97 of 161
Rev 1.00