AT89C51RE2 Atmel Corporation, AT89C51RE2 Datasheet - Page 133

no-image

AT89C51RE2

Manufacturer Part Number
AT89C51RE2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51RE2

Flash (kbytes)
128 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
34
Spi
1
Uart
2
Sram (kbytes)
8.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51RE2-RLTEM
Manufacturer:
BPS
Quantity:
30 000
Part Number:
AT89C51RE2-RLTUM
Manufacturer:
MSC
Quantity:
1 560
Part Number:
AT89C51RE2-RLTUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RE2-SLRUM
Manufacturer:
Atmel
Quantity:
759
Part Number:
AT89C51RE2-SLRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RE2-SLSUM
Manufacturer:
HONEYWELL
Quantity:
101
Part Number:
AT89C51RE2-SLSUM
Manufacturer:
Atmel
Quantity:
10 000
Company:
Part Number:
AT89C51RE2-SLSUM
Quantity:
3 800
Part Number:
AT89C51RE2-UM
Manufacturer:
XILINX
Quantity:
101
Description
7663D–8051–10/08
SDA
SCL
The CPU interfaces to the 2-wire logic via the following four 8-bit special function regis-
ters: the Synchronous Serial Control register (SSCON; Table 107), the Synchronous
Serial Data register (SSDAT; Table 108), the Synchronous Serial Control and Status
register (SSCS; Table 109) and the Synchronous Serial Address register (SSADR Table
112).
SSCON is used to enable the TWI interface, to program the bit rate (see Table 100), to
enable slave modes, to acknowledge or not a received data, to send a START or a
STOP condition on the 2-wire bus, and to acknowledge a serial interrupt. A hardware
reset disables the TWI module.
SSCS contains a status code which reflects the status of the 2-wire logic and the 2-wire
bus. The three least significant bits are always zero. The five most significant bits con-
tains the status code. There are 26 possible status codes. When SSCS contains F8h,
no relevant state information is available and no serial interrupt is requested. A valid sta-
tus code is available in SSCS one machine cycle after SI is set by hardware and is still
present one machine cycle after SI has been reset by software. to Table 106. give the
status for the master modes and miscellaneous states.
SSDAT contains a byte of serial data to be transmitted or a byte which has just been
received. It is addressable while it is not in process of shifting a byte. This occurs when
2-wire logic is in a defined state and the serial interrupt flag is set. Data in SSDAT
remains stable as long as SI is set. While data is being shifted out, data on the bus is
simultaneously shifted in; SSDAT always contains the last byte present on the bus.
SSADR may be loaded with the 7-bit slave address (7 most significant bits) to which the
TWI module will respond when programmed as a slave transmitter or receiver. The LSB
is used to enable general call address (00h) recognition.
Figure 51 shows how a data transfer is accomplished on the 2-wire bus.
Figure 51. Complete Data Transfer on 2-wire Bus
The four operating modes are:
Data transfer in each mode of operation is shown in Table to Table 106 and Figure 52.
to Figure 55.. These figures contain the following abbreviations:
S : START condition
R : Read bit (high level at SDA)
Master Transmitter
Master Receiver
Slave transmitter
Slave receiver
start
condition
S
MSB
1
2
7
8
signal from receiver
acknowledgement
ACK
9
while interrupts are serviced
clock line held low
1
2
3-8
AT89C51RE2
ACK
signal from receiver
9
acknowledgement
condition
stop
P
133

Related parts for AT89C51RE2