Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

NUC220-LE1N Fiches technique(PDF) 71 Page - Nuvoton Technology Corporation

No de pièce NUC220-LE1N
Description  ARM짰 Cortex짰-M 32-bit Microcontroller
Download  107 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  NUVOTON [Nuvoton Technology Corporation]
Site Internet  http://www.nuvoton.com
Logo NUVOTON - Nuvoton Technology Corporation

NUC220-LE1N Fiches technique(HTML) 71 Page - Nuvoton Technology Corporation

Back Button NUC220-LE1N Datasheet HTML 67Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 68Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 69Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 70Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 71Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 72Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 73Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 74Page - Nuvoton Technology Corporation NUC220-LE1N Datasheet HTML 75Page - Nuvoton Technology Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 107 page
background image
NUC100/120xxxDN
Aug 31, 2015
Page 71 of 107
Rev 1.01
PWM Generator and Capture Timer (PWM)
6.9
6.9.1
Overview
The NuMicro
® NUC100 series has 2 sets of PWM groups supporting a total of 4 sets of PWM
generators that can be configured as 8 independent PWM outputs, PWM0~PWM7, or as 4
complementary PWM pairs, (PWM0, PWM1), (PWM2, PWM3), (PWM4, PWM5) and (PWM6,
PWM7) with 4 programmable Dead-zone generators.
Each PWM generator has one 8-bit prescaler, one clock divider with 5 divided frequencies (1, 1/2,
1/4, 1/8, 1/16), two PWM Timers including two clock selectors, two 16-bit PWM counters for PWM
period control, two 16-bit comparators for PWM duty control and one Dead-zone generator. The 4
sets of PWM generators provide eight independent PWM interrupt flags set by hardware when the
corresponding PWM period down counter reaches 0. Each PWM interrupt source with its
corresponding enable bit can cause CPU to request PWM interrupt. The PWM generators can be
configured as one-shot mode to produce only one PWM cycle signal or auto-reload mode to
output PWM waveform continuously.
When PCR.DZEN01 is set, PWM0 and PWM1 perform complementary PWM paired function; the
paired PWM period, duty and Dead-time are determined by PWM0 timer and Dead-zone
generator 0. Similarly, the complementary PWM pairs of (PWM2, PWM3), (PWM4, PWM5) and
(PWM6, PWM7) are controlled by PWM2, PWM4 and PWM6 timers and Dead-zone generator 2,
4 and 6, respectively.
To prevent PWM driving output pin with unsteady waveform, the 16-bit period down counter and
16-bit
comparator
are
implemented
with
double
buffer.
When
user
writes
data
to
counter/comparator buffer registers the updated value will be load into the 16-bit down counter/
comparator at the time down counter reaching 0. The double buffering feature avoids glitch at
PWM outputs.
When the 16-bit period down counter reaches 0, the interrupt request is generated. If PWM-timer
is set as auto-reload mode, when the down counter reaches 0, it is reloaded with PWM Counter
Register (CNRx) automatically then start decreasing, repeatedly. If the PWM-timer is set as one-
shot mode, the down counter will stop and generate one interrupt request when it reaches 0.
The value of PWM counter comparator is used for pulse high width modulation. The counter
control logic changes the output to high level when down-counter value matches the value of
compare register.
The alternate feature of the PWM-timer is digital input Capture function. If Capture function is
enabled the PWM output pin is switched as capture input mode. The Capture0 and PWM0 share
one timer which is included in PWM0 and the Capture1 and PWM1 share PWM1 timer, and etc.
Therefore user must setup the PWM-timer before enable Capture feature. After capture feature is
enabled, the capture always latched PWM-counter to Capture Rising Latch Register (CRLR)
when input channel has a rising transition and latched PWM-counter to Capture Falling Latch
Register (CFLR) when input channel has a falling transition. Capture channel 0 interrupt is
programmable
by
setting
CCR0.CRL_IE0[1]
(Rising
latch
Interrupt
enable)
and
CCR0.CFL_IE0[2]] (Falling latch Interrupt enable) to decide the condition of interrupt occur.
Capture channel 1 has the same feature by setting CCR0.CRL_IE1[17] and CCR0.CFL_IE1[18].
And capture channel 2 to channel 3 on each group have the same feature by setting the
corresponding control bits in CCR2. For each group, whenever Capture issues Interrupt 0/1/2/3,
the PWM counter 0/1/2/3 will be reload at this moment.
The maximum captured frequency that PWM can capture is confined by the capture interrupt
latency. When capture interrupt occurred, software will do at least three steps, including: Read
PIIR to get interrupt source and Read CRLRx/CFLRx(x=0~3) to get capture value and finally write
1 to clear PIIR to 0
. If interrupt latency will take time T0 to finish, the capture signal mustn’t
transition during this interval (T0). In this case, the maximum capture frequency will be 1/T0. For
example:
HCLK = 50 MHz, PWM_CLK = 25 MHz, Interrupt latency is 900 ns


Numéro de pièce similaire - NUC220-LE1N

FabricantNo de pièceFiches techniqueDescription
logo
Nuvoton Technology Corp...
NUC220-LE1N NUVOTON-NUC220-LE1N Datasheet
1Mb / 100P
   ARM짰 Cortex??M0 core
More results

Description similaire - NUC220-LE1N

FabricantNo de pièceFiches techniqueDescription
logo
Nuvoton Technology Corp...
M031 NUVOTON-M031_V01 Datasheet
4Mb / 288P
   Arm짰 Cortex짰-M 32-bit Microcontroller
NUC131SD2AEU NUVOTON-NUC131SD2AEU Datasheet
1Mb / 72P
   Arm짰 Cortex짰-M 32-bit Microcontroller
M031 NUVOTON-M031 Datasheet
4Mb / 274P
   Arm짰 Cortex짰-M 32-bit Microcontroller
M261 NUVOTON-M261 Datasheet
10Mb / 398P
   Arm짰 Cortex짰-M 32-bit Microcontroller
M4521 NUVOTON-M4521 Datasheet
2Mb / 117P
   Arm짰 Cortex짰-M 32-bit Microcontroller
M0515 NUVOTON-M0515 Datasheet
5Mb / 422P
   Arm짰 Cortex짰-M 32-bit Microcontroller
NANO100 NUVOTON-NANO100 Datasheet
3Mb / 160P
   ARM짰 Cortex짰-M 32-bit Microcontroller
NANO100 NUVOTON-NANO100_15 Datasheet
1Mb / 95P
   ARM짰 Cortex짰-M 32-bit Microcontroller
NUC029XDE NUVOTON-NUC029XDE Datasheet
1Mb / 70P
   Arm짰 Cortex짰-M 32-bit Microcontroller
M4TK NUVOTON-M4TK Datasheet
3Mb / 144P
   ARM짰 Cortex짰-M 32-bit Microcontroller
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Fiches technique Télécharger

Go To PDF Page


Lien URL




Politique de confidentialité
ALLDATASHEET.FR
ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Echange de liens   |   Fabricants
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com