AT90S8515

Manufacturer Part NumberAT90S8515
Description8-bit microcontroller with 8K bytes in-system programmable flash, 2.7-6.0V
ManufacturerATMEL Corporation
AT90S8515 datasheet
 
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
Page 51
52
Page 52
53
Page 53
54
Page 54
55
Page 55
56
Page 56
57
Page 57
58
Page 58
59
Page 59
60
Page 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
101
102
103
104
105
106
107
108
109
110
111
112
Page 58/112:

MHz Error

Download datasheet (3Mb)Embed
PrevNext
Table 17. UBRR Settings at Various Crystal Frequencies
Baud Rate
1 MHz %Error
2400 UBRR=
25
4800 UBRR=
12
9600 UBRR=
6
14400 UBRR=
3
19200 UBRR=
2
28800 UBRR=
1
38400 UBRR=
1
57600 UBRR=
0
76800 UBRR=
0
115200 UBRR=
0
Baud Rate 3.2768 MHz %Error
2400 UBRR=
84
4800 UBRR=
42
9600 UBRR=
20
14400 UBRR=
13
19200 UBRR=
10
28800 UBRR=
6
38400 UBRR=
4
57600 UBRR=
3
76800 UBRR=
2
115200 UBRR=
1
Baud Rate 7.3728 MHz %Error
2400 UBRR=
191
4800 UBRR=
95
9600 UBRR=
47
14400 UBRR=
31
19200 UBRR=
23
28800 UBRR=
15
38400 UBRR=
11
57600 UBRR=
7
76800 UBRR=
5
115200 UBRR=
3
UART BAUD Rate Register –
UBRR
AT90S8515
58
1.8432 MHz %Error
0.2 UBRR=
47
0.0 UBRR=
0.2 UBRR=
23
0.0 UBRR=
7.5 UBRR=
11
0.0 UBRR=
7.8 UBRR=
7
0.0 UBRR=
7.8 UBRR=
5
0.0 UBRR=
7.8 UBRR=
3
0.0 UBRR=
22.9 UBRR=
2
0.0 UBRR=
7.8 UBRR=
0.0 UBRR=
1
22.9 UBRR=
1
33.3 UBRR=
84.3 UBRR=
0.0 UBRR=
0
3.6864 MHz %Error
0.4 UBRR=
95
0.0 UBRR=
0.8 UBRR=
47
0.0 UBRR=
1.6 UBRR=
23
0.0 UBRR=
1.6 UBRR=
15
0.0 UBRR=
3.1 UBRR=
0.0 UBRR=
11
1.6 UBRR=
0.0 UBRR=
7
6.3 UBRR=
0.0 UBRR=
5
12.5 UBRR=
0.0 UBRR=
3
12.5 UBRR=
2
0.0 UBRR=
12.5 UBRR=
1
0.0 UBRR=
8 MHz %Error
0.0 UBRR=
0.2 UBRR=
207
0.0 UBRR=
0.2 UBRR=
103
0.0 UBRR=
0.2 UBRR=
51
0.0 UBRR=
0.8 UBRR=
34
0.0 UBRR=
0.2 UBRR=
25
0.0 UBRR=
16
2.1 UBRR=
0.0 UBRR=
12
0.2 UBRR=
0.0 UBRR=
8
3.7 UBRR=
0.0 UBRR=
6
7.5 UBRR=
0.0 UBRR=
3
7.8 UBRR=
Bit
7
6
5
$09 ($29)
MSB
Read/Write
R/W
R/W
R/W
Initial Value
0
0
0
The UBRR register is an 8-bit read/write register that specifies the UART Baud Rate
according to the equation on the previous page.
2 MHz %Error
2.4576 MHz %Error
51
0.2 UBRR=
63
25
0.2 UBRR=
31
12
0.2 UBRR=
15
8
3.7 UBRR=
10
6
7.5 UBRR=
7
3
7.8 UBRR=
4
2
7.8 UBRR=
3
1
7.8 UBRR=
2
1
22.9 UBRR=
1
0
7.8 UBRR=
0
4 MHz %Error
4.608 MHz %Error
103
0.2 UBRR=
119
51
0.2 UBRR=
59
25
0.2 UBRR=
29
16
2.1 UBRR=
19
0.2 UBRR=
12
14
8
3.7 UBRR=
9
6
7.5 UBRR=
7
3
7.8 UBRR=
4
2
7.8 UBRR=
3
1
7.8 UBRR=
2
9.216 MHz %Error
11.059 MHz %Error
0.0 UBRR=
287
239
0.0 UBRR=
119
143
0.0 UBRR=
59
71
0.0 UBRR=
39
47
0.0 UBRR=
29
35
0.0 UBRR=
19
23
14
0.0 UBRR=
17
9
0.0 UBRR=
11
7
6.7 UBRR=
8
4
0.0 UBRR=
5
4
3
2
1
R/W
R/W
R/W
R/W
0
0
0
0
0.0
0.0
0.0
3.1
0.0
6.3
0.0
12.5
0.0
25.0
0.0
0.0
0.0
0.0
0.0
0.0
6.7
0.0
6.7
20.0
-
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0.0
0
LSB
UBRR
R/W
0
0841G–09/01