AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 107

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C5132

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
18. Serial I/O Port
18.1
18.2
18.2.1
4173E–USB–09/07
Mode Selection
Baud Rate Generator
Timer 1
The serial I/O port in the AT89C5132 provides both synchronous and asynchronous communi-
cation modes. It operates as a Synchronous Receiver and Transmitter in one single mode
(Mode 0) and operates as an Universal Asynchronous Receiver and Transmitter (UART) in three
full-duplex modes (modes 1, 2 and 3). Asynchronous modes support framing error detection and
multiprocessor communication with automatic address recognition.
SM0 and SM1 Bits in SCON register (see Figure 91) are used to select a mode among the sin-
gle synchronous and the three asynchronous modes according to
Table 89. Serial I/O Port Mode Selection
Depending on the mode and the source selection, the baud rate can be generated from either
the Timer 1 or the Internal Baud Rate Generator. The Timer 1 can be used in Modes 1 and 3
while the Internal Baud Rate Generator can be used in Modes 0, 1
and 3.
The addition of the Internal Baud Rate Generator allows freeing of the Timer 1 for other pur-
poses in the application. It is highly recommended to use the Internal Baud Rate Generator as it
allows higher and more accurate baud rates than Timer 1.
Baud rate formulas depend on the modes selected and are given in the following mode sections.
When using Timer 1, the Baud Rate is derived from the overflow of the timer. As shown in
Figure 18-1 Timer 1 is used in its 8-bit auto-reload mode (detailed in Section "Mode 2 (8-bit
Timer with Auto-Reload)", page 51). SMOD1 bit in PCON register allows doubling of the gener-
ated baud rate.
SM0
0
0
1
1
SM1
0
1
0
1
Mode
0
1
2
3
Description
Synchronous Shift Register
8-bit UART
9-bit UART
9-bit UART
Baud Rate
Fixed/Variable
Variable
Fixed
Variable
Table
89.
AT89C5132
107

Related parts for AT89C5132