Samsung S3C2440A User Manual

Page 452

Advertising
background image

IIC-BUS INTERFACE

S3C2440A RISC MICROPROCESSOR

20-4

DATA TRANSFER FORMAT

Every byte placed on the SDA line should be eight bits in length. The bytes can be unlimitedly transmitted per
transfer. The first byte following a Start condition should have the address field. The address field can be
transmitted by the master when the IIC-bus is operating in Master mode. Each byte should be followed by an
acknowledgement (ACK) bit. The MSB bit of the serial data and addresses are always sent first.

NOTES:
1.

S: Start, rS: Repeat Start, P: Stop, A: Acknowledge

2. : From Master to Slave, : From Slave to Master

Write Mode Format with 7-bit Addresses

"0"

(Write)

Data Transferred

(Data + Acknowledge)

S Slave Address 7bits R/W A

P

DATA(1Byte)

A

Read Mode Format with 7-bit Addresses

"1"

(Read)

Data Transferred

(Data + Acknowledge)

S Slave Address 7 bits R/W A

P

DATA

A

Write Mode Format with 10-bit Addresses

"0"

(Write)

Data Transferred

(Data + Acknowledge)

P

DATA

A

S

Slave Address

1st 7 bits

R/W A

Slave Address

2nd Byte

A

11110XX

Read Mode Format with 10-bit Addresses

"1"

(Read)

S

Slave Address

1st 7 bits

11110XX

R/W A

Slave Address

2nd Byte

A rS

Slave Address

1st 7 Bits

A

Data Transferred

(Data + Acknowledge)

P

DATA

A

R/W

"1"

(Read)

Figure 20-3. IIC-Bus Interface Data Format

Advertising