Analog Devices AD9883A manual Serial Interface Read/Write Examples

Page 21

AD9883A

Data is read from the control registers of the AD9883A in a similar manner. Reading requires two data transfer operations:

The base address must be written with the R/W bit of the slave address byte LOW to set up a sequential read operation.

Reading (the R/W bit of the slave address byte high) begins at the previously established base address. The address of the read register autoincrements after each byte is transferred.

To terminate a read/write sequence to the AD9883A, a stop signal must be sent. A stop signal comprises a low-to-high tran- sition of SDA while SCL is high.

A repeated start signal occurs when the master device driving the serial interface generates a start signal without first generat- ing a stop signal to terminate the current communication. This is used to change the mode of communication (read, write) between the slave and master without releasing the serial inter- face lines.

Serial Interface Read/Write Examples

Write to one control register

Start Signal

Slave Address Byte (R/W Bit = LOW)

Base Address Byte

Data Byte to Base Address

Stop Signal

Write to four consecutive control registers

Start Signal

Slave Address Byte (R/W Bit = LOW)

Base Address Byte

Data Byte to Base Address

Data Byte to (Base Address + 1)

Data Byte to (Base Address + 2)

Data Byte to (Base Address + 3)

Stop Signal

Read from one control register

Start Signal

Slave Address Byte (R/W Bit = LOW)

Base Address Byte

Start Signal

Slave Address byte (R/W bit = HIGH)

Data Byte from Base Address

Stop Signal

Read from four consecutive control registers

Start Signal

Slave Address Byte (R/W Bit = LOW)

Base Address Byte

Start Signal

Slave Address Byte (R/W Bit = HIGH)

Data Byte from Base Address

Data Byte from (Base Address + 1)

Data Byte from (Base Address + 2)

Data Byte from (Base Address + 3)

Stop Signal

SDA

BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 ACK

SCL

Figure 11. Serial Interface—Typical Byte Transfer

 

SYNC STRIPPER

ACTIVITY

 

 

 

DETECT

 

 

 

 

SYNC SEPARATOR

 

 

 

 

 

NEGATIVE PEAK

COMP

 

 

INTEGRATOR

 

CLAMP

SYNC

 

 

 

 

 

VSYNC

 

 

 

 

 

SOG

 

 

 

 

1/S

 

 

 

MUX 1

 

 

HSYNC IN

 

 

 

 

SOG OUT

 

 

 

 

 

 

 

PLL

 

 

 

 

ACTIVITY

 

POLARITY

 

 

 

DETECT

 

 

 

 

 

DETECT

 

 

 

 

 

 

 

 

 

 

HSYNC

 

HSYNC OUT

 

 

 

CLOCK

HSYNC OUT

 

 

MUX 2

 

PIXEL CLOCK

 

 

 

GENERATOR

 

 

 

 

 

 

 

COAST

 

 

COAST

 

 

 

 

 

 

 

MUX 3

POLARITY

 

 

 

 

 

 

 

 

 

 

DETECT

 

 

 

 

 

 

 

AD9883A

VSYNC IN

 

 

 

 

VSYNC OUT

 

 

 

 

 

ACTIVITY

POLARITY

MUX 4

 

 

 

DETECT

DETECT

 

 

 

 

Figure 12. Sync Processing Block Diagram

REV. 0

–21–

Image 21
Contents General Description Functional Block DiagramSwitching Performance ResolutionDC Accuracy LSBThermal Characteristics Power SupplyDigital Outputs Dynamic PerformanceVDD Temperature Package Model Range Description OptionVref Ordering GuidePin Type Mnemonic Function Value Number Outputs PIN Function DescriptionsSerial POR Data OutpPIN Function Descriptions Pin Name Power SUPHsync, Vsync Inputs Output Signal HandlingSerial Control Port ClampingGain and Offset Control Sync-on-GreenClock Generation Pixel Clock Range VCO Gain Inputs Power Sync Powered On or Mode Down1 Detect2 CommentsPV1 PV0 MHz MHz/VCurrent VcorngeMode For RGB and YUV 001 Wire Serial Register Map0FH Power-up default value is TWO-WIRE Serial Control Register DetailPixel Rate Range 12-36Hspol Override Bit FunctionSync Coast Polarity Function Override Bit ResultSOG 0EH AHSAVS Input Channel Connection Output Format Select Output ModeBit MSBSerial Interface-Typical Byte Transfer Serial Interface Read/Write ExamplesSync Slicer Power Supply BypassingSync Separator PCB Layout RecommendationsOutputs Both Data and Clocks PLLVoltage Reference Outline Dimensions Lead LqfpST-80