English
Language : 

M0518 Datasheet, PDF (45/72 Pages) List of Unclassifed Manufacturers – 36/68 Kbytes flash, 8K bytes SRAM
NuMicro M0518 Series Datasheet
6.8 Basic PWM Generator and Capture Timer (BPWM)
6.8.1 Overview
The M0518 provides two BPWM generators - BPWM0 and BPWM1 Each BPWM supports 6
channels of BPWM output or input capture. There is a 12-bit prescaler to support flexible clock to
the 16-bit BPWM counter with 16-bit comparator. The BPWM counter supports up, down and up-
down counter types, all 6 channels share one counter. BPWM uses the comparator compared
with counter to generate events. These events are used to generate BPWM pulse, interrupt and
trigger signal for ADC to start conversion. For BPWM output control unit, it supports polarity
output, independent pin mask and tri-state output enable.
The BPWM generator also supports input capture function to latch BPWM counter value to
corresponding register when input channel has a rising transition, falling transition or both
transition is happened.
6.8.2 Features
6.8.2.1








BPWM function features
Supports maximum clock frequency up to100 MHz
Supports up to two BPWM modules, each module provides 6 output channels
Supports independent mode for BPWM output/Capture input channel
Supports 12-bit pre-scalar from 1 to 4096
Supports 16-bit resolution BPWM counter, each module provides 1 BPWM counter
 Up, down and up/down counter operation type
Supports mask function and tri-state enable for each BPWM pin
Supports interrupt on the following events:
 BPWM counter match zero, period value or compared value
Supports trigger ADC on the following events:
 BPWM counter match zero, period value or compared value
6.8.2.2




Capture Function Features
Supports up to 12 capture input channels with 16-bit resolution
Supports rising or falling capture condition
Supports input rising/falling capture interrupt
Supports rising/falling capture with counter reload option
Feb 08, 2017
Page 45 of 72
Revision 1.01