sent, but since CTO timed out, bypass mode ends and
base mode is active for the next vertical blanking period.
With STO > CTO > ETO, bypass mode can be made
continuous by having the ECU send real commands or
dummy commands (such as a command to a nonexist-
ing address) each time the control channel opens.
Then the ECU does not have to send a command to
enter bypass mode each time it wants to program the
peripheral device.
UART
UART Frame Format
The UART frame used to program the MAX9257 and
the MAX9258 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 MAX9257/MAX9258. 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 synchronization 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 program the MAX9257/MAX9258.
MAX9257/MAX9258
______________________________________________________________________________________ 35
Fully Programmable Serializer/Deserializer
with UART/I
2
C Control Channel
Comentarios a estos manuales