參數(shù)資料
型號: ATMEGA324PA-PU
廠商: Atmel
文件頁數(shù): 60/160頁
文件大?。?/td> 0K
描述: MCU AVR 32KB FLASH 40PDIP
產(chǎn)品培訓(xùn)模塊: MCU Product Line Introduction
megaAVR Introduction
標(biāo)準(zhǔn)包裝: 10
系列: AVR® ATmega
核心處理器: AVR
芯體尺寸: 8-位
速度: 20MHz
連通性: I²C,SPI,UART/USART
外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
輸入/輸出數(shù): 32
程序存儲器容量: 32KB(16K x 16)
程序存儲器類型: 閃存
EEPROM 大?。?/td> 1K x 8
RAM 容量: 2K x 8
電壓 - 電源 (Vcc/Vdd): 1.8 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 40-DIP(0.600",15.24mm)
包裝: 管件
配用: ATSTK600-RC05-ND - STK600 ROUTING CARD AVR
ATSTK600-ND - DEV KIT FOR AVR/AVR32
152
8272E–AVR–04/2013
ATmega164A/PA/324A/PA/644A/PA/1284/P
In phase correct PWM mode, the compare unit allows generation of PWM waveforms on the
OC2x pin. Setting the COM2x1:0 bits to two will produce a non-inverted PWM. An inverted PWM
output can be generated by setting the COM2x1:0 to three. TOP is defined as 0xFF when
WGM2:0 = 3, and OCR2A when WGM2:0 = 7 (See Table 17-4 on page 158). The actual OC2x
value will only be visible on the port pin if the data direction for the port pin is set as output. The
PWM waveform is generated by clearing (or setting) the OC2x Register at the compare match
between OCR2x and TCNT2 when the counter increments, and setting (or clearing) the OC2x
Register at compare match between OCR2x and TCNT2 when the counter decrements. The
PWM frequency for the output when using phase correct PWM can be calculated by the follow-
ing equation:
The N variable represents the prescale factor (1, 8, 32, 64, 128, 256, or 1024).
The extreme values for the OCR2A Register represent special cases when generating a PWM
waveform output in the phase correct PWM mode. If the OCR2A is set equal to BOTTOM, the
output will be continuously low and if set equal to MAX the output will be continuously high for
non-inverted PWM mode. For inverted PWM the output will have the opposite logic values.
At the very start of period 2 in Figure 17-7 on page 151 OCnx has a transition from high to low
even though there is no Compare Match. The point of this transition is to guarantee symmetry
around BOTTOM. There are two cases that give a transition without Compare Match.
OCR2A changes its value from MAX, like in Figure 17-7 on page 151. When the OCR2A value
is MAX the OCn pin value is the same as the result of a down-counting compare match. To
ensure symmetry around BOTTOM the OCn value at MAX must correspond to the result of an
up-counting Compare Match
The timer starts counting from a value higher than the one in OCR2A, and for that reason
misses the Compare Match and hence the OCn change that would have happened on the way
up
17.8
Timer/Counter Timing diagrams
The following figures show the Timer/Counter in synchronous mode, and the timer clock (clk
T2)
is therefore shown as a clock enable signal. In asynchronous mode, clk
I/O should be replaced by
the Timer/Counter Oscillator clock. The figures include information on when Interrupt Flags are
set. Figure 17-8 on page 153 contains timing data for basic Timer/Counter operation. The figure
shows the count sequence close to the MAX value in all modes other than phase correct PWM
mode.
f
OCnxPCPWM
f
clk_I/O
N 510
------------------
=
相關(guān)PDF資料
PDF描述
ATSAM3N4AA-MU MCU FLASH 48-QFN
ATMEGA48P-20AU MCU AVR 4K ISP FLSH 20MHZ 32TQFP
ATTINY84-20PU IC MCU AVR 8K FLASH 20MHZ 14-DIP
ATTINY84V-10PU IC MCU AVR 8K FLASH 10MHZ 14-DIP
ATTINY28V-1PU IC MCU AVR 2K 1.2MHZ 1.8V 28-DIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ATMEGA324PA-W 功能描述:8位微控制器 -MCU AVR 32KB 1KB EE 20MHz 2KB SRAM 5V RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA324P-B15AZ 功能描述:8位微控制器 -MCU 32KB FLASH AUTO 125Deg revision B RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA324P-B15MZ 功能描述:8位微控制器 -MCU 32KB FLASH AUTO 125Deg revision B RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
ATMEGA324PB-AN 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:托盤 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-TQFP 供應(yīng)商器件封裝:44-TQFP 標(biāo)準(zhǔn)包裝:160
ATMEGA324PB-ANR 功能描述:IC MCU 8BIT 32KB FLASH 44TQFP 制造商:microchip technology 系列:AVR? ATmega 包裝:剪切帶(CT) 零件狀態(tài):在售 核心處理器:AVR 核心尺寸:8-位 速度:20MHz 連接性:I2C,SPI,UART/USART 外設(shè):欠壓檢測/復(fù)位,POR,PWM,WDT I/O 數(shù):39 程序存儲容量:32KB(16K x 16) 程序存儲器類型:閃存 EEPROM 容量:1K x 8 RAM 容量:2K x 8 電壓 - 電源(Vcc/Vdd):1.8 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器類型:內(nèi)部 工作溫度:-40°C ~ 105°C(TA) 封裝/外殼:44-TQFP 供應(yīng)商器件封裝:44-TQFP 標(biāo)準(zhǔn)包裝:1