ATMEGA8A-PU Atmel, ATMEGA8A-PU Datasheet - Page 161

MCU AVR 8K FLASH 16MHZ 28-PDIP

ATMEGA8A-PU

Manufacturer Part Number
ATMEGA8A-PU
Description
MCU AVR 8K FLASH 16MHZ 28-PDIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8A-PU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Processor Series
ATMEGA8x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
SPI, TWI, USART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
23
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 6 Channel
Package
28PDIP
Device Core
AVR
Family Name
ATmega
Maximum Speed
16 MHz
Operating Supply Voltage
3.3|5 V
Controller Family/series
AVR MEGA
No. Of I/o's
23
Eeprom Memory Size
512Byte
Ram Memory Size
1KB
Cpu Speed
16MHz
Rohs Compliant
Yes
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8A-PU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
19.11 Examples of Baud Rate Setting
Table 19-9.
1.
8159D–AVR–02/11
Baud
Rate
(bps)
2400
4800
9600
14.4k
19.2k
28.8k
38.4k
57.6k
76.8k
115.2k
230.4k
250k
Max
(1)
UBRR = 0, Error = 0.0%
UBRR
25
12
6
3
2
1
1
0
62.5 kbps
Examples of UBRR Settings for Commonly Used Oscillator Frequencies
U2X = 0
f
-18.6%
osc
-7.0%
Error
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
= 1.0000MHz
• Bit 11:0 – UBRR11:0: USART Baud Rate Register
This is a 12-bit register which contains the USART baud rate. The UBRRH contains the four
most significant bits, and the UBRRL contains the eight least significant bits of the USART baud
rate. Ongoing transmissions by the Transmitter and Receiver will be corrupted if the baud rate is
changed. Writing UBRRL will trigger an immediate update of the baud rate prescaler.
For standard crystal and resonator frequencies, the most commonly used baud rates for asyn-
chronous operation can be generated by using the UBRR settings in
which yield an actual baud rate differing less than 0.5% from the target baud rate, are bold in the
table. Higher error ratings are acceptable, but the Receiver will have less noise resistance when
the error ratings are high, especially for large serial frames (see
Range” on page
UBRR
51
25
12
8
6
3
2
1
1
0
125 kbps
U2X = 1
-18.6%
-3.5%
-7.0%
Error
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
152). The error values are calculated using the following equation:
UBRR
47
23
11
7
5
3
2
1
0
1
115.2 kbps
U2X = 0
Error[%]
f
-25.0%
osc
Error
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
= 1.8432MHz
=
BaudRate
------------------------------------------------------- - 1
UBRR
95
47
23
15
11
BaudRate
7
5
3
2
1
0
230.4 kbps
U2X = 1
Closest Match
Error
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
UBRR
51
25
12
8
6
3
2
1
1
0
125 kbps
100%
U2X = 0
“Asynchronous Operational
f
-18.6%
-3.5%
-7.0%
osc
Table
Error
0.2%
0.2%
0.2%
8.5%
8.5%
8.5%
8.5%
-
= 2.0000MHz
ATmega8A
19-9. UBRR values
UBRR
103
51
25
16
12
8
6
3
2
1
0
250 kbps
U2X = 1
-3.5%
-7.0%
Error
0.2%
0.2%
0.2%
2.1%
0.2%
8.5%
8.5%
8.5%
0.0%
161

Related parts for ATMEGA8A-PU