English
Language : 

M0519 Datasheet, PDF (41/69 Pages) List of Unclassifed Manufacturers – 32-bit Microcontroller
M0519
6.7 Basic PWM Generator and Capture Timer (BPWM)
6.7.1 Overview
The NuMicro® M0519 series has 1 set of BPWM group (BPWM0), supporting 1 set of BPWM
generators that can be configured as 2 independent BPWM outputs, BPWM0_CH0 and
BPWM0_CH1, or as 1 complementary BPWM pairs, (BPWM0_CH0, BPWM0_CH1) with
programmable dead-zone generator.
The BPWM generator has one 8-bit prescaler, one clock divider with 5 divided frequencies (1, 1/2,
1/4, 1/8, 1/16), two BPWM Timers including two clock selectors, two 16-bit BPWM down-counters
for BPWM period control, two 16-bit comparators for BPWM duty control and one dead-zone
generator. The BPWM generator provides two independent BPWM interrupt flags which are set
by hardware when the corresponding BPWM period down counter reaches zero.
Each BPWM interrupt source with its corresponding enable bit can cause CPU to request BPWM
interrupt. The BPWM generators can be configured as one-shot mode to produce only one
BPWM cycle signal or auto-reload mode to output BPWM waveform continuously. BPWM can be
used to trigger EADC when operation in center-aligned mode.
6.7.2 Features
6.7.2.1








BPWM Function:
Up to 1 BPWM group to support 2 BPWM channels or 1 BPWM paired channels.
Supports 8-bit prescaler from 1 to 255
Up to 16-bit resolution BPWM timer
PWM timer supports edge-aligned and center-aligned operation type
One-shot or Auto-reload mode BPWM
PWM Interrupt request synchronized with BPWM period or duty
Supports dead-zone generator with 8-bit resolution for BPWM paired channels
Supports trigger EADC
6.7.2.2



Capture Function:
Supports 2 Capture input channels shared with 2 BPWM output channels
Supports rising or falling capture condition
Supports rising or falling capture interrupt
Nov. 02, 2016
Page 41 of 69
Rev 1.02