Electronic Components Datasheet Search
  English  ▼

X  

AT89C51IC2-SLSCM Datasheet(PDF) 86 Page - ATMEL Corporation

Part # AT89C51IC2-SLSCM
Description  8-bit Flash Microcontroller with 2-wire Interface
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89C51IC2-SLSCM Datasheet(HTML) 86 Page - ATMEL Corporation

Back Button AT89C51IC2-SLSCM Datasheet HTML 82Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 83Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 84Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 85Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 86Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 87Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 88Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 89Page - ATMEL Corporation AT89C51IC2-SLSCM Datasheet HTML 90Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 86 / 146 page
background image
86
AT89C51IC2
4301A–8051–01/04
Description
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 73), the Synchronous
Serial Data register (SSDAT; Table 74), the Synchronous Serial Control and Status reg-
ister (SSCS; Table 75) and the Synchronous Serial Address register (SSADR Table 78).
SSCON is used to enable SSLC, to program the bit rate (see Table 66), 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
SSLC.
In write mode, SSCS is used to select the 2-wire interface and to select the bit rate
source. In read mode, 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 contains 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 status 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.
Table 68.to Table 72. 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
SSLC will respond when programmed as a slave transmitter or receiver. The LSB is
used to enable general call address (00h) recognition.
Figure 37 shows how a data transfer is accomplished on the 2-wire bus.
Figure 37. Complete data transfer on 2-wire bus
The four operating modes are:
•
Master Transmitter
•
Master Receiver
•
Slave transmitter
•Slave receiver
Data transfer in each mode of operation is shown in Table 68 to Table 72 and Figure 38.
to Figure 41.. These figures contain the following abbreviations:
S : START condition
SDA
SCL
S
start
condition
MSB
12
7
89
ACK
acknowledgement
signal from receiver
acknowledgement
signal from receiver
12
3-8
9
ACK
stop
condition
P
clock line held low
while interrupts are serviced



Html Pages

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 52 53 54 55 56 57 58 59 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  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com