Datasheet

Data Sheet AD9548
Rev. E | Page 51 of 112
SERIAL CONTROL PORT
M7
M0
M1
M2
M3
M4
M5
M6
13-BIT ADDRESS
SPACE
READ ONLY
REGION
READ/WRITE
REGION
ANALOG BLOCKS AND
DIGITAL CORE
POWER-ON RESETSERIAL CONTROL ARBITER
SPI
I
2
C
EEPROM
CONTROLLER
400kHz
MULTI-
FUNCTION
PIN CONTROL
LOGIC
SCLK/SCL
CS/SDA
SDIO
SDO
EEPROM
0
8022-026
Figure 52. Serial Port Functional Diagram
The AD9548 serial control port is a flexible, synchronous serial
communications port that provides a convenient interface to
many industry-standard microcontrollers and microprocessors.
The AD9548 serial control port is compatible with most
synchronous transfer formats, including Philips IC, Motorola
SPI, and Intel SSR protocols. The serial control port allows
read/write access to the AD9548 register map.
In SPI mode, single or multiple byte transfers are supported. The
SPI port configuration is programmable via Register 0x0000. This
register is integrated into the SPI control logic rather than in the
register map and is distinct from the I
2
C Register 0x0000. It is also
inaccessible to the EEPROM controller.
A functional diagram of the serial control port, including its
relationship to the EEPROM, appears in Figure 52.
Although the AD9548 supports both the SPI and I
2
C serial port
protocols, only one is active following power-up (as determined
by the multifunction pins, M0 to M2, during the startup
sequence). That is, the only way to change the serial port
protocol is to reset the device (or cycle the device power
supply). Both protocols use a common set of control pins as
shown in Figure 53.
AD9548
SCLK/SCL
CSB/SDA
SDO
SDIO
2
5
4
3
SERIAL
CONTROL
PORT
08022-027
Figure 53. Serial Control Port
SPI/I²C PORT SELECTION
Because the AD9548 supports both SPI and IC protocols, the
active serial port protocol depends on the logic state of the three
multifunction pins, M0 to M2, at startup. If all three pins are set
to Logic 0 at startup, then the SPI protocol is active. Otherwise,
the IC protocol is active with seven different IC slave address
settings based on the startup logic pattern on the M0 to M2 pins
(see Table 29). Note that the four MSBs of the slave address are
hardware coded as 1011.
Table 29. Serial Port Mode Selection
M2 M1 M0 Serial Port Mode
0 0 0 SPI
0 0 1 I²C (address = 1001001)
0 1 0 I²C (address = 1001010)
0 1 1 I²C (address = 1001011)
1 0 0 I²C (address = 1001100)
1 0 1 I²C (address = 1001101)
1 1 0 I²C (address = 1001110)
1 1 1 I²C (address = 1001111)
SPI SERIAL PORT OPERATION
Pin Descriptions
The SCLK (serial clock) pin serves as the serial shift clock. This
pin is an input. SCLK synchronizes serial control port read and
write operations. The rising edge SCLK registers write data bits,
and the falling edge registers read data bits. The SCLK pin
supports a maximum clock rate of 40 MHz.
The SDIO (serial data input/output) pin is a dual-purpose pin
and acts as either an input only (unidirectional mode) or as
both an input and an output (bidirectional mode). The AD9548
default SPI mode is bidirectional.
The SDO (serial data output) pin is useful only in
unidirectional I/O mode. It serves as the data output pin for
read operations.
The
CS
(chip select) pin is an active low control that gates read
and write operations. This pin is internally connected to a 30 kΩ
pull-up resistor. When
CS
is high, the SDO and SDIO pins go
into a high impedance state.