Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Spanish  ▼
ALLDATASHEET.ES

X  

ATMEGA8-16PU Datasheet(PDF) 89 Page - ATMEL Corporation

No. de pieza ATMEGA8-16PU
Descripción Electrónicos  8-bit with 8K Bytes In-System Programmable Flash
Download  308 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  ATMEL [ATMEL Corporation]
Página de inicio  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA8-16PU Datasheet(HTML) 89 Page - ATMEL Corporation

Back Button ATMEGA8-16PU Datasheet HTML 85Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 86Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 87Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 88Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 89Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 90Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 91Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 92Page - ATMEL Corporation ATMEGA8-16PU Datasheet HTML 93Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 89 / 308 page
background image
89
2486T–AVR–05/08
ATmega8(L)
Figure 37. CTC Mode, Timing Diagram
An interrupt can be generated at each time the counter value reaches the TOP value by either
using the OCF1A or ICF1 Flag according to the register used to define the TOP value. If the
interrupt is enabled, the interrupt handler routine can be used for updating the TOP value. How-
ever, changing the TOP to a value close to BOTTOM when the counter is running with none or a
low prescaler value must be done with care since the CTC mode does not have the double buff-
ering feature. If the new value written to OCR1A or ICR1 is lower than the current value of
TCNT1, the counter will miss the Compare Match. The counter will then have to count to its max-
imum value (0xFFFF) and wrap around starting at 0x0000 before the Compare Match can occur.
In many cases this feature is not desirable. An alternative will then be to use the fast PWM mode
using OCR1A for defining TOP (WGM13:0 = 15) since the OCR1A then will be double buffered.
For generating a waveform output in CTC mode, the OC1A output can be set to toggle its logical
level on each Compare Match by setting the Compare Output mode bits to toggle mode
(COM1A1:0 = 1). The OC1A value will not be visible on the port pin unless the data direction for
the pin is set to output (DDR_OC1A = 1). The waveform generated will have a maximum fre-
quency of f
OC1A = fclk_I/O/2 when OCR1A is set to zero (0x0000). The waveform frequency is
defined by the following equation:
The N variable represents the prescaler factor (1, 8, 64, 256, or 1024).
As for the Normal mode of operation, the TOV1 Flag is set in the same timer clock cycle that the
counter counts from MAX to 0x0000.
Fast PWM Mode
The fast Pulse Width Modulation or fast PWM mode (WGM13:0 = 5, 6, 7, 14, or 15) provides a
high frequency PWM waveform generation option. The fast PWM differs from the other PWM
options by its single-slope operation. The counter counts from BOTTOM to TOP then restarts
from BOTTOM. In non-inverting Compare Output mode, the Output Compare (OC1x) is cleared
on the Compare Match between TCNT1 and OCR1x, and set at BOTTOM. In inverting Compare
Output mode output is set on Compare Match and cleared at BOTTOM. Due to the single-slope
operation, the operating frequency of the fast PWM mode can be twice as high as the phase cor-
rect and phase and frequency correct PWM modes that use dual-slope operation. This high
frequency makes the fast PWM mode well suited for power regulation, rectification, and DAC
applications. High frequency allows physically small sized external components (coils, capaci-
tors), hence reduces total system cost.
The PWM resolution for fast PWM can be fixed to 8-, 9-, or 10-bit, or defined by either ICR1 or
OCR1A. The minimum resolution allowed is 2-bit (ICR1 or OCR1A set to 0x0003), and the max-
TCNTn
OCnA
(Toggle)
OCnA Interrupt Flag Set
or ICFn Interrupt Flag Set
(Interrupt on TOP)
1
4
Period
2
3
(COMnA1:0 = 1)
f
OCnA
f
clk_I/O
2 N
1
OCRnA
+
()
⋅⋅
---------------------------------------------------
=


Número de pieza similar - ATMEGA8-16PU

Fabricante ElectrónicoNo. de piezaDatasheetDescripción Electrónicos
logo
ATMEL Corporation
ATMEGA8-16PU ATMEL-ATMEGA8-16PU Datasheet
2Mb / 23P
   8-bit AVR with 8K Bytes In-System Programmable Flash
ATMEGA8-16PU ATMEL-ATMEGA8-16PU Datasheet
263Kb / 23P
   8-bit with 8K Bytes In-System Programmable Flash
ATMEGA8-16PU ATMEL-ATMEGA8-16PU Datasheet
520Kb / 25P
   8-bit with 8K Bytes In-System Programmable Flash
ATMEGA8-16PU ATMEL-ATMEGA8-16PU Datasheet
6Mb / 331P
   8-bit Atmel with 8KBytes In-System PRogrammable Flash
More results

Descripción similar - ATMEGA8-16PU

Fabricante ElectrónicoNo. de piezaDatasheetDescripción Electrónicos
logo
ATMEL Corporation
ATMEGA8 ATMEL-ATMEGA8_06 Datasheet
263Kb / 23P
   8-bit with 8K Bytes In-System Programmable Flash
ATMEGA8A ATMEL-ATMEGA8A_09 Datasheet
485Kb / 19P
   8-bit with 8K Bytes In-System Programmable Flash
ATMEGA8A ATMEL-ATMEGA8A_1 Datasheet
6Mb / 307P
   8-bit with 8K Bytes In-System Programmable Flash
ATMEGA8 ATMEL-ATMEGA8_10 Datasheet
520Kb / 25P
   8-bit with 8K Bytes In-System Programmable Flash
ATMEGA48V ATMEL-ATMEGA48V_06 Datasheet
3Mb / 374P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
ATMEGA88 ATMEL-ATMEGA88_1 Datasheet
369Kb / 10P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT89LP51 ATMEL-AT89LP51 Datasheet
4Mb / 113P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
ATMEGA8515 ATMEL-ATMEGA8515_10 Datasheet
1Mb / 257P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
AT89S52 ATMEL-AT89S52_08 Datasheet
576Kb / 38P
   8-bit Microcontroller with 8K Bytes In-System Programmable Flash
ATMEGA88 ATMEL-ATMEGA88 Datasheet
210Kb / 20P
   8-bit Microcontroller with 8K 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


Datasheet Descarga

Go To PDF Page


Enlace URL




Política de Privacidad
ALLDATASHEET.ES
¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Intercambio de Enlaces   |   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