AT89C5122D-PSTUM Atmel, AT89C5122D-PSTUM Datasheet - Page 128

IC 8051 MCU FLASH 32K 64QFN

AT89C5122D-PSTUM

Manufacturer Part Number
AT89C5122D-PSTUM
Description
IC 8051 MCU FLASH 32K 64QFN
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of AT89C5122D-PSTUM

Core Processor
8051
Core Size
8-Bit
Speed
48MHz
Connectivity
SmartCard, SPI, UART/USART, USB
Peripherals
LED, POR, WDT
Number Of I /o
46
Program Memory Size
32KB (32K x 8)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-QFN
For Use With
AT89STK-10 - KIT EVAL APPL MASS STORAGEAT89STK-03 - KIT STARTER FOR MCU AT8XC5122/23
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Transmission (Mode 0)
Reception (Mode 0)
128
AT83R5122, AT8xC5122/23
Figure 69. Serial I/O Port Block Diagram (Mode 0)
To start a transmission mode 0, write to SCON register clearing bits SM0, SM1.
As shown in Figure 70, writing the byte to transmit to SBUF register starts the transmis-
sion. Hardware shifts the LSB (D0) onto the RXD pin during the first clock cycle
composed of a high level then low level signal on TXD. During the eighth clock cycle the
MSB (D7) is on the RXD pin. Then, hardware drives the RXD pin high and asserts TI to
indicate the end of the transmission.
Figure 70. Transmission Waveforms (Mode 0)
To start a reception in mode 0, write to SCON register clearing SM0, SM1 and RI bits
and setting the REN bit.
As shown in Figure 71, Clock is pulsed and the LSB (D0) is sampled on the RXD pin.
The D0 bit is then shifted into the shift register. After eight sampling, the MSB (D7) is
shifted into the shift register, and hardware asserts RI bit to indicate a completed recep-
tion. Software can then read the received byte from SBUF register.
Figure 71. Reception Waveforms (Mode 0)
Write to SBUF
Write to SCON
SCON.6
SCON.1
M3 M2 M1 M0
SM1
Mode Decoder
TI
Controller
Mode
RXD
TXD
RXD
TXD
SCON.7
SCON.0
TI
RI
SM0
RI
Set REN, Clear RI
D0
D0
D1
CLOCK
D1
IBRG
CK_
T1
D2
D2
D3
D3
SBUF Tx SR
SBUF Rx SR
Baud Rate
Controller
D4
D4
D5
D5
D6
D6
D7
D7
4202F–SCR–07/2008
RXD
TXD

Related parts for AT89C5122D-PSTUM