
Maxim Integrated Products 37
MAX9257A/MAX9258A
Fully Programmable Serializer/Deserializer
with UART/I2C Control Channel
includes data-bit ordering conversion because UART
transmits the LSB in first while I2C transmits the MSB first.
UART/I2C read delay is a maximum 34 bit times when
reading from an I2C peripheral.
The devices store their own 7-bit device addresses
in register REG5. All packets not addressed to the
MAX9257A/MAX9258A are forwarded to the UARTto-
I2C converter. The I2C interfaces (SDA and SCL) are
open drain and actively drive a low state. When idle,
SDA and SCL are high impedance and pulled high by a
pullup resistor. SDA and SCL are idle when packets are
addressed to the MAX9257A or MAX9258A. SDA and
SCL are also idle when the I2C interface is programmed
to be disabled.
Bypass Mode (Details)
In bypass mode, ECU activity and UART communication
from the camera reset the ETO and CTO timers. This
allows the control channel to stay in bypass as long as
there is camera activity. In base mode, only ECU activity
resets the ETO and CTO timers.
Bypass mode temporarily or permanently blocks pro-
gramming of the devices. Bypass mode allows only UART
programming of peripheral device by ECU. There is no
I2C connection in bypass mode. Bypass mode is entered
by writing a 0 to INTMODE and by writing a 1 to INTEN
(
Table 23). Bypass mode disables ECU programming of
the devices to allow any UART communication protocol
with the peripheral device. Once bypass mode is entered,
the devices stay in bypass mode until CTO times out.
In bypass mode, the STO and ETO timers determine the
control channel duration. CTO timer determines whether to
revert back to base mode or not, and EF is not recognized.
A useful setting in bypass mode is to set STO > CTO >
ETO because this setting is an alternative to permanent
bypass
(Figure 24). Use this setting to stay in bypass
mode to avoid the overhead of entering from base mode
every time the control channel opens. If the ECU uses
the channel within a CTO timeout, ETO is activated and
then ETO times out before CTO. The channel closes
because ETO times out, but channel stays in bypass
mode because CTO does not time out. At the next verti-
cal blanking time, bypass mode continues with CTO
reset and the ECU can immediately send commands to
the camera. If the ECU or camera does not use the chan-
nel, CTO times out before STO. STO closes the channel
(because ETO is not enabled) if no communication is
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 nonexisting
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.
Figure 24. CTO Timing
T1 = TIME TO ENTER CONTROL CHANNEL
T2 = STO TIMER
T3 = CTO TIMER
T4 = ETO TIMER
T5 = CONTROL CHANNEL EXIT TIME
HSK = HANDSHAKING BETWEEN THE MAX9257 & THE MAX9258
= TIMER RESET
VIDEO
HSK
FROZEN
BYPASS MODE
BASE MODE
VIDEO
HSK
VSYNC_IN
SDI/O
CCEN
T1
T2
T5
T4
T3
T2
TX
RX
DOUT_
FROZEN
BYPASS MODE
CONTROL
CHANNEL
STO > CTO > ETO
ECU
ACTIVITY