Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

ATMEGA329P Folha de dados(PDF) 100 Page - ATMEL Corporation

Nome de Peças ATMEGA329P
Descrição Electrónicos  8-bit Microcontroller with 32K Bytes In-System Programmable Flash
PDF  385 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  ATMEL [ATMEL Corporation]
Página de início  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA329P Folha de dados(HTML) 100 Page - ATMEL Corporation

Back Button ATMEGA329P_1 Datasheet HTML 96Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 97Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 98Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 99Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 100Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 101Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 102Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 103Page - ATMEL Corporation ATMEGA329P_1 Datasheet HTML 104Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 100 / 385 page
background image
100
8021E–AVR–07/09
ATmega329P/3290P
In fast PWM mode, the compare unit allows generation of PWM waveforms on the OC0A pin.
Setting the COM0A1:0 bits to two will produce a non-inverted PWM and an inverted PWM output
can be generated by setting the COM0A1:0 to three (See Table 14-4 on page 106). The actual
OC0A value will only be visible on the port pin if the data direction for the port pin is set as out-
put. The PWM waveform is generated by setting (or clearing) the OC0A Register at the compare
match between OCR0A and TCNT0, and clearing (or setting) the OC0A Register at the timer
clock cycle the counter is cleared (changes from MAX to BOTTOM).
The PWM frequency for the output can be calculated by the following equation:
The N variable represents the prescale factor (1, 8, 64, 256, or 1024).
The extreme values for the OCR0A Register represents special cases when generating a PWM
waveform output in the fast PWM mode. If the OCR0A is set equal to BOTTOM, the output will
be a narrow spike for each MAX+1 timer clock cycle. Setting the OCR0A equal to MAX will result
in a constantly high or low output (depending on the polarity of the output set by the COM0A1:0
bits.)
A frequency (with 50% duty cycle) waveform output in fast PWM mode can be achieved by set-
ting OC0A to toggle its logical level on each compare match (COM0A1:0 = 1). The waveform
generated will have a maximum frequency of f
OC0 = fclk_I/O/2 when OCR0A is set to zero. This
feature is similar to the OC0A toggle in CTC mode, except the double buffer feature of the Out-
put Compare unit is enabled in the fast PWM mode.
14.7.4
Phase Correct PWM Mode
The phase correct PWM mode (WGM01:0 = 1) provides a high resolution phase correct PWM
waveform generation option. The phase correct PWM mode is based on a dual-slope operation.
The counter counts repeatedly from BOTTOM to MAX and then from MAX to BOTTOM. In non-
inverting Compare Output mode, the Output Compare (OC0A) is cleared on the compare match
between TCNT0 and OCR0A while counting up, and set on the compare match while counting
down. In inverting Output Compare mode, the operation is inverted. The dual-slope operation
has lower maximum operation frequency than single slope operation. However, due to the sym-
metric feature of the dual-slope PWM modes, these modes are preferred for motor control
applications.
The PWM resolution for the phase correct PWM mode is fixed to eight bits. In phase correct
PWM mode the counter is incremented until the counter value matches MAX. When the counter
reaches MAX, it changes the count direction. The TCNT0 value will be equal to MAX for one
timer clock cycle. The timing diagram for the phase correct PWM mode is shown on Figure 14-7.
The TCNT0 value is in the timing diagram shown as a histogram for illustrating the dual-slope
operation. The diagram includes non-inverted and inverted PWM outputs. The small horizontal
line marks on the TCNT0 slopes represent compare matches between OCR0A and TCNT0.
fOCnxPWM
f
clk_I/O
N 256
------------------
=


Nº de peça semelhante - ATMEGA329P_1

Fabricante ElectrônicoNome de PeçasFolha de dadosDescrição Electrónicos
logo
ATMEL Corporation
ATMEGA329P ATMEL-ATMEGA329P_14 Datasheet
734Kb / 427P
High Performance, Low Power Atmel
More results

Descrição semelhante - ATMEGA329P_1

Fabricante ElectrônicoNome de PeçasFolha de dadosDescrição Electrónicos
logo
ATMEL Corporation
ATMEGA325P ATMEL-ATMEGA325P Datasheet
346Kb / 25P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA325P ATMEL-ATMEGA325P_06 Datasheet
3Mb / 336P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA329P ATMEL-ATMEGA329P_08 Datasheet
471Kb / 25P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA325P ATMEL-ATMEGA325P_08 Datasheet
332Kb / 22P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA324PA ATMEL-ATMEGA324PA Datasheet
546Kb / 24P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32A ATMEL-ATMEGA32A Datasheet
427Kb / 18P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32 ATMEL-ATMEGA32_08 Datasheet
5Mb / 346P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32A ATMEL-ATMEGA32A_09 Datasheet
518Kb / 18P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA328P ATMEL-ATMEGA328P_09 Datasheet
5Mb / 345P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
ATMEGA32A ATMEL-ATMEGA32A_1 Datasheet
6Mb / 352P
8-bit Microcontroller with 32K Bytes In-System Programmable Flash
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


Folha de dados Download

Go To PDF Page


Ligação URL




Privacy Policy
ALLDATASHEETPT.COM
ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   roca de Link   |   Lista de Fabricantes
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