ATMEGA329P-20ANR Atmel, ATMEGA329P-20ANR Datasheet - Page 238
![MCU AVR 32K FLASH 20MHZ 64TQFP](/photos/12/13/121332/313-64-tqfp_sml.jpg)
ATMEGA329P-20ANR
Manufacturer Part Number
ATMEGA329P-20ANR
Description
MCU AVR 32K FLASH 20MHZ 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA329P-20ANR
Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 238 of 427
- Download datasheet (9Mb)
8021G–AVR–03/11
Note:
Before a re-initialization is done, the LCD controller/driver should be disabled
Assembly Code Example
C Code Example
LCD_Init:
Void LCD_Init(void);
{
LCDCRB = (1<<LCDCS) | (1<<LCDMUX1)| (1<<LCDPM2);
}
; Use 32kHz crystal oscillator
; 1/3 Bias and 1/3 duty, SEG21:SEG24 is used as port pins
ldi
sts
; Using 16 as prescaler selection and 7 as LCD Clock Divide
; gives a frame rate of 49 Hz
ldi
sts
; Set segment drive time to 125 µs and output voltage to 3.3 V
ldi
sts
; Enable LCD, default waveform and no interrupt enabled
ldi
sts
ret
/* Use 32kHz crystal oscillator */
/* 1/3 Bias and 1/3 duty, SEG21:SEG24 is used as port pins */
/* Using 16 as prescaler selection and 7 as LCD Clock Divide */
/* gives a frame rate of 49 Hz */
LCDFRR = (1<<LCDCD2) | (1<<LCDCD1);
/* Set segment drive time to 125 µs and output voltage to 3.3 V*/
LCDCCR = (1<<LCDDC1) | (1<<LCDCC3) | (1<<LCDCC2) | (1<<LCDCC1);
/* Enable LCD, default waveform and no interrupt enabled */
LCDCRA = (1<<LCDEN);
1. See
r16, (1<<LCDCS) | (1<<LCDMUX1)| (1<<LCDPM2)
LCDCRB, r16
r16, (1<<LCDCD2) | (1<<LCDCD1)
LCDFRR, r16
r16, (1<<LCDDC1) | (1<<LCDCC3) | (1<<LCDCC2) | (1<<LCDCC1)
LCDCCR, r16
r16, (1<<LCDEN)
LCDCRA, r16
”About Code Examples” on page 9
(1)
(1)
ATmega329P/3290P
238
Related parts for ATMEGA329P-20ANR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATmega329P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATMEGA329P-20MU](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
IC MCU 32K 4X25 LCD CTRL 64-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA329P-20AU](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC MCU 32K 4X25 LCD CTRL 64-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA329P-20MN](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 32K 20MHZ 64QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA329P-20AN](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC MCU AVR 32K 20MHZ 64TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA329P-20AUR](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
MCU AVR 32K FLASH 20MHZ 64TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA329P-20MNR](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 32K FLASH 20MHZ 64QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA329P-20MUR](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 32K FLASH 20MHZ 64QFN
Manufacturer:
Atmel
Datasheet:
![ATmega329](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATMEGA329-16AU](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 32K 16MHZ 64TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA329-16MU](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 32K 16MHZ 64-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA329-16AI](/photos/12/13/121332/313-64-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 32K 16MHZ 64TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA329-16MI](/photos/12/13/121326/313-64-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 32K 16MHZ 64-QFN
Manufacturer:
Atmel
Datasheet: