M058LAN Nuvoton Technology Corporation of America, M058LAN Datasheet - Page 193

no-image

M058LAN

Manufacturer Part Number
M058LAN
Description
IC MCU 32BIT 32KB FLASH 48LQFP
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Datasheets

Specifications of M058LAN

Core Processor
ARM Cortex-M0
Core Size
32-Bit
Speed
50MHz
Connectivity
EBI/EMI, I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
40
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 8x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M058LAN
Manufacturer:
NuvoTon
Quantity:
950
Part Number:
M058LAN
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
M058LAN
Manufacturer:
NUVOTON
Quantity:
20 000
6.6.4
6.6.4.1 PWM-Timer Operation
NuMicro M051
The PWM period and duty control are configured by PWM down-counter register (CNR) and
PWM comparator register (CMR). The PWM-timer timing operation is shown in the Figure 6.6-10.
The pulse width modulation follows the formula as below and the legend of PWM-Timer
Comparator is shown in the Figure 6.6-9 note that the corresponding GPIO pins must be
configured as PWM function (enable POE and disable CAPENR) for the corresponding PWM
channel.
PWM frequency = PWMxy_CLK/(prescale+1)*(clock divider)/(CNR+1); where xy, could be 01, 23,
45 or 67, depends on selected PWM channel.
Note: 1. Unit = one PWM clock cycle.
Note: x= 0~3.
CMRx+1
Function Description
Duty ratio = (CMR+1)/(CNR+1)
CMR >= CNR: PWM output is always high
CMR < CNR: PWM low width= (CNR-CMR) unit
CMR = 0: PWM low width = (CNR) unit; PWM high width = 1 unit
CNRx
Figure 6.6-9 Legend of Internal Comparator Output of PWM-Timer
+
-
Series Technical Reference Manual
PWM-Timer
Comparator
Output
- 193 -
CMRx
CNRx
Ouput
PWM
Initialize
1
PWM
; PWM high width = (CMR+1) unit
Publication Release Date: Sept 14, 2010
Start
CNR+1
new CMRx
Update
CMR+1
Revision V1.2

Related parts for M058LAN