AT89LP828 Atmel Corporation, AT89LP828 Datasheet - Page 80

no-image

AT89LP828

Manufacturer Part Number
AT89LP828
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP828

Flash (kbytes)
8 Kbytes
Max. Operating Frequency
25 MHz
Cpu
8051-1C
Max I/o Pins
30
Spi
1
Uart
1
Sram (kbytes)
0.75
Eeprom (bytes)
1024
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 5.5
Timers
3
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
360
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP828-20JU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP828-20MH
Manufacturer:
Atmel
Quantity:
720
Part Number:
AT89LP828-20PU
Manufacturer:
NXP
Quantity:
3 942
Part Number:
AT89LP828-JU
Manufacturer:
Atmel
Quantity:
10 000
16.2.2
80
AT89LP428/828
Using Timer 2 to Generate Baud Rates
Programmers can achieve very low baud rates with Timer 1 by configuring the Timer to run as a
16-bit auto-reload timer (high nibble of TMOD = 0001B). In this case, the baud rate is given by
the following formula.
Table 16-2
Table 16-2.
Timer 2 is selected as the baud rate generator by setting TCLK and/or RCLK in T2CON. Under
these conditions, the baud rates for transmit and receive can be simultaneously different by
using Timer 1 for transmit and Timer 2 for receive, or vice versa. The baud rate generator mode
is similar to the auto-reload mode, in that a rollover causes the Timer 2 registers to be reloaded
with the 16-bit value in registers RCAP2H and RCAP2L, which are preset by software. In this
case, the baud rates in Modes 1 and 3 are determined by Timer 2’s overflow rate according to
the following equation:.
Table 16-3
Mode 0: 1 MHz
Mode 2: 750K
Baud Rate
62.5K
38.4K
19.2K
137.5
9.6K
4.8K
2.4K
1.2K
110
110
lists commonly used baud rates and how they can be obtained from Timer 1.
lists commonly used baud rates and how they can be obtained from Timer 2.
Commonly Used Baud Rates Generated by Timer 1 (TPS = 0000B)
Modes 1 and 3
Baud Rate
Modes 1, 3
Baud Rate
f
OSC
11.986
11.059
11.059
11.059
11.059
11.059
11.059
12
12
12
(MHz)
4
6
=
=
----- -
16
2
------------------- -
1
SMOD1
32
×
-------------------------------------------------------------------------------- -
[
65536
SMOD1
×
Oscillator Frequency
0
1
1
0
1
0
0
0
0
0
0
0
------------------------------------------------------- -
[
Oscillator Frequency
65536
(
RCAP2H,RCAP2L
(
RH1,RL1
C/T
X
X
0
0
0
0
0
0
0
0
0
0
)
]
×
)
-------------------- -
TPS
]
Mode
×
Timer 1
X
X
2
2
2
2
2
2
1
1
1
1
1
-------------------- -
TPS
+
1
1
+
1
3654A–MICRO–8/09
Reload Value
FEE0H
F55CH
F958H
F304H
DCH
DCH
F4H
F7H
B8H
70H
X
X

Related parts for AT89LP828