ATmega8A Atmel Corporation, ATmega8A Datasheet - Page 161

no-image

ATmega8A

Manufacturer Part Number
ATmega8A
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega8A

Flash (kbytes)
8 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
23
Ext Interrupts
2
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Pwm Channels
3
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8A
Manufacturer:
ATMEL
Quantity:
530
Part Number:
ATmega8A-AN
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega8A-ANR
Manufacturer:
Atmel
Quantity:
2 034
Part Number:
ATmega8A-ANR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega8A-AU
Manufacturer:
NXP
Quantity:
1 001
Part Number:
ATmega8A-AU
Manufacturer:
ATM
Quantity:
10 000
Part Number:
ATmega8A-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega8A-AU
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
ATmega8A-AU
Manufacturer:
Microchip
Quantity:
1 000
Part Number:
ATmega8A-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega8A-AU
Quantity:
10 000
Part Number:
ATmega8A-MNR
Manufacturer:
Atmel
Quantity:
9 939
Part Number:
ATmega8A-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
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