NUC140LD2CN Nuvoton Technology Corporation of America, NUC140LD2CN Datasheet - Page 230

no-image

NUC140LD2CN

Manufacturer Part Number
NUC140LD2CN
Description
IC MCU 32BIT 64KB FLASH 48LQFP
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro™ NUC100r
Datasheets

Specifications of NUC140LD2CN

Core Processor
ARM Cortex-M0
Core Size
32-Bit
Speed
50MHz
Connectivity
CAN, I²C, IrDA, LIN, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, DMA, I²S, POR, PWM, WDT
Number Of I /o
31
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
8K 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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NUC140LD2CN
Manufacturer:
NuvoTon
Quantity:
122
Part Number:
NUC140LD2CN
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
NUC140LD2CN
Manufacturer:
NUVOTON
Quantity:
20 000
5.7.4.7
5.7.4.8
The following procedure is recommended for starting a PWM drive.
Method 1:
Set 16-bit down counter (CNR) as 0, and monitor PDR (current value of 16-bit down-counter).
When PDR reaches to 0, disable PWM-Timer (CHxEN in PCR). (Recommended)
Method 2:
Set 16-bit down counter (CNR) as 0. When interrupt request happened, disable PWM-Timer
(CHxEN in PCR). (Recommended)
Method 3:
Disable PWM-Timer directly ((CHxEN in PCR). (Not recommended)
The reason why method 3 is not recommended is that disable CHxEN will immediately stop PWM
output signal and lead to change the duty of the PWM output, this may cause damage to the
control circuit of motor
1.
2.
3.
4.
5.
6.
7.
8.
PWM-Timer Start Procedure
PWM-Timer Stop Procedure
NuMicro™ NUC130/NUC140 Technical Reference Manual
Setup clock selector (CSR)
Setup prescaler (PPR)
Setup inverter on/off, dead zone generator on/off, auto-reload/one-shot mode and Stop
PWM-timer (PCR)
Setup comparator register (CMR) for setting PWM duty.
Setup PWM down-counter register (CNR) for setting PWM period.
Setup interrupt enable register (PIER)
Setup corresponding GPIO pins as PWM function (enable POE and disable CAPENR)
for the corresponding PWM channel.
Enable PWM timer start running (Set CHxEN = 1 in PCR)
- 230 -
Publication Release Date: June 14, 2011
Revision V2.01

Related parts for NUC140LD2CN