Datasheet
���������������������������������������������������������������� Maxim Integrated Products 38
MAX9257A/MAX9258A
Fully Programmable Serializer/Deserializer
with UART/I
2
C Control Channel
UART
UART Frame Format
The UART frame used to program the MAX9257A and the
MAX9258A has a low start bit, eight data bits, an even
parity bit and a high stop bit. The data following the start
bit is the LSB. With even parity, when there are an odd
number of 1s in the data bits (D0 through D7) the parity
bit is set to 1. The stop bit is sampled and if it is not high,
a frame error is generated (Figure 26).
UART Synchronization Frame
The synchronization frame must precede any read or
write packets (Figure 26). Transitions in the frame cali-
brate the oscillators on the devices. The baud rate of the
synchronization frame sets the operat ing baud rate of the
control channel. At power-up, UART data rate must be
between 95kbps to 400kbps. After power-up, UART data
rate can be programmed according to Tables 28 and 29.
Data is serialized start ing with the LSB first. The synchro-
nization frame is 0x54 as shown in Figure 27.
Write Packet
The ECU writes the sync frame, 7-bit device address plus
read/write bit (R/W = 0 for write), 8-bit register address,
number of bytes to be written, and data bytes (Figure 28).
The ECU must follow this UART protocol to correctly pro-
gram the devices.
Figure 25. UART-to-I
2
C Conversion
Figure 26. UART Frame Format
Figure 27. UART Synchronization Frame Figure 28. UART Write Packet to MAX9257A/MAX9258A
START
D3
D4
D5
D6 D7
PARITY
STOP
D0
D1
D2
1
0
1
0
1
0
0
0
START
SYNCHRONIZATION FRAME
STOP
PARITY
4 5
0
1
1
NUMBER OF BYTES
REG ADDRESS
DEV ADDR +
R/W
SYNC
BYTE 1 BYTE N
I
2
C
REG ADDR DATA 0 DATA N
LSB MSB LSB
MSB
LSB MSB
MAX9257
PERIPHERAL
ECU
MAX9258
UART
MSB
S
SLAVE ADDRESS
I
2
C SLAVE ADDRESS + Wr
W
A
REG ADDRESS
A
DATA 0 A
DATA N A
LSB
MSB
LSB
MSB
LSB
P










