![](http://datasheet.mmic.net.cn/Analog-Devices-Inc/AD9877ABSZ_datasheet_100709/AD9877ABSZ_23.png)
AD9877
Rev. B | Page 23 of 36
When this bit is set default low, the AD9877 serial port is in
MSB-first format. In MSB-first mode, the instruction byte and
data bytes must be written from the MSB to the LSB. In MSB-
first mode, the serial port internal byte address generator
decrements for each byte of the multibyte communication cycle.
When incrementing from 0x1F, the address generator changes
to 0x00. When decrementing from 0x00, the address generator
changes to 0x1F.
NOTES ON SERIAL PORT OPERATION
The AD9877 serial port configuration bits reside in Bit 6 and
Bit 7 of Register 0x00. It is important to note that the
configuration changes immediately upon writing to the last bit
of the register. For multibyte transfers, writing to this register
may occur during the middle of the communication cycle.
Care must be taken to compensate for this new configuration
for the remaining bytes of the current communication cycle.
The same considerations apply to setting the RESET bit in
Register 0x00. All other registers are set to their default values,
but the software reset does not affect the bits in Register 0x00. It
is recommended to use only single-byte transfers when chang-
ing serial port configurations or initiating a software reset.
A write to Bits 1, 2, and 3 of Register 0x00 with the same logic
levels as Bits 7, 6, and 5 (bit pattern: XY1001YX binary) allows
the host processor to reprogram a lost serial port configuration
and to reset the registers to their default values. A second write
to Register 0x00 with RESET bit low and serial port configura-
tion as specified above (XY) reprograms the OSCIN multiplier
setting. A changed fSYSCLK frequency is stable after a maximum
of 200 fMCLK cycles.
CS
R/W N1
N0
A4
A3
A2
A1
A0 D7n D6n
D20 D10 D00
D7n D6n
D20 D10 D00
SCLK
INSTRUCTION CYCLE
DATA TRANSFER CYCLE
SDIO
SDO
02716-022
Figure 22. Serial Register Interface Timing MSB First
D00 D10 D20
D6n D7n
SCLK
INSTRUCTION CYCLE
DATA TRANSFER CYCLE
SDIO
SDO
CS
A0
A1
A2
A3
A4
N0
N1 R/W D00 D10 D20
D6n D7n
02716-023
Figure 23. Serial Register Interface Timing LSB First
02716-024
SCLK
INSTRUCTION BIT 7
INSTRUCTION BIT 6
tSCLK
tDH
tPWL
tPWH
tDS
SDIO
CS
tDS
Figure 24. Timing Diagram for Register Write to AD9877
02716-025
SCLK
SDIO
SDO
CS
DATA BIT N
DATA BIT N – 1
tDV
Figure 25. Timing Diagram for Register Read from AD9877