beautypg.com

Section 11 – i2c-compatible slave interface, Section 11, C-compatible slave interface – Maxim Integrated DS4830 Optical Microcontroller User Manual

Page 89: Ds4830 user’s guide

background image

DS4830 User’s Guide

89

SECTION 11

– I

2

C-COMPATIBLE SLAVE INTERFACE

The DS4830 provides an I

2

C-compatible slave controller that allows the DS4830 to communicate with a host device. This

controller can also operate as an SMBUS slave. Also designed into the I

2

C slave controller is the ability to bootload the

DS4830 with new user Flash memory. The I

2

C slave interface can be setup to provide system interrupts after each I

2

C

event. Figure 11-1 shows the basic operation flow of the I

2

C slave controller. The blocks in Figure 11-1 that are shaded

are shown in more detail in Figure 11-2.

Detect STOP

I2CSPI=1

I2CBUS=0

1

Y

I2CNACKI

Receive

Slave

Address

Transmit

Data

Detect START

I2CSRI=1

I2CBUS=1

I2CBUSY=1

I2CAMI=1

?

Y

N

STOP ?

0

N

R/W Bit

I2CMODE

Receive

Data

Y

STOP ?

N

0

1

Figure 11-1: Slave I

2

C Flow