Datasheet

AD9940
Rev. 0 | Page 12 of 20
SERIAL INTERFACE TIMING
All the internal registers of the AD9940 are accessed through
a 3-wire serial interface. Each register consists of an 8-bit data
byte starting with the LSB bit. As shown in
Every write operation must begin with a write to Address 0 to
specify Part select bit and Bank location, then followed with any
number of consecutive data words. Address 0 is always followed
by Address 01 or Address 14 depending on the value specified
for WRITEMODE (used for Bank selection).
Figure 5, the data
bits are clocked in on the rising edge of SCK after SL is asserted
low and the entire 8-bit word is latched in on the rising edge
of SL after the last MSB bit. Consecutive serial writes are per-
formed starting with Address 0 and ending with an address
MSB bit prior to asserting SL high.
A hard reset is recommended after power-up to reset the
AD9940 prior to performing a serial interface write. A hard
reset is performed by asserting the RST pin low for a mini-
mum of 10 μs. The serial interface pins SCK, SL, and SDI
must be in a know state after the RST has been applied.
The AD9940 contains two banks of registers, which are
programmed independently. Bank 1 consists of the registers
located at Address 0 to Address 13, and Bank 2 consists of
Address 14 to Address 26. The WRITEMODE register located
at Address 0 is used to select which register bank is written to.
SDAT
A
SCK
SL
D0
D2
D3 D7
D0
D3D2
D7 D0
...
...
...
...
ADDR 01
D2
D3 D7 D0 D3
D2
D7
...
...
...
...
...
NOTES
1. ANY NUMBER OF ADJACENT REGISTERS CAN BE LOADED SEQUENTIALLY, BEGINNING WITH THE LOWEST ADDRESS 00.
2. WHEN SEQUENTIALLY LOADING MULTIPLE REGISTERS, THE EXACT REGISTER LENGTH (SHOWN ABOVE) MUST BE USED
FOR EACH REGISTER.
3. ALL LOADED REGISTERS ARE SIMULTANEOUSLY UPDATED ON THE RISING EDGE OF SL.
ADDR N ADDR N+1ADDR 00
D1
D1
D1
D1
t
LS
t
DH
t
DS
t
LH
05261-004
Figure 5. Serial Interface Operation