MAX9258GCM/V+ [MAXIM]
Fully Programmable Serializer/Deserializer with UART/I2C Control Channel; 完全可编程的串行器/解串器与UART / I2C控制通道型号: | MAX9258GCM/V+ |
厂家: | MAXIM INTEGRATED PRODUCTS |
描述: | Fully Programmable Serializer/Deserializer with UART/I2C Control Channel |
文件: | 总52页 (文件大小:349K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
19-1044; Rev 1; 3/09
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
General Description
Features
The MAX9257 serializer pairs with the MAX9258 deseri-
alizer to form a complete digital video serial link. The
MAX9257/MAX9258 feature programmable parallel data
width, parallel clock frequency range, spread spectrum,
and preemphasis. An integrated control channel trans-
fers data bidirectionally at power-up during video blank-
ing over the same differential pair used for video data.
This feature eliminates the need for external CAN or LIN
interface for diagnostics or programming. The clock is
recovered from input serial data at MAX9258, hence
eliminating the need for an external reference clock.
♦ 10/12/14/16/18-Bit Programmable Parallel Data
Width
♦ MAX9258 Does Not Require Reference Clock
♦ Parity Protection for Video and Control Channels
♦ Programmable Spread Spectrum
♦ Programmable Rising or Falling Edge for HSYNC,
VSYNC, and Clock
♦ Up to 10 Remotely Programmable GPIO on
MAX9257
♦ Automatic Resynchronization in Case of Loss of
The MAX9257 serializes 10, 12, 14, 16, and 18 bits with
the addition of two encoding bits for AC-coupling. The
MAX9258 deserializer links with the MAX9257 to deseri-
alize a maximum of 20 (data + encoding) bits per
pixel/parallel clock period for a maximum serial-data
rate of 840Mbps. The word length can be adjusted to
accommodate a higher pixel/parallel clock frequency.
The pixel clock can vary from 5MHz to 70MHz, depend-
ing on the serial-word length. Enabling parity adds two
parity bits to the serial word. The encoding bits reduce
ISI and allow AC-coupling.
Lock
♦ MAX9257 Parallel Clock Jitter Filter PLL with
Bypass
♦ DC-Balanced Coding Allows AC-Coupling
♦ 5 Levels of Preemphasis for Up to 20m STP Cable
Drive
♦ Integrity Test Using On-Chip Programmable
PRBS Generator and Checker
♦ LVDS I/O Meet ISO 10605 ESD Protection (±10kV
The MAX9258 receives programming instructions from
the electronic control unit (ECU) during the control
channel and transmits to the MAX9257 over the serial
video link. The instructions can program or update the
MAX9257, MAX9258, or an external peripheral device,
such as a camera. The MAX9257 communicates with
the peripheral device with I2C or UART.
Contact and ±±0kV Air Dischargeꢀ
♦ LVDS I/O Meet IEC 61000-4-2 ESD Protection
(±8kV Contact and ±20kV Air Dischargeꢀ
♦ LVDS I/O Meet ±200V Machine Model ESD
Protection
♦ -40°C to +105°C Operating Temperature Range
The MAX9257/MAX9258 operate from a +3.3V core
supply and feature separate supplies for interfacing to
+1.8V to +3.3V logic levels. These devices are avail-
able in 40-lead TQFN or 48-pin LQFP packages. These
devices are specified over the -40°C to +105°C temper-
ature range.
♦ Space-Saving, 40-Pin TQFN (5mm x 5mmꢀ with
Exposed Pad or 48-Pin LQFP Packages
♦ +±.±V Core Supply
Ordering Information
PART
TEMP RANGE
-40°C to +105°C
-40°C to +105°C
-40°C to +105°C
PIN-PACKAGE
40 TQFN-EP*
48 LQFP
Applications
MAX9257GTL/V+
MAX9257GCM/V+
MAX9258GCM/V+
Automotive Cameras
Industrial Cameras
48 LQFP
Navigation Systems Display
In-Vehicle Entertainment Systems
/V denotes an automotive qualified part.
+Denotes a lead(Pb)-free/RoHS-compliant package.
*EP = Exposed pad.
Typical Operating Circuit and Pin Configurations appear at
end of data sheet.
________________________________________________________________ Maxim Integrated Products
1
For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642,
or visit Maxim’s website at www.maxim-ic.com.
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
ABSOLUTE MAXIMUM RATINGS
CC
Any Ground to Any Ground...................................-0.5V to +0.5V
V
_ to GND .........................................................-0.5V to +4.0V
ESD Protection
Human Body Model (R = 1.5kΩ, C = 100pF)
D
S
SDI+, SDI-, SDO+, SDO- to GND..........................-0.5V to +4.0V
All Pins to GND .............................................................. 3kV
SDO+, SDO- Short Circuit to GND or V
.........Continuous
IEC 61000-4-2 (R = 330Ω, C = 150pF)
CCLVDS
D
S
DIN[0:15], GPIO[0:9], PCLK_IN, HSYNC_IN, VSYNC_IN,
Contact Discharge
(SDI+, SDI-, SDO+, SDO-) to GND................................ 8kV
Air Discharge
SCL/TX, SDA/RX, REM to GND............-0.5V to (V
+ 0.5V)
CCIO
DOUT[0:15], PCLK_OUT, HSYNC_OUT, VSYNC_OUT, RX,
LOCK, TX, PD, ERROR to GND ........-0.5V to (V
+ 0.5V)
(SDI+, SDI-, SDO+, SDO-) to GND.............................. 20kV
CCOUT
Continuous Power Dissipation (T = +70°C)
ISO 10605 (R = 2kΩ, C = 330pF)
D
A
S
40-Lead TQFN
Contact Discharge
(SDI+, SDI-, SDO+, SDO-) to GND.............................. 10kV
Air Discharge
Multilayer PCB (derate 35.7mW/°C above +70°C) .....2857mW
48-Lead LQFP
Multilayer PCB (derate 21.7mW/°C above +70°C) .....1739mW
(SDI+, SDI-, SDO+, SDO-) to GND.............................. 30kV
Machine Model (R = 0Ω, C = 200pF)
Junction-to-Case Thermal Resistance (θ ) (Note 1)
JC
D
S
40-Lead TQFN .............................................................1.7°C/W
48-Lead LQFP...............................................................10°C/W
All Pins to GND ............................................................ 200V
Storage Temperature Range.............................-65°C to +150°C
Junction Temperature......................................................+150°C
Lead Temperature (soldering, 10s) .................................+300°C
Junction-to-Ambient Thermal Resistance (θ ) (Note 1)
JA
40-Lead TQFN ..............................................................28°C/W
48-Lead LQFP...............................................................46°C/W
7/MAX9258
Note 1: Package thermal resistances were obtained using the method described in JDEC specification JESD51-7, using a 4-layer
board. For detailed information on package thermal considerations, refer to www.maxim-ic.com/thermal-tutorial.
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
MAX9257 DC ELECTRICAL CHARACTERISTICS
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V,
CC_
L
A
CC_
T
A
= +25°C.) (Notes 2, 3)
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
SINGLE-ENDED INPUTS
0.65 x
V
V
+
+
+
CCIO
0.3
V
V
= +1.71V to +3V
CCIO
CCIO
V
CCIO
CCIO
0.3
High-Level Input Voltage
V
= +3V to +3.6V
2
V
V
IH
V
CC
REM input
2
0
0.3
0.3 x
CCIO
V
V
= +1.71V to +3V
= +3V to +3.6V
CCIO
CCIO
V
Low-Level Input Voltage
V
IL
0
0
0.8
REM input
0.8
V
V
= 0 to V
CCIO
IN
-20
-20
+20
= +1.71V to +3.6V
CCIO
Input Current
I
µA
V
IN
V
= 0 to V
REM input
+20
-1.5
IN
CC,
Input Clamp Voltage
V
I
CL
= -18mA
CL
SINGLE-ENDED OUTPUTS
V
V
-
CCIO
0.1
I
I
= -100µA
= -2mA
OH
High-Level Output Voltage
V
V
OH
-
CCIO
0.35
OH
2
_______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9257 DC ELECTRICAL CHARACTERISTICS (continuedꢀ
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V,
CC_
L
A
CC_
T
A
= +25°C.) (Notes 2, 3)
PARAMETER
Low-Level Output Voltage
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
I
I
= 100µA
= 2mA
0.1
0.3
-10
44
OL
V
V
OL
OL
Shorted to GND
Shorted to V
-44
10
Output Short-Circuit Current
I
mA
OS
CC_
2
I C/UART I/O
Input Leakage Current
I
V = V
I
-1
+1
µA
V
ILKG
CC
0.7 x
High-Level Input Voltage SDA/RX
V
IH2
V
CC
0.3 x
Low-Level Input Voltage SDA/RX
V
V
V
IL2
V
CC
Low-Level Output Voltage
SCL, SDA
V
R
= 1.6kΩ
0.4
OL2
PULLUP
LVDS OUTPUTS (SDO+, SDO-ꢀ
Differential Output Voltage
V
250
1.050
-15
350
460
20
mV
mV
V
OD
Change in V
Between
OD
ΔV
OD
Complementary Output States
Preemphasis off
(Figure 1)
Common-Mode Voltage
V
1.25
1.375
20
OS
Change in V Between
OS
Complementary Output States
ΔV
mV
mA
mA
OS
Output Short-Circuit Current
I
V
V
or V = 0 or 3.6V
SDO-
+15
15
OS
SDO+
Magnitude of Differential Output
Short-Circuit Current
I
= 0
OD
OSD
CONTROL CHANNEL TRANSCEIVER
Differential Output Voltage
V
250
25
350
90
460
135
mV
mV
OD
V
Differential low-to-high threshold
Differential high-to-low threshold
HYST+
Input Hysteresis
(Figure 2)
V
-25
-90
-135
HYST-
_______________________________________________________________________________________
±
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9257 DC ELECTRICAL CHARACTERISTICS (continuedꢀ
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V,
CC_
L
A
CC_
T
A
= +25°C.) (Notes 2, 3)
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
POWER SUPPLY
2ꢀ spread, preemphasis off,
PRATE = 60MHz, SRATE = 840Mbps
104
99
126
121
No spread, preemphasis off,
PRATE = 60MHz, SRATE = 840Mbps
No spread, preemphasis = 20ꢀ,
PRATE = 60MHz, SRATE = 840Mbps
99
108
110
78
120
127
129
96
No spread, preemphasis = 60ꢀ,
PRATE = 60MHz, SRATE = 840Mbps
No spread, preemphasis = 100ꢀ,
PRATE = 60MHz, SRATE = 840Mbps
2ꢀ spread, preemphasis off,
PRATE = 28.57MHz, SRATE = 400Mbps
7/MAX9258
No spread, preemphasis off,
PRATE = 28.57MHz, SRATE = 400Mbps
77
86
55
94
105
68
No spread, preemphasis = 100ꢀ,
PRATE = 28.57MHz, SRATE = 400Mbps
2ꢀ spread, preemphasis off,
PRATE = 14.29MHz, SRATE = 200Mbps
mA
Worst-Case Supply Current
(Figure 3)
C = 8pF, 12 bits
L
I
CCW
No spread, preemphasis off,
PRATE = 14.29MHz, SRATE = 200Mbps
54
67
No spread, preemphasis = 100ꢀ,
PRATE = 14.29MHz, SRATE = 200Mbps
59
44
43
73
55
54
2ꢀ spread, preemphasis off,
PRATE = 7.14MHz, SRATE = 100Mbps
No spread, preemphasis off,
PRATE = 7.14MHz, SRATE = 100Mbps
No spread, preemphasis = 100ꢀ,
PRATE = 7.14MHz, SRATE = 100Mbps
46
34
34
36
57
43
42
2ꢀ spread, preemphasis off,
PRATE = 5MHz, SRATE = 70Mbps
No spread, preemphasis off,
PRATE = 5MHz, SRATE = 70Mbps
No spread, preemphasis = 100ꢀ,
PRATE = 5MHz, SRATE = 70Mbps
45
92
Sleep Mode Supply Current
I
Sleep mode
µA
CCS
4
_______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9257 AC ELECTRICAL CHARACTERISTICS
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V,
CC_
L
A
CC_
T
A
= +25°C.) (Notes 5, 9)
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
PCLK_IN TIMING REQUIREMENTS
Clock Period
t
14.28
5
200.00
ns
MHz
ꢀ
T
Clock Frequency
f
1/t
70
65
4
CLK
T
Clock Duty Cycle
DC
t , t
t
/t or t
/t
LOW T
35
50
HIGH T
Clock Transition Time
SWITCHING CHARACTERISTICS
LVDS Output Rise Time
LVDS Output Fall Time
(Figure 7)
ns
R
F
t
20ꢀ to 80ꢀ (Figure 4)
20ꢀ to 80ꢀ (Figure 4)
315
315
970
1140
386
370
370
ps
ps
R
t
F
t
t
, t
642
810
290
0
1390
1420
490
R1A F1A
Control Transceiver Transition
Time
20ꢀ to 80ꢀ (Figure 16)
ps
t
, t
R2 F2
, t
R1B F1B
Input Setup Time
Input Hold Time
t
(Figure 5)
(Figure 5)
ns
ns
S
t
3
H
(4.55 x t
T) +
t
t
Spread off (Figure 6)
PSD1
11
Parallel-to-Serial Delay
ns
ns
(36.55 x t
11
T) +
4ꢀ spread
PSD2
32,768 x
PLL Lock Time
Random Jitter
t
Combined FPLL and SPLL; PCLK_IN stable
LOCK
t
T
420MHz LVDS output, spread off,
FPLL = bypassed
ps
(RMS)
t
12
RJ
DJ
18
2
- 1 PRBS, SRATE = 840Mbps, 18 bits,
Deterministic Jitter
SCL/TX, SDA/RX
Rise Time
t
142
ps (P-P)
no spread
R
R
= 10kΩ
= 1.6kΩ
400
60
PULLUP
0.3 x V
to 0.7 x
CC
t
ns
ns
RS
V
, C = 30pF
CC L
PULLUP
Fall Time
t
0.7 x V
to 0.3 x V
C = 30pF
L
40
FS
CC
CC,
95kbps to 400kbps
100
50
400kbps to 1000kbps
1000kbps to 4250kbps
Pulse Width of Spike Suppressed
in SDA
t
ns
SPK
10
DC to 10Mbps (bypass mode)
400kbps
10
100
60
Data Setup Time
Data Hold Time
t
ns
ns
SETUP
4.25Mbps, C = 10pF
L
400kbps
100
0
t
HOLD
4.25Mbps, C = 10pF
L
I2C TIMING (Note 8ꢀ
Maximum SCL Clock Frequency
Minimum SCL Clock Frequency
Start Condition Hold Time
f
f
4.25
95
MHz
kHz
µs
SCL
SCL
t
(Figure 30)
0.6
HD:STA
_______________________________________________________________________________________
5
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9257 AC ELECTRICAL CHARACTERISTICS (continuedꢀ
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V,
CC_
L
A
CC_
T
A
= +25°C.) (Notes 5, 9)
PARAMETER
SYMBOL
CONDITIONS
MIN
1.1
TYP
MAX
UNITS
µs
Low Period of SCL Clock
High Period of SCL Clock
t
(Figure 30)
(Figure 30)
LOW
t
0.6
µs
HIGH
Repeated START Condition
Setup Time
t
(Figure 30)
0.5
µs
SU:STA
Data Hold Time
Data Setup Time
t
(Figure 30)
(Figure 30)
(Figure 30)
(Figure 30)
0
0.9
µs
ns
µs
µs
HD:DAT
t
100
0.5
1.1
SU:DAT
SU:STO
Setup Time for STOP Condition
Bus Free Time
t
t
BUF
MAX9258 DC ELECTRICAL CHARACTERISTICS
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, differential input voltage ꢁV ꢁ = 0.05V to 1.2V, input common-mode voltage V
= ꢁV /2ꢁ to
CM ID
CC_
L
ID
V
- ꢁV /2ꢁ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +25°C.) (Notes 2, 3)
= +3.3V, ꢁV ꢁ = 0.2V, V = 1.2V,
CC
ID
A
CC_
ID
CM
7/MAX9258
T
A
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
SINGLE-ENDED INPUTS
High-Level Input Voltage
Low-Level Input Voltage
V
2.0
0
V
V
V
IH
CC
V
0.8
+60
+20
-1.5
IL
TXIN
-60
-20
Input Current
I
IN
V
= 0 to V
µA
V
IN
CC
PD
Input Clamp Voltage
V
I
CL
= -18mA
CL
SINGLE-ENDED OUTPUTS
V
V
-
-
CCOUT
0.1
I
I
= -100µA
= -2mA
OH
High-Level Output Voltage
V
V
OH
CCOUT
0.35
OH
I
I
= 100µA
= 2mA
0.1
0.3
OL
Low-Level Output Voltage
V
V
OL
OZ
OS
OL
High-Impedance Output Current
Output Short-Circuit Current
I
I
PD = low, V = 0 to V
-1
+1
µA
mA
O
CCOUT
V
= 0V (Note 4)
-16
-22
-65
-80
O
PCLK_OUT, V = 0V
O
OPEN-DRAIN OUTPUTS
Output Low Voltage
V
V
V
V
V
= +3V, I = 6.4mA
0.55
0.3
1
V
V
OL
OL
CCOUT
CCOUT
OL
Output Low Voltage
= +1.71V, I = 1.95mA
OL
Leakage Current
I
= 0 or V
µA
LEAK
O
CC
LVDS INPUTS (SDI+, SDI-ꢀ
Differential Input High Threshold
Differential Input Low Threshold
Input Current
V
50
mV
mV
µA
µA
TH
V
-50
-60
-70
TL
I
I
+60
+70
IN+, IN-
Power-Off Input Current
I
I
V
= 0 or open
CC_
INO+, INO-
CONTROL CHANNEL TRANSCEIVER
Differential Output Voltage
V
250
460
mV
OD
6
_______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9258 DC ELECTRICAL CHARACTERISTICS (continuedꢀ
(V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, differential input voltage ꢁV ꢁ = 0.05V to 1.2V, input common-mode voltage V
= ꢁV /2ꢁ to
CM ID
CC_
L
ID
V
- ꢁV /2ꢁ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +25°C.) (Notes 2, 3)
= +3.3V, ꢁV ꢁ = 0.2V, V = 1.2V,
CC
ID
A
CC_
ID
CM
T
A
PARAMETER
SYMBOL
CONDITIONS
Differential low-to-high threshold
Differential high-to-low threshold
MIN
25
TYP
90
MAX
135
UNITS
V
Input Hysteresis
(Figure 2)
HYST+
mV
V
-25
-90
-135
HYST-
POWER SUPPLY
4ꢀ spread, PRATE = 60MHz,
SRATE = 840Mbps
85
71
67
57
55
46
42
128
115
102
84
Spread off, PRATE = 60MHz,
SRATE = 840Mbps
4ꢀ spread, PRATE = 28.57MHz,
SRATE = 400Mbps
Spread off, PRATE = 28.57MHz,
SRATE = 400Mbps
Worst-Case Supply Current
C = 8pF, 12 bits
L
I
mA
CCW
4ꢀ spread, PRATE = 14.29MHz,
SRATE = 200Mbps
(Figure 8)
82
Spread off, PRATE = 14.29MHz,
SRATE = 200Mbps
67
4ꢀ spread, PRATE = 5MHz,
SRATE = 70Mbps
57
Spread off, PRATE = 5MHz,
SRATE = 70Mbps
34
10
49
50
Power-Down Supply Current
I
PD = low
µA
CCZ
MAX9258 AC ELECTRICAL CHARACTERISTICS
V
V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, C = 8pF, differential input voltage ꢁV ꢁ = 0.1V to 1.2V, input common-mode voltage
L L ID
CC_
CM
= ꢁV /2ꢁ to V
- ꢁV /2ꢁ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V, ꢁV ꢁ = 0.2V, V
=
ID
CC
ID
A
CC_
ID
CM
1.2V, T = +25°C. (Notes 5, 6, and 7)
A
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
SWITCHING CHARACTERISTICS
Output Transition Time
t
t
t
t
t
(Figure 9)
(Figure 9)
0.7
0.5
1.0
0.7
2.2
1.5
2.8
2.2
ns
ns
ns
ns
R, F
Output Transition Time,
PCLK_OUT
t
R, F
Output Transition Time
t
V
V
= 1.71V (Figure 9)
= 1.71V (Figure 9)
R, F
CCOUT
CCOUT
Output Transition Time,
PCLK_OUT
t
R, F
t
t
t
R1A, F1A,
Control Channel Transition Time
Control Channel Transition Time
PCLK_OUT High Time
(Figure 16)
(Figure 16)
(Figure 10)
0.5
1.2
ns
ns
ns
t
R1B, F1B
t
t
0.6
1.3
R2, F2
0.4 x
0.6 x
t
T
t
HIGH
t
T
0.4 x
0.6 x
t
T
PCLK_OUT Low Time
t
(Figure 10)
ns
LOW
t
T
_______________________________________________________________________________________
7
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9258 AC ELECTRICAL CHARACTERISTICS (continuedꢀ
V
V
= +3.0V to +3.6V, R = 50Ω 1ꢀ, C = 8pF, differential input voltage ꢁV ꢁ = 0.1V to 1.2V, input common-mode voltage
L L ID
CC_
CM
= ꢁV /2ꢁ to V
- ꢁV /2ꢁ, T = -40°C to +105°C, unless otherwise noted. Typical values are at V
= +3.3V, ꢁV ꢁ = 0.2V, V
=
ID
CC
ID
A
CC_
ID
CM
1.2V, T = +25°C. (Notes 5, 6, and 7)
A
PARAMETER
SYMBOL
CONDITIONS
MIN
0.35 x
TYP
MAX
UNITS
Data Valid Before PCLK_ OUT
t
(Figure 11)
(Figure 11)
ns
DVB
DVA
t
T
0.35 x
Data Valid After PCLK_OUT
Serial-to-Parallel Delay
t
ns
ns
t
T
t
t
Spread off (Figure 14)
4ꢀ spread
8t
T
SPD1
40t
SPD2
T
Power-Up Delay
t
(Figure 12)
100
100
ns
ns
PUD
PDD
Power-Down to High Impedance
t
(Figure 13)
Each half of the UI, 12 bit,
SRATE = 840Mbps, PRBS No spread
pattern (Figure 15)
Jitter Tolerance
t
JT
0.25
0.30
UI
7/MAX9258
Note 2: Current into a pin is defined as positive. Current out of a pin is defined as negative. All voltages are referenced to ground
except V and VTL.
TH
Note ±: Maximum and minimum limits over temperature are guaranteed by design and characterization. Devices are production
tested at T = +105°C.
A
Note 4: One output at a time.
Note 5: AC parameters are guaranteed by design and characterization, and are not production tested.
Note 6: C includes probe and test jig capacitance.
L
Note 7: t is the period of the PCLK_OUT.
T
Note 8: For high-speed mode timing, see the Detailed Description section.
Note 9: I2C timing parameters are specified for fast-mode I2C. Max data rate = 400kbps.
Typical Operating Characteristics
(V
= +3.3V, R = 50Ω, C = 8pF, T = +25°C, unless otherwise noted.)
L L A
CC_
MAX9257 SUPPLY CURRENT
vs. FREQUENCY
MAX9257 SUPPLY CURRENT
vs. FREQUENCY
MAX9258 SUPPLY CURRENT
vs. FREQUENCY
120
140
120
100
80
120
100
80
60
40
20
0
PRBS PATTERN
18-BIT
PRBS PATTERN
10-BIT
PRBS PATTERN
18-BIT
100
80
60
40
20
0
100% PREEMPHASIS
4% SPREAD
100% PREEMPHASIS
60
NO SPREAD
NO PREEMPHASIS
NO PREEMPHASIS
40
20
0
5
10 15 20 25 30 35 40 45
PCLK FREQUENCY (MHz)
5
15
25
35
45
55
65
75
5
10 15 20 25 30 35 40 45
PCLK FREQUENCY (MHz)
PCLK FREQUENCY (MHz)
8
_______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Typical Operating Characteristics (continued)
(V
= +3.3V, R = 50Ω, C = 8pF, T = +25°C, unless otherwise noted.)
L L A
CC_
SERIAL LINK SWITCHING PATTERN WITH
PREEMPHASIS (BIT RATE = 840MHz, 2m STP CABLE)
(PREEMPHASIS = 100%)
MAX9258 SUPPLY CURRENT
vs. FREQUENCY
SERIAL LINK SWITCHING PATTERN WITHOUT
PREEMPHASIS (BIT RATE = 840MHz, 2m STP CABLE)
120
100
80
60
40
20
0
PRBS PATTERN
10-BIT
4% SPREAD
NO SPREAD
5
10 15 20 25 30 35 40 45
PCLK FREQUENCY (MHz)
MAX9258 OUTPUT POWER
MAX9257 OUTPUT POWER
MAX9257 OUTPUT POWER
SPECTRUM vs. PCLK FREQUENCY
SPECTRUM vs. PCLK FREQUENCY
SPECTRUM vs. PCLK FREQUENCY
20
20
10
20
10kHz BW
4% SPREAD
NO SPREAD
2% SPREAD
10kHz BW
NO SPREAD
10kHz BW
NO SPREAD
0
0
4% SPREAD
0
2% SPREAD
2% SPREAD
-10
-20
-30
1.5% SPREAD
-20
-20
-40
-60
-80
-40
-50
-60
-70
-80
-40
-60
-80
38
40
42
44
46
18
19
20
21
22
38
40
42
44
46
PCLK FREQUENCY (MHz)
PCLK FREQUENCY (MHz)
PCLK FREQUENCY (MHz)
BIT ERROR RATE (< 10-9) vs.
CABLE LENGTH
BIT ERROR RATE (< 10-9) vs.
CABLE LENGTH
900
800
900
800
NO SPREAD
STP CABLE
2% SPREAD ON
MAX9257, STP CABLE
700
700
100% PREEMPHASIS
NO PREEMPHASIS
100% PREEMPHASIS
NO PREEMPHASIS
600
500
400
600
500
400
-12
-12
BER CAN BE AS LOW AS 10 FOR
CABLE LENGTHS LESS THAN 10m.
BER CAN BE AS LOW AS 10 FOR
CABLE LENGTHS LESS THAN 10m.
0
2
4
6
8
10 12 14 16 18 20
0
2
4
6
8
10 12 14 16 18 20
CABLE LENGTH (m)
CABLE LENGTH (m)
_______________________________________________________________________________________
9
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9257 Pin Description
PIN
NAME
FUNCTION
TQFN
LQFP
Single-Ended Input/Output Buffer Supply Voltage. Bypass V
to GND with 0.1µF and
CCIO
1, 18
2, 21
V
0.001µF capacitors in parallel as close as possible to the device with the smallest value
capacitor closest to V
CCIO
.
CCIO
2, 11,
19, 34
3, 14,
22, 41
GND
Digital Supply Ground
Data Input/General Purpose Input/Output. When a serial-data word is less than 18 bits
word length, DIN_ not programmed as data inputs becomes GPIO (Table 22). DIN[9:14]
are internally pulled down to ground.
DIN[9:14]/
GPIO[1:6]
3–8
9
4–9
10
GND
Filter PLL Ground
FPLL
Filter PLL Supply Voltage. Bypass V
to GND
with 0.1µF and 0.001µF capacitors
CCFPLL
FPLL
in parallel as close as possible to the device with the smallest value capacitor closest to
10
11
V
CCFPLL
V
.
CCFPLL
Data Input/General Purpose Input/Output. When a serial-data word is less than 18 bits
word length, DIN_ not programmed as data input becomes GPIO (Table 22). DIN15 is
internally pulled down to ground.
7/MAX9258
12
15
DIN15/GPIO7
13
14
16
17
HSYNC_IN
VSYNC_IN
Horizontal SYNC Input. HSYNC_IN is internally pulled down to ground.
Vertical SYNC Input. VSYNC_IN is internally pulled down to ground.
Parallel Clock Input. PCLK_IN latches data and sync inputs and provides the PLL reference
clock. PCLK_IN is internally pulled down to ground.
15
16
18
19
PCLK_IN
SCL/TX
2
Open-Drain Control Channel Output. SCL/TX becomes SCL output when UART-to-I C is
2
active. SCL/TX becomes TX output when UART-to-I C is bypassed. Externally pull up to V
.
CC
Open-Drain Control Channel Input/Output. SDA/RX becomes bidirectional SDA when
2
2
17
20
SDA/RX
UART-to-I C is active. SDA/RX becomes RX input when UART-to-I C is bypassed. SDA
output requires a pullup to V
.
CC
Digital Supply Voltage. Bypass V
as close as possible to the device with the smallest value capacitor closest to V
to ground with 0.1µF and 0.001µF capacitors in parallel
CC
20, 33
23, 40
V
CC
.
CC
21
22
26
27
GPIO8
GPIO9
General Purpose Input/Output
General Purpose Input/Output
Spread PLL Supply Voltage. Bypass V
to GND
with 0.1µF and 0.001µF
SPLL
CCSPLL
23
28
V
capacitors in parallel as close as possible to the device with the smallest value capacitor
closest to V
CCSPLL
.
CCSPLL
24
25
26
27
29
30
31
32
GND
SPLL Ground
LVDS Ground
SPLL
GND
LVDS
SDO-
Serial LVDS Inverting Output
SDO+
Serial LVDS Noninverting Output
LVDS Supply Voltage. Bypass V
to GND
with 0.1µF and 0.001µF capacitors in
LVDS
CCLVDS
28
33
V
parallel as close as possible to the device with the smallest value capacitor closest to
CCLVDS
V
.
CCLVDS
10 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9257 Pin Description (continued)
PIN
NAME
REM
FUNCTION
TQFN
LQFP
Remote Power-Up/Power-Down Select Input. Connect REM to ground for power-up to
29
34
follow V . Connect REM high to V
through 10kΩ resistor for remote power-up. REM is
CC
CC
internally pulled down to GND.
30, 31, 32,
35–39
35, 38,
39, 42–46
DIN[0:7]
Data Inputs. DIN[0:7] are internally pulled down to ground.
Data Input/General Purpose Input/Output. When a serial-data word is less than 18 bits
40
47
DIN8/GPIO0 word length, DIN_ not programmed as data input becomes GPIO (Table 22). DIN8 is
internally pulled down to ground.
1, 12, 13
24, 25,
36, 37, 48
—
—
N.C.
EP
No Connection. Not internally connected.
—
Exposed Pad for Thin QFN Package Only. Connect EP to ground.
MAX9258 Pin Description
PIN
NAME
FUNCTION
1, 12, 13, 24,
25, 36,
37
N.C.
No Connection. Not internally connected.
Digital Supply Voltage. Bypass V to GND with 0.1µF and 0.001µF capacitors in parallel as close
CC
2
V
CC
as possible to the device with the smallest value capacitor closest V
.
CC
3, 14
GND
Digital Supply Ground
LVCMOS/LVTTL Power-Down Input. Drive PD high to power up the device and enable all outputs.
Drive PD low to put all outputs in high impedance and reduce supply current. PD is internally pulled
down to ground.
4
PD
LVDS Supply Voltage. Bypass V
as close as possible to the device with the smallest value capacitor closest to V
to GND
with 0.1µF and 0.001µF capacitors in parallel
LVDS
CCLVDS
5
V
CCLVDS
.
CCLVDS
6
7
8
9
SDI-
Serial LVDS Inverting Input
SDI+
Serial LVDS Noninverting Input
GND
LVDS Supply Ground
LVDS
GND
PLL Supply Ground
PLL
PLL Supply Voltage. Bypass V
close to the device as possible with the smallest value capacitor closest to V
to GND
with 0.1µF and 0.001µF capacitors in parallel as
PLL
CCPLL
10
V
CCPLL
.
CCPLL
Active-Low, Open-Drain Error Output. ERROR asserts low to indicate a data transfer error was
detected (parity, PRBS, or UART control channel error). ERROR is high to indicate no error detected.
ERROR resets when the error registers are read for parity, control channel errors, and when PRBS
11
15
ERROR
enable bit is reset for PRBS errors. Pull up to V
with a 1kΩ resistor.
CCOUT
RX
LVCMOS/LVTTL Control Channel UART Output
______________________________________________________________________________________ 11
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9258 Pin Description (continued)
PIN
NAME
FUNCTION
16
TX
LVCMOS/LVTTL Control Channel UART Input. TX is internally pulled up to V
.
CCOUT
Open-Drain Lock Output. LOCK asserts high to indicate PLLs are locked with correct serial-word
boundary alignment. LOCK asserts low to indicate PLLs are not locked or incorrect serial-word
17
LOCK
boundary alignment was detected. Pull up to V
with a 1kΩ resistor.
CCOUT
18
19
20
PCLK_OUT LVCMOS/LVTTL Recovered Clock Output
VSYNC_OUT LVCMOS/LVTTL Vertical SYNC Output
HSYNC_OUT LVCMOS/LVTTL Horizontal SYNC Output
21, 28–35,
40–46
DOUT[15:0] LVCMOS/LVTTL Data Outputs
Output Supply Voltage. V
is the supply for all output buffers. Bypass V
to GND
with
OUT
CCOUT
CCOUT
22, 39
23, 38, 48
26
V
0.1µF and 0.001µF capacitors in parallel as close as possible to the device with the smallest value
capacitor closest to V
CCOUT
.
CCOUT
GND
Output Supply Ground
Spread-Spectrum PLL Supply Voltage. Bypass V
OUT
7/MAX9258
to GND
with 0.1µF and 0.001µF
SPLL
CCSPLL
capacitors in parallel as close as possible to the device with the smallest value capacitor closest to
V
CCSPLL
V
.
CCSPLL
27
47
GND
SPLL Ground
SPLL
LVCMOS/LVTTL Control Channel Enabled Output. CCEN asserts high to indicate that control
channel is enabled.
CCEN
12 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
R /2
L
SDO+
V
OD
SDO-
V
OS
R /2
L
GND
((SDO+) + (SDO-))/2
SDO-
SDO+
V
OS
(-)
V (+)
OS
V
OS
(-)
ΔV = |V (+) - V (-)|
OS
OS
OS
V
OD
(+)
V
OD
= 0V
V
OD
(-)
V
OD
(-)
ΔV = |V (+) - V (-)|
OD
OD
OD
(SDO+) - (SDO-)
Figure 1. MAX9257 LVDS DC Output Parameters
V
OUT
PCLK_IN
DIN
V
V
HYST-
HYST+
NOTE: PCLK_IN PROGRAMMED FOR RISING LATCH EDGE.
-V
ID
+V
ID
V
ID
= 0V
Figure 2. Input Hysteresis
Figure 3. MAX9257 Worst-Case Pattern Input
______________________________________________________________________________________ 1±
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
SDO+
R
L
SDO-
C
L
C
L
80%
80%
20%
20%
(SDO+) - (SDO-)
t
t
FALL
RISE
7/MAX9258
Figure 4. MAX9257 LVDS Control Channel Output Load and Output Rise/Fall Times
V
IHMIN
PCLK_IN
V
ILMAX
t
t
HOLD
SET
V
V
V
V
IHMIN
IHMIN
DIN, VSYNC_IN, HSYNC_IN
ILMAX
ILMAX
NOTE: PCLK_IN PROGRAMMED FOR RISING LATCHING EDGE.
Figure 5. MAX9257 Input Setup and Hold Times
14 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
EXPANDED TIME SCALE
DIN, HSYNC_IN,
N
N+2
N+3
N+4
N+1
VSYNC_IN
PCLK_IN
SDO
N-1
N
t
PSD1
FIRST BIT
LAST BIT
Figure 6. MAX9257 Parallel-to-Serial Delay
t
T
V
IHMIN
t
HIGH
PCLK_IN
V
ILMAX
t
R
t
F
t
LOW
Figure 7. MAX9257 Parallel Input Clock Requirements
PCLK_OUT
C
L
MAX9258
SINGLE-ENDED OUTPUT LOAD
DOUT
0.9 x V
CCOUT
NOTE: PCLK_OUT PROGRAMMED FOR RISING LATCH EDGE.
Figure 8. MAX9258 Worst-Case Pattern Output
0.1 x V
CCOUT
t
R
t
F
Figure 9. MAX9258 Output Rise and Fall Times
______________________________________________________________________________________ 15
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
t
T
V
OHMIN
t
HIGH
PCLK_OUT
V
OLMAX
t
LOW
Figure 10. MAX9258 Clock Output High and Low Time
V
OHMIN
PCLK_OUT
V
OLMAX
7/MAX9258
t
t
DVB
DVA
V
V
OHMIN
DOUT, VSYNC_OUT,
HSYNC_OUT, LOCK
OLMAX
NOTE: PCLK_OUT PROGRAMMED FOR RISING LATCHING EDGE.
Figure 11. MAX9258 Output Data Valid Times
V
IHMIN
PD
PD
V
ILMAX
t
PUD
t
PDD
DOUT,
VSYNC,
HSYNC
HIGH IMPEDANCE
POWERED DOWN
POWERED UP
(OUTPUTS ACTIVE)
POWERED UP
POWERED DOWN
Figure 12. MAX9258 Power-Up Delay
Figure 13. MAX9258 Power-Down Delay
16 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
SERIAL-WORD LENGTH
SERIAL WORD N
SERIAL WORD N+1
SERIAL WORD N+2
SDI
FIRST BIT
LAST BIT
DOUT,
HSYNC_OUT,
VSYNC_OUT
PARALLEL WORD N-1
PARALLEL WORD N
PARALLEL WORD N-2
PCLK_OUT
t
SPD1
NOTE: PCLK_OUT PROGRAMMED FOR RISING LATCHING EDGE.
Figure 14. MAX9258 Serial-to-Parallel Delay
INPUT TEMPLATE FOR LVDS SERIAL
V
SDI+
- V
SDI-
+100mV
0V
-100mV
+25mV
-25mV
t
JT
t
S
t
S
t
JT
0.0UI
0.25UI
0.50UI
0.75UI
1.0UI
NOTE: UI IS ONE SERIAL BIT. TIME INPUT IS MEASURED DIFFERENTIALLY (V
- V ).
SDI-
SDI+
Figure 15. MAX9258 Jitter Tolerance
1
0
0.8V
0.8V
OD(+)
OD(+)
0.8 x | V
+ V
OD(-)
|
0.8 x | V
+ V
OD(-)
|
OD(+)
OD(+)
0.2V
0.2V
OD(+)
OD(+)
(SDO+) - (SDO-)
0.2V
0.8V
0.2V
0.8V
OD(-)
OD(-)
t
t
F1B
R1A
0.2 x | V
+ V
OD(-)
|
0.2 x | V
+ V
OD(-)
|
OD(+)
OD(+)
OD(-)
OD(-)
t
F2
t
R2
t
t
F1A
R1B
Figure 16. Control Channel Transition Time
______________________________________________________________________________________ 17
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
ECU
CAMERA
MAX9257
SERIALIZER
MAX9258
VIDEO DATA
VIDEO DATA
PIXEL CLOCK
HSYNC_OUT
VSYNC_OUT
PIXEL CLOCK
HSYNC_IN
DESERIALIZER
100Ω
100Ω
VSYNC_IN
GPIO
PD
CCEN
ERROR
LOCK
RX
TX
SDA
SCL
UART-
TO-I C
2
UART
UART
I C
2
Figure 17. Serial Link with I2C Camera Programming Interface (Base Mode)
7/MAX9258
ECU
CAMERA
MAX9257
SERIALIZER
MAX9258
VIDEO DATA
VIDEO DATA
PIXEL CLOCK
HSYNC_OUT
VSYNC_OUT
PIXEL CLOCK
HSYNC_IN
DESERIALIZER
100Ω
100Ω
VSYNC_IN
GPIO
PD
CCEN
ERROR
LOCK
RX
TX
RX
TX
UART
UART
UART
UART
Figure 18. Serial Link with UART Camera Programming Interface (Bypass Mode)
deserializing programmable 10, 12, 14, 16, and 18 bits
parallel data during the video phase. The MAX9257/
MAX9258 have two phases of operation: video and
control channel (Figures 19 and 20). During the video
phase, the MAX9257 accepts parallel video data and
transmits serial encoded data over the LVDS link. The
MAX9258 accepts the encoded serial LVDS data and
converts it back to parallel output data. The MAX9257
has dedicated inputs for HSYNC and VSYNC. The
selected VSYNC edge causes the MAX9257/MAX9258
to enter the control channel phase. Nonactive VSYNC
edge can be asserted after eight pixel clock cycles.
Detailed Description
The MAX9257 serializer pairs with the MAX9258 deseri-
alizer to form a complete digital video serial link. The
electronic control unit (ECU) programs the registers in
the MAX9257, MAX9258, and peripheral devices, such
as a camera, during the control channel phase that
occurs at startup or during the vertical blanking time.
All control channel communication is half-duplex. The
UART communication between the MAX9258 and the
MAX9257 is encoded to allow transmission through AC-
coupling capacitors. The MAX9257 communicates to
the peripheral device through UART or I2C.
The video data are coded using two overhead bits
(EN0 and EN1) resulting in a serial-word length of N+2
bits. The MAX9257/MAX9258 feature programmable
The MAX9257/MAX9258 DC-balanced serializer and
deserializer operate from a 5MHz-to-70MHz parallel
clock frequency, and are capable of serializing and
18 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
parity encoding that adds two parity bits to the serial
word. Bit 0 (EN0) is the LSB that is serialized first with-
out parity enabled. The parity bits are serialized first
when parity is enabled.
the control channel is open. Programmable timers and
ECU signal activity determine how long the control
channel stays open. The timers are reset by ECU signal
activity. ECU programming must not exceed the vertical
blanking time to avoid loss of video data.
The ECU programs the MAX9258, MAX9257, and
peripheral devices at startup and during the control
channel phase. In a digital video system, the control
channel phase occurs during the vertical blanking time
and synchronizes to the VSYNC signal. The programma-
ble active edge of VSYNC initiates the control channel
phase. Nonactive edge of VSYNC can transition at any
After the control channel phase closes, the MAX9257
sends a 546 or 1090 word pattern as handshaking
(HSK) to synchronize the MAX9258’s internal clock
recovery circuit to the MAX9257’s transmitted data.
Following the handshaking, the control channel is
closed and the video phase begins. The serial LVDS
data is recovered and parallel data is valid on the pro-
grammed edge of the recovered pixel clock.
time after 8 x t if MAX9257 spread is not enabled and
T
0.5/f
when enabled. At the end of video phase, the
MAX9258 drives CCEN high to indicate to the ECU that
SSM
8t
T
VSYNC_IN
SDI/O
VIDEO
HSK
CONTROL
VIDEO
SDI/O
CCEN
HSK = HANDSHAKING
Figure 19. Video and Control Channel Phases (Spread Off)
0.5/f
SSM
(max)
VSYNC_IN
SDI/O
VIDEO
HSK
VIDEO
CONTROL
SPREAD
PROFILE
SDI/O
CCEN
HSK = HANDSHAKING
Figure 20. Video and Control Channel Phases (MAX9257 Spread is Enabled)
______________________________________________________________________________________ 19
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Table 1. MAX9257 Power-Up Default Register Map (see the MAX9257 Register Tableꢀ
REGISTER
ADDRESS (hexꢀ
POWER-UP VALUE
(hexꢀ
REGISTER NAME
POWER-UP DEFAULT SETTINGS
PRATE = 10, 20MHz to 40MHz
SRATE = 11, 400Mbps to 840Mbps
PAREN = 0, parity disabled
REG0
0x00
0xB5
PWIDTH = 101, parallel data width = 18
SPREAD = 000, spread = off
Reserved = 11111
REG1
REG2
REG3
0x01
0x02
0x03
0x1F
0xA0
0xA0
STODIV = 1010, STO clock is pixel clock divided by 1024
STOCNT = 0000, STO counter counts to 1
ETODIV = 1010, ETO clock is pixel clock divided by 1024
ETOCNT = 0000, ETO counter counts to 1
VEDGE = 0, VSYNC active edge is falling
Reserved = 0
7/MAX9258
CKEDGE = 1, pixel clock active edge is rising
PD: 1) If REM = 0, PD = 0
1) REM = 0, 0x28
2) REM = 1, 0x30
2) If REM = 1, PD = 1
SEREN: 1) If REM = 0, SEREN = 1
2) If REM = 1, SEREN = 0
REG4
0x04
BYPFPLL = 0, filter PLL is active
Reserved = 0
PRBSEN = 0, PRBS test disabled
REG5
REG6
REG7
0x05
0x06
0x07
0xFA
0xFF
0xF8
MAX9257 address = 1111 1010
End frame = 1111 1111
MAX9258 address = 1111 1000
INTMODE = 0, interface with peripheral is UART
INTEN = 0, interface with peripheral is disabled
FAST = 0, UART bit rate = DC to 4.25Mbps
CTO = 000, never come back
REG8
REG9
0x08
0x09
0x00
0x00
BITRATE = 00, base mode bit rate = 95kbps to 400kbps
PRBSLEN = 0000, PRBS word length = 221
GPIO9DIR = 0, GPIO9 = input
GPIO8DIR = 0, GPIO8 = input
GPIO9 = 0
GPIO8 = 0
GPIO7DIR = 0, GPIO7 = input
GPIO6DIR = 0, GPIO6 = input
GPIO5DIR = 0, GPIO5 = input
GPIO4DIR = 0, GPIO4 = input
GPIO3DIR = 0, GPIO3 = input
GPIO2DIR = 0, GPIO2 = input
GPIO1DIR = 0, GPIO1 = input
GPIO0DIR = 0, GPIO0 = input
REG10
0x0A
0x00
20 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Table 1. MAX9257 Power-Up Default Register Map (continuedꢀ
REGISTER
ADDRESS (hexꢀ
POWER-UP VALUE
(hexꢀ
REGISTER NAME
POWER-UP DEFAULT SETTINGS
GPIO7 = 0
GPIO6 = 0
GPIO5 = 0
GPIO4 = 0
GPIO3 = 0
GPIO2 = 0
GPIO1 = 0
GPIO0 = 0
REG11
0x0B
0x00
PREEMP = 111, preemphasis = 0ꢀ
Reserved = 00000
REG12
REG13
REG14
0x0C
0x0D
0x0E
0xE0
0x00
0x00
Reserved = 000000
I2CFILT = 00, I2C glitch filter settings:
1) 95kbps to 400kbps = 100ns
2) 400kbps to 1000kbps = 50ns
3) 1000kbps to 4250kbps = 10ns
Reserved = 0000 000
LOCKED = read only
Table 2. MAX9258 Power-Up Default Register Map (see the MAX9258 Register Tableꢀ
REGISTER
ADDRESS (hexꢀ
POWER-UP VALUE
(hexꢀ
REGISTER NAME
POWER-UP DEFAULT SETTINGS
PRATE = 10, 20MHz to 40MHz
SRATE = 11, 400Mbps to 840Mbps
PAREN = 0, parity disabled
PWIDTH = 101, parallel data width = 18
REG0
0x00
0x01
0xB5
0x00
SPREAD = 00, spread spectrum = off
AER = 0, error count is reset by reading error registers
Reserved = 0 0000
REG1
STODIV = 1010, STO clock is pixel clock divided by 1024
STOCNT = 0000, STO counter counts to 1
REG2
REG3
0x02
0x03
0xA0
0xA0
ETODIV = 1010, ETO clock is pixel clock divided by 1024
ETOCNT = 0000, ETO counter counts to 1
VEDGE = 0, VSYNC active edge is falling
HEDGE = 0, HSYNC active edge is falling
CKEDGE = 1, pixel clock active edge is rising
Reserved = 0000
REG4
0x04
0x20
PRBSEN = 0, PRBS test disabled
REG5
REG6
0x05
0x06
0xF8
0xFF
MAX9258 address = 1111 1000
End frame = 1111 1111
INTMODE = 0, interface with peripheral is UART
INTEN = 0, interface with peripheral is disabled
FAST = 0, UART bit rate = DC to 4.25Mbps
CTO = 000, never come back
REG7
0x07
0x00
BITRATE = 00, base mode bit rate = 95kbps to 400kbps
______________________________________________________________________________________ 21
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Table 2. MAX9258 Power-Up Default Register Map (continuedꢀ
REGISTER
ADDRESS (hexꢀ
POWER-UP VALUE
(hexꢀ
REGISTER NAME
REG8
POWER-UP DEFAULT SETTINGS
PATHRLO = 0001 0000
parity threshold = 16
0x08
0x09
0x10
0x00
PATHRHI = 0000 0000,
parity threshold = 16
REG9
REG10
REG11
REG12
0x0A
0x0B
0x0C
0x00
0x00
0x00
Parity errors video (8 LSBs) = read only
Parity errors video (8 MSBs) = read only
PRBS bit errors = read only
Reserved = 000
Parity error, communication with MAX9258 = read only
Frame error, communication with MAX9258 = read only
Parity error, communication with MAX9257 = read only
Frame error, communication with MAX9257 = read only
I2C error, communication with peripheral = read only
REG13
0x0D
0x00
7/MAX9258
Tables 1 and 2 show the default power-up values for
the MAX9257/MAX9258 registers. Tables 3 and 4 show
the input and output supply references.
Table ±. MAX9257 I/O Supply
INPUTS/OUTPUTS
SUPPLY
PCLK_IN, HSYNC_IN, VSYNC_IN,
DIN[0:7], DIN[8:15]/GPIO[0:7],
GPIO8, GPIO9
Parallel-Word Width
The parallel-word width is made up of the video data
bits, HSYNC, and VSYNC. The video data bits are pro-
grammable from 8 to 16 depending on the pixel clock,
serial-data rate, and parity. Table 16 shows the parallel-
word width.
V
CCIO
SDO+, SDO-
V
CCLVDS
SCL/TX, SDA/RX, REM
V
CC
Serial-Word Length
The serial-word length is made up of the parallel-word
width, encoding bits, and parity bits. Tables 5–9 show
the serial video format and serial-word lengths without
parity. Tables 10–13 show with parity bits included.
Table 4. MAX9258 I/O Supply
INPUTS/OUTPUTS
All inputs and outputs
SDI+, SDI-
SUPPLY
V
CCOUT
V
CCLVDS
LVDS Serial Data
Serial LVDS data is transmitted least significant bit (LSB)
to most significant bit (MSB) as shown in Tables 5
through 13. The ECU at startup can program the parallel
word width, serial frequency range, parity, spread-spec-
trum, and pixel clock frequency range (see the MAX9257
Register Table and the MAX9258 Register Table).
22 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Table 5. Serial Video Data Format for 20-Bit Serial-Word Length (Parallel-Word Width = 18ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
NAME EN0 EN1 HSYNC VSYNC D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
Table 6. Serial Video Data Format for 18-Bit Serial-Word Length (Parallel-Word Width = 16ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
NAME EN0 EN1 HSYNC VSYNC D0
D1
D2
D3
D4
D5
D6
D7
D8
D9 D10 D11 D12 D13
Table 7. Serial Video Data Format for 16-Bit Serial-Word Length (Parallel-Word Width = 14ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
NAME EN0 EN1 HSYNC VSYNC
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
D10
D11
Table 8. Serial Video Data Format for 14-Bit Serial-Word Length (Parallel-Word Width = 12ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
NAME EN0 EN1 HSYNC VSYNC
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
Table 9. Serial Video Data Format for 12-Bit Serial-Word Length (Parallel-Word Width = 10ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
NAME EN0 EN1 HSYNC VSYNC
D0
D1
D2
D3
D4
D5
D6
D7
Table 10. Format for 20-Bit Serial-Word Length with Parity (Parallel-Word Width = 16ꢀ
BIT
1
2
3
4
5
6
7
8
9
10 11 12 13 14 15 16
17
18
19
20
NAME PR PRB EN0 EN1 HSYNC VSYNC D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13
Table 11. Format for 18-Bit Serial-Word Length with Parity (Parallel-Word Width = 14ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
NAME PR PRB EN0 EN1 HSYNC VSYNC D0
D1
D2
D3
D4
D5
D6
D7
D8
D9 D10 D11
Table 12. Format for 16-Bit Serial-Word Length with Parity (Parallel-Word Width = 12ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
NAME PR PRB EN0 EN1 HSYNC VSYNC
D0
D1
D2
D3
D4
D5
D6
D7
D8
D9
Table 1±. Format for 14-Bit Serial-Word Length with Parity (Parallel-Word Width = 10ꢀ
BIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
D7
NAME PR PRB EN0 EN1 HSYNC VSYNC
D0
D1
D2
D3
D4
D5
D6
______________________________________________________________________________________ 2±
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Pixel Clock Frequency Range
Table 14. MAX9257 Pixel Clock Range
(PCLK_INꢀ
The MAX9257/MAX9258 each have registers that can
be configured at startup. Depending on the word
length, the MAX9257 multiplies PCLK_IN (pixel clock)
FREQUENCY (MHzꢀ
PRATE (REG0[7:6]ꢀ
by 12, 14, 16, 18, or 20 using an internal PLL to gener-
ate the serial clock. Use Table 20 for proper selection
of available PCLK frequency and serial-data ranges.
Parallel data is serialized using the serial-clock and
serialized bits are transmitted at the MAX9257 LVDS
outputs. The MAX9257/MAX9258 support a wide range
for PCLK_IN (Table 14). If the pixel clock frequency
needs to change to a frequency outside the pro-
grammed range, the ECU must program both the
MAX9257 and the MAX9258 in the same control chan-
nel session.
5–10
10–20
20–40
40–70
00
01
10
11
Table 15. Serial-Data Rate Range
SERIAL-DATA RATE (Mbpsꢀ
SRATE (REG0[5:4]ꢀ
60–100
100–200
200–400
400–840
00
01
10
11
Serial-Data Rate Range
The word length and pixel clock is limited by the maxi-
mum serial-data rate of 840Mbps. The following formula
shows the relation between word length, pixel clock,
and serial clock:
7/MAX9258
Table 16. Parallel-Word Width
Serial-word length x pixel clock = serial-data rate ≤
PARALLEL-WORD WIDTH
PWIDTH (REG0[2:0]ꢀ
840Mbps
10
12
14
16
18
000
001
010
011
1XX
For example, if PCLK_IN is 70MHz, the serial-word
length has to be 12 bits including DC balance bits if
parity is not enabled to keep the serial-data rate under
840Mbps. If the serial-word length is 20 bits, the maxi-
mum PCLK_IN frequency is 42MHz. The serial-data
rate can vary from 60Mbps to 840Mbps and can be
programmed at power-up (Table 15). Use Table 20 for
proper selection of available PCLK frequency and serial
data ranges. Operating in the incorrect range for either
the serial-data rate or PCLK_IN can result in excessive
current dissipation and failure of the MAX9258 to lock
to the MAX9257.
the MAX9258 tracks and passes the spread to its clock
and data outputs. The MAX9257/MAX9258 are both
center spread (Figure 21). The control channel does
not use spread spectrum, but has slower transition
times.
MAX9258 Spread Spectrum
The MAX9258 features a programmable spread-spec-
trum clock and data outputs for reduced EMI. The sin-
gle-ended data outputs are programmable for no
spread, 2ꢀ, or 4ꢀ (see the Typical Operating
Characteristics) around the recovered pixel clock fre-
quency. The output spread is programmed in register
REG1[7:6]. Table 17 shows the spread options, and
Table 18 shows the various modulation rates.
LVDS Common-Mode Bias
The output common-mode bias is 1.2V at the LVDS
inputs on the MAX9258 and LVDS outputs on the
MAX9257. No external resistors are required to provide
bias for AC-coupling the LVDS inputs and outputs.
LVDS Termination
Terminate the LVDS link at both ends with the charac-
teristic impedance of the transmission line (typically
100Ω differential). The LVDS inputs and outputs are
high impedance to GND and differentially.
MAX9257 Spread Spectrum
The MAX9257 features programmable spread spectrum
for the LVDS outputs. Table 19 shows various spread
options, and Table 20 shows the various modulation
rates. Only one device (the MAX9257 or the MAX9258)
should be programmed for spread spectrum at a time. If
the MAX9257 is programmed for spread, the MAX9258
Spread-Spectrum Selection
The MAX9257/MAX9258 each have spread-spectrum
options. Both should not be turned on at the same time.
When the MAX9257 is programmed for spread spectrum,
24 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Table 17. MAX9258 Spread
FREQUENCY
PRATE (REG1[7:6]ꢀ
SPREAD (%ꢀ
1/f
SSM
00
01
10
11
Off
2
f
(MAX)
SPREAD
Off
4
f
TIME
PCLK_IN
Table 18. MAX9258 Modulation Rate
PRATE
(REG1[7:6]ꢀ
MODULATION RATE
f
RANGE (kHzꢀ
SSM
f
(MIN)
SPREAD
00
01
10
11
PCLK/312
PCLK/520
PCLK/1040
PCLK/1248
16 to 32
19.2 to 38.5
19.2 to 38.5
32 to 56
Figure 21. Simplified Modulation Profile for the MAX9257/MAX9258
tracks and passes the spread to the data and clock out-
puts. The PRATE range of 00 and 01 (5MHz ≤ PCLK ≤
20MHz) supports all the spread options. The PRATE
range of 10 and 11 (20MHz ≤ PCLK ≤ 70MHz) requires
that the spread be 2ꢀ or less.
Table 19. MAX9257 LVDS Output Spread
REG1[7:5]
000
SPREAD (%ꢀ
Off
1.5
1.75
2
001
Pixel Clock Jitter Filter
The MAX9257 has a PLL to filter high-frequency pixel
clock jitter on PCLK_IN. The FPLL can be bypassed by
writing 1 to REG4[2]. The FPLL improves the
MAX9258’s data recovery by filtering out the high-fre-
quency components from the pixel clock that the
MAX9258 cannot track. The 3dB bandwidth of the FPLL
is 100kHz (typ).
010
011
100
Off
3
101
110
3.5
4
111
LVDS Output Preemphasis (SDO )
The MAX9257 features programmable preemphasis
where extra current is added when the LVDS outputs
transition on the serial link. Preemphasis provides addi-
tional current to the normal drive current. For example,
20ꢀ preemphasis provides 20ꢀ greater current than
the normal drive current. Current is boosted only on the
transitions and returns to the normal drive current after
switching. Select the preemphasis level to optimize the
eye diagram. Preemphasis boosts the high-frequency
content of the LVDS outputs to enable driving greater
cable lengths. The amount of preemphasis is pro-
grammed in REG12[7:5] (Table 21).
VSYNC: The MAX9257 and the MAX9258 enter control
channel on the falling edge of VSYNC. The default reg-
ister settings are VSYNC active falling edge for both the
MAX9257 and the MAX9258. If the VSYNC active edge
is programmed for rising edge at the MAX9257, the
MAX9258 VSYNC active edge must also be pro-
grammed for rising edge to reproduce VSYNC rising
edge at the MAX9258 output. However, matching the
polarity of the VSYNC active edge between the
MAX9257 and the MAX9258 is not a requirement for
proper operation.
HSYNC: HSYNC active-edge polarity is programmable
for the MAX9258.
VSYNC, HSYNC, and Pixel Clock Polarity
PCLK: The MAX9257 is programmable to latch data on
either rising or falling edge of PCLK. The polarity of
PCLKOUT at the MAX9258 can be independent of the
MAX9257 PCLK active edge. The polarity of PCLK can
be programmed using REG4[5] of the MAX9257 and
the MAX9258.
General Purpose I/Os (GPIOs)
The MAX9257 has up to 10 GPIOs available. GPIO8
and GPIO9 are always available while GPIO[0:7] are
available depending on the parallel-word width (Table
22). If GPIOs are not available, the corresponding GPIO
bits are not used.
______________________________________________________________________________________ 25
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Table 20. MAX9257 Modulation Rate
SERIAL-WORD
LENGTH
PCLK RANGE
(MHzꢀ
SRATE
PRATE
MODULATION RATE
f
RANGE (kHzꢀ
SSM
11
11
10
10
01
01
00
11
11
10
10
01
01
00
11
11
10
10
01
01
00
11
11
10
10
01
01
00
11
11
10
01
11
10
10
01
01
00
00
11
10
10
01
01
00
00
11
10
10
01
01
00
00
11
10
10
01
01
00
00
11
10
01
00
40–70
33.3–40
20–33.3
16.6–20
10–16.6
8.3–10
5–8.3
PCLK/2728
PCLK/1736
PCLK/1612
PCLK/992
PCLK/1116
PCLK/744
PCLK/868
PCLK/2304
PCLK/1728
PCLK/1440
PCLK/1008
PCLK/1008
PCLK/720
PCLK/720
PCLK/1968
PCLK/1640
PCLK/1312
PCLK/984
PCLK/820
PCLK/656
PCLK/656
PCLK/1840
PCLK/1472
PCLK/1104
PCLK/920
PCLK/736
PCLK/736
PCLK/552
PCLK/1632
PCLK/1632
PCLK/1020
PCLK/816
14.7 to 25.7
19.2 to 23.0
12.4 to 20.7
16.7 to 20.2
9.0 to 14.9
11.2 to 13.4
5.8 to 9.6
12
14
16
40–60
17.4 to 26.0
16.6 to 23.1
13.9 to 19.9
14.2 to 19.8
9.9 to 14.2
9.9 to 13.9
6.9 to 9.9
28.6–40
20–28.6
14.3–20
10–14.3
7.1–10
5–7.1
7/MAX9258
40–52.5
25–40
20.3 to 26.7
15.2 to 24.4
15.2 to 19.1
12.7 to 20.3
12.2 to 15.2
9.5 to 15.2
7.6 to 9.5
20–25
12.5–20
10–12.5
6.25–10
5–6.25
40–46.6
22.2–40
20–22.2
11.1–20
10–11.1
5.6–10
5–5.6
21.7 to 25.3
15.1 to 27.2
18.1 to 20.1
12.1 to 21.7
13.6 to 15.1
7.6 to 13.6
9.1 to 10.1
24.5 to 25.7
12.3 to 24.5
9.8 to 19.6
6.1 to 12.3
18
20
40–42
20–40
10–20
5–10
A GPIO can be programmed to drive an LVCMOS logic
level or to read a logic input. The register bit that sets
the output level when the GPIO is programmed as an
output stores the input level when the GPIO is pro-
grammed as an input.
low when an error occurs and LOCK is high impedance
when the MAX9258 is locked to the MAX9257 and
remains high under the locked condition. When the
devices are in shutdown, the channel is not locked and
LOCK goes high impedance, is pulled high, and should
be ignored. ERROR is high impedance at shutdown
and remains high. In choosing pullup resistors, there is
a tradeoff between power dissipation and speed; 10kΩ
pullup should be sufficient.
Open-Drain Outputs (LOCK, ERROR)
LOCK and ERROR are open-drain outputs that require
a pullup resistor to an external supply. ERROR asserts
26 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Table 21. Preemphasis
Table 2±. Selection of Base Mode or
Bypass Mode
REG12[7:5]
PREEMPHASIS (%ꢀ
000,101,110
001
20
40
60
80
100
0
INTEN
INTMODE
MODE
MAX9257 REG8[6], MAX9257 REG8[7],
MAX9258 REG7[6] MAX9258 REG7[7]
010
011
100
111
Base mode,
communication
with peripheral is
not enabled
0
1
X
1
Base mode,
Table 22. GPIOs vs. Parallel-Word Width
communication
with peripheral is
PARALLEL-WORD
GPIOs AVAILABLE
WIDTH (Nꢀ
2
enabled (I C)
Bypass mode,
communication
with MAX9257/
MAX9258 is not
enabled,
communication
with peripheral is
enabled (UART)
18
16
14
12
10
GPIO[8:9]
GPIO[6:9]
GPIO[4:9]
GPIO[2:9]
GPIO[0:9]
1
0
The LOCK and ERROR outputs can be wired in an
AND configuration if you have multiple serializers and
deserializers, or a single serializer fanned out to multi-
ple deserializers through a repeater. For such situa-
tions, wire the multiple LOCK outputs together and use
a single pullup resistor to pull up all the lines high.
LOCK is high if all the devices are locked. Do the same
thing for ERROR; ERROR is low if any MAX9258 reports
errors.
Table 24. STO Clock Divide Ratio
REG2[7:4]
00XX
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
STODIV
16
16
32
64
128
256
Base Mode and Bypass Mode (Basics)
In the control channel phase, there are two modes: base
and bypass. In base mode, ECU always communicates
using the MAX9257/MAX9258 UART protocol and com-
munication with a peripheral device is performed in I2C
by the MAX9257. Packets not addressed to the
MAX9257 or the MAX9258 get converted to I2C and
passed to the peripheral device. Similarly, I2C packets
from the peripheral device get converted to UART pack-
ets in the reverse direction. ECU can disable communi-
cation to the peripheral device by writing a 0 to INTEN
(REG8[6] in the MAX9257 and REG7[6] in the MAX9258).
Base mode is the default mode. Bypass mode is entered
by writing a 0 to INTMODE and 1 to INTEN (Table 23).
Bypass mode is exited if there is no activity from ECU in
the control channel for the duration of CTO. When CTO
times out, INTEN reverts back to 0 and MAX9257/
MAX9258 revert back to base mode. To permanently
stay in bypass mode, ECU can lock the CTO timer or
program CTO to be longer than ETO and STO.
512
1024
2048
4096
8192
16,384
32,768
Timers
The MAX9257/MAX9258 feature three different timers.
The start timeout (STO) and end timeout (ETO) control
the duration of the control channel. The come-back
timeout (CTO) controls the duration of bypass mode.
STO Timer
The STO (start timeout) timer closes the control channel if
the ECU does not start using the control channel within
the STO timeout period. The STO timer is configured by
______________________________________________________________________________________ 27
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
VSYNC_IN
T3
T1
T2
SDI/O
CCEN
VIDEO
HSK
VIDEO
TX
RX
FROZEN
DOUT_
7/MAX9258
T1 = TIME TO ENTER CONTROL CHANNEL
T2 = STO TIMEOUT PERIOD
T3 = CONTROL CHANNEL EXIT TIME DUE TO STO
HSK = HANDSHAKING BETWEEN THE MAX9257 AND THE MAX9258
Figure 22. Control Channel Closing Due to STO Timeout
register REG2 for both the MAX9257 and the MAX9258.
The four bits of REG2[7:4] select the divide ratio (STODIV)
for the STO clock as a function of the pixel clock (Table
24). The timeout period is determined by counter bits
REG2[3:0] that increment once every STO clock period.
Write to REG2[3:0] to determine the counter end time.
The STO counter counts to the programmed STOCNT +
1. The ECU must begin communicating before STO times
out, otherwise, the control channel closes (Figure 22). The
STO timeout period is given by:
Table 25. ETO Clock Divide Ratio
REG±[7:4]
00XX
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
ETODIV
16
16
32
64
128
256
512
⎛
⎞
1
t
=
× STODIV ×(STOCNT +1)
1024
2048
4096
8192
16,384
32,768
STO
⎜
⎟
f
⎝
⎠
CLK
For example:
If the pixel clock frequency is set to 16MHz, STODIV is
set to 1010 (STODIV = 1024), and STOCNT is set to
1001 (STOCNT = 9), the STO timer counts with
15.625kHz STO clock (16MHz/1024) internally until it
reaches 10 and timer expires. The t
1024 x 10 = 640µs.
is equal to t x
T
STO
ETO Timer
The ETO (end timeout) timer closes the control channel
if the ECU stops communicating for the ETO timeout
period. Configure register REG3[7:4] for both the
MAX9257 and the MAX9258 to select the divide ratio
(ETODIV) for the ETO clock as a function of the pixel
clock (Table 25). The timeout period is determined by
The default value for STODIV is 1024 while the default
value for STOCNT is 0. That means the STO timeout
period is equal 1024 pixel clock cycles. Activity from
the ECU on the control channel shuts off the STO timer
and starts the ETO timer.
28 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
VSYNC_IN
T1
T5
ECU
ACTIVITY
VIDEO
SDI/O
HSK
VIDEO
T4 (BASE MODE)
T4 (BYPASS MODE)
CCEN
TX
RX
FROZEN
DOUT_
T1 = TIME TO ENTER CONTROL CHANNEL
T4 = ETO TIMEOUT PERIOD
T5 = CONTROL CHANNEL EXIT TIME DUE TO ETO
HSK = HANDSHAKING BETWEEN MAX9257 AND MAX9258
Figure 23. Control Channel Closing Due to ETO Timeout
counter bits REG3[3:0] that increment once every ETO
clock period. Write to REG3[3:0] to determine the
counter end time. The ETO counter counts to the pro-
grammed ETOCNT + 1. Any ECU activity resets the
ETO timer. When the ECU stops transmitting data for
the ETO timeout period, the control channel closes
(Figure 23).
between the VSYNC transition and CCEN transitioning
high. The ECU is allowed to communicate when CCEN
is high.
If the ECU does not communicate while CCEN is high
(Figure 22), the link remains silent and STO starts
counting towards its preset timeout counter value. If
STO times out (T2), CCEN transitions low and the con-
trol channel closes.
⎛
⎞
1
t
=
×ETODIV ×(ETOCNT +1)
ETO
If the ECU communicates while CCEN is high and
before STO expires (Figure 23), the STO timer is turned
off and ETO timer is enabled. The ETO counter (ETOC-
NT+1) is reset to 0 whenever activity from ECU (base
mode) or ECU and Camera (bypass mode) is detected.
As long as there is activity from ECU (base mode) or
ECU and Camera (bypass mode) on the link, the chan-
nel does not close and the ETO counter resets. After
the ECU (base mode) or ECU and Camera (bypass
mode) ceases link activity, ETO times out (T4), CCEN
transitions low, and the control channel closes.
⎜
⎟
f
⎝
⎠
CLK
For example:
If the pixel clock frequency is set to 16MHz, ETODIV is
set to 1010 (ETODIV = 1024), and ETOCNT is set to
1001 (ETOCNT = 9), the ETO timer counts with the
15.625kHz ETO clock (16MHz/1024) internally until it
reaches 10 and timer expires. The t
1024 x 10 = 640µs.
is equal to t x
T
ETO
The default value for ETODIV is 1024 while the default
value for ETOCNT is 0. That means the ETO timeout
period is equal to 1,024 pixel clock cycles.
Another way to close the control channel in base mode
is for the ECU to send an end frame (EF) to close the
control channel without waiting for ETO to time out.
Whenever EF is received by both the MAX9257/
MAX9258, control channel closes immediately and
CCEN goes low. A synchronization frame must precede
EF. End frame cannot be used in bypass mode. The
control channel must close by EF to report errors back
to the ECU.
Closing the Control Channel
After the MAX9257 detects the active VSYNC edge, it
sends three synchronization words. Once the MAX9258
sees the active VSYNC transition and detects three syn-
chronization words, it enters the control channel phase
and CCEN goes high. There is a brief delay of T1
______________________________________________________________________________________ 29
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
After the control channel closes, there is a brief hand-
shake period (T3 in Figure 22 and T5 in Figure 23)
Table 26. CTO Counter Timeout Period
between the MAX9257 and the MAX9258. The
MAX9258 sends a special lock frame to the MAX9257
to indicate if PLL is still locked. The MAX9258 sends the
lock frame if the number of decoding errors didn’t
exceed a threshold in the last LVDS video phase ses-
sion. The MAX9258 features a proprietary VCO lock
that prevents frequency drift while in the control chan-
nel for extended periods of time. If MAX9257 receives
the lock frame, it understands that the MAX9258 is in a
locked state and sends a short training sequence. If the
lock frame is not received by the MAX9257, it assumes
that the MAX9258 is not locked and sends a long train-
ing sequence. After the short or long training sequence
is complete, the MAX9257 sends three special synchro-
nization words before entering the video phase.
Training sequence is used to resynchronize the
MAX9257/MAX9258 before the video phase starts.
MAX9257 REG2[7:4]
MAX9258 REG±[7:4]
COUNTER USING UART BIT
TIMES
Never come back
(lockout)
000
001
010
011
100
101
110
111
16
32
48
64
80
96
112
When pixel clock frequency range (PRATE) is 10 or 11:
7/MAX9258
⎛ t
⎞
⎛
⎜
⎞
STO
8
max(T3) =
max(T5) =
+1090 × t + (20 × t
)
)
The MAX9257/MAX9258 control channel duration is
independent of VSYNC. The control channel does not
close when VSYNC deasserts, which allows the use of
a VSYNC interrupt signal on VSYNC_IN. The control
channel must be closed by STO, ETO, or EF. If the con-
trol channel does not close before video data becomes
available, video data can be lost.
⎟
⎠
T
UCLK
⎜
⎟
⎠
⎝
⎝
⎛ t
⎞
⎛
⎞
⎟
⎠
ETO
8
+1090 × t + (20 × t
⎜
T
UCLK
⎜
⎟
⎝
⎝
⎠
CTO Timer
The CTO (come-back timeout) timer temporarily or per-
manently blocks programming to the MAX9257/
MAX9258 registers. CTO keeps the MAX9257/ MAX9258
in bypass mode for the CTO timeout period (Table 26).
Bypass mode can only be exited when the CTO timer
expires. The CTO timer uses the UART bit times for its
counter. Note that STO and ETO timers use the pixel
clock while CTO uses the UART bit times. The UART
STO/ETO Timer Programming
STO and ETO can be programmed given the values of
T2, T4, and maximum values of T1, T3, and T5 (Figures
22, 23):
t = pixel clock period, t
= UART period
T
UCLK
When spread spectrum is not enabled in MAX9257:
max(T1) = 2.5µs + (3 x t ) + (4 x t
period t
synchronizes with the UART bit times,
UCLK
)
UCLK
T
which synchronize every time the SYNC frame is sent.
When spread spectrum is enabled in MAX9257:
max(T1) = 2.5µs + (1400 x t ) + (4 x t
When the CTO timer times out, INTEN bit in both
devices is set to 0 and the MAX9257/MAX9258 revert
back to base mode. If communication with the
MAX9257/MAX9258 is not needed after initial program-
ming is complete, CTO may be set to 000 (never come
back). In this case, CTO never expires and the
MAX9257/MAX9258 stay in bypass mode until they are
powered down. This prevents accidental programming
of the MAX9257/MAX9258 while ECU communicates
with the peripheral using a different UART protocol from
the MAX9257/MAX9258 UART protocol.
)
UCLK
T
T2 = t
T4 = t
STO
ETO
When pixel clock frequency range (PRATE) is 00 or 01:
⎛ t
⎞
⎛
⎜
⎞
STO
8
max(T3) =
max(T5) =
+ 546 × t + (20 × t
)
)
⎟
⎠
T
UCLK
⎜
⎟
⎠
⎝
⎝
⎛ t
⎞
⎛
⎞
⎟
⎠
ETO
8
+ 546 × t + (20 × t
⎜
T
UCLK
⎜
⎟
⎝
⎝
⎠
The overall CTO timeout is calculated as follows:
t
= t
x CTO
CTO
UCLK
±0 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Assuming a UART bit rate of 2Mbps, REG2[7:4],
REG3[7:4] = 100 (Table 26), CTO = 64, CTO timeout
calculated as:
programming at initial power-up without the channel
timing out. UART, parity, framing and packet errors in
the control channel communications are reported if end
frame is used to close control channel (see the
MAX9258 Error Checking and Reporting section). For
faster identification of errors, verify every write com-
mand by reading back the registers before enabling
serialization.
t
= (0.5µs) × 64 = 32µs
CTO
Link Power-Up
The MAX9258 powers up when the power-down input
PD goes high. After approximately 130µs, CCEN goes
high, indicating the control channel is available. This
delay is required because the analog circuitry has to
fully wake up. There are two ways to power up the
MAX9257. The MAX9257 powers up according to the
state of REM. ECU powers up MAX9257 remotely (ECU
sends command to power up) when REM is pulled to
Link Power-Down
When the control channel is open, the ECU writes to the
PD bit to power down the MAX9257. In this case, to
power up the MAX9257 again, the power-up sequence
explained in the Remote Power-Up of the MAX9257 (REM
= Pulled Up to V ) section needs to be repeated. The
CC
MAX9258 has a PD input that powers down the device.
V
. The MAX9257 powers up according to the supply
CC
voltage when REM is grounded.
MAX9258 Error Checking and Reporting
The MAX9258 has an open-drain ERROR output. This
output indicates various error conditions encountered
during the operation of the system. When an error con-
dition is detected and needs to be reported, ERROR
asserts low. ERROR indicates three error conditions:
UART, video parity, and PRBS errors.
Powering the MAX9257 with Serialization Enabled
(REM = Ground at Power-Upꢀ
When REM is grounded, the MAX9257 fully powers up
when power is applied. The power-down bit PD
(REG4[4]) is disabled and serialization bit SEREN
(REG4[3]) is enabled. If PCLK_IN is not running, the
MAX9257 stays in the control channel. After PCLK_IN is
applied, the control channel times out due to STO, ETO,
or EF. The MAX9257 starts the handshaking after the
MAX9257 locks to PCLK after 32,768 clock cycles. If
PCLK_IN is running, serialization starts automatically
after PLL of the MAX9257 locks to PCLK_IN with default
values in the registers.
UART Errors
During control channel communication in base mode,
the MAX9257/MAX9258 record UART frame, parity, and
packet errors. I2C errors are also recorded by
MAX9257 when I2C interface is enabled. If ECU closes
the control channel by using end frame (EF), the
MAX9257 sends a special internal UART frame back to
the MAX9258 called error frame. The MAX9257 UART
and I2C errors are reset at the next control channel. The
MAX9258 receives the error frame and records the
error status in its UART error register (REG13). ECU
must use end frame to the close control channel for the
MAX9257 to report back UART and I2C errors to the
MAX9258. Whenever one of the bits in the UART error
register is 1, ERROR asserts low. The UART error regis-
ter is reset when ECU reads it, and ERROR deasserts
high immediately if UART errors were the only reason
that ERROR was asserted low. If the MAX9258 is not
locked (LOCK = low), UART error is not reported.
Remote Power-Up of the MAX9257
(REM = Pulled Up to V
ꢀ
CC
When REM is pulled up to V , the MAX9257 wakes up
CC
in a low power state, drawing less than 100µA supply
current. To wake-up the MAX9257, the ECU first trans-
mits a dummy frame 0xDB and then waits at least
100µs to allow the MAX9257’s internal analog circuitry
to fully power up. Then the ECU configures the
MAX9257 registers, including a write to disable the PD
bit (REG4[4]) so that the MAX9257 does not return
back to the low power state. Every packet needs to
start with a synchronization frame (see the UART sec-
tion). If the PD bit is not disabled within 70ms after
transmitting the dummy frame, the MAX9257 returns to
the low power state and the whole power-up sequence
needs to be repeated. After configuration is complete,
the ECU also needs to enable the SEREN bit to start the
video phase.
Video Parity Errors
When video parity check is enabled (REG0[3] in both
devices), the MAX9258 counts the number of video pari-
ty errors by checking recovered video words. Value of
this counter is reflected in PAERRHI (8 MSB bits,
REG11) and PAERRLO (8 LSB bits, REG10). If the num-
ber of detected parity errors is greater than or equal to
the parity error threshold PATHRHI (REG9) and
PATHRLO (REG8), then ERROR asserts low. In this
At initial power-up with REM pulled to V , default value
CC
of SEREN bit is 0, so STO and ETO timers are not active.
Control channel is enabled as long as SEREN is 0.
This allows the control channel to be used for extensive
______________________________________________________________________________________ ±1
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
case, ERROR deasserts high after next video phase
Table 27. Link Status
starts if video parity errors were the only reason that
LOCK
CCEN
INDICATION
LVDS channel active
Control channel active
PLL loss of lock
ERROR was asserted low. To report parity errors in
bypass mode, program autoerror reset (AER) to 1
(REG1[5] = 1).
1
1
0
0
1
X
Autoerror Reset
The default method to reset errors is to read the respec-
tive error registers in the MAX9258 (registers 10, 11, and
13). If errors were present before the next control chan-
nel, the error count gets incremented to the previous
number. By setting the autoerror reset (AER) bit to 1, the
error registers reset when the control channel ends.
Setting AER to 1 does not reset PRBS errors.
Lock Verification (Handshaking)
At the end of every vertical blanking time, the MAX9257
verifies that the MAX9258 did not lose lock. The
MAX9258 handshakes with the MAX9257 to indicate
lock status. The handshaking occurs after the channel
closes (Figures 22 and 23). If the number of decoding
errors in a time window did not exceed a certain thresh-
old during the last video phase, the MAX9258 sends
back the lock frame that indicates lock. If the MAX9257
receives the lock frame, the MAX9257 transmits a short
synchronization pattern. The MAX9258 features a pro-
prietary VCO mechanism that prevents frequency drift
while in the control channel. This allows for successful
resynchronization after extended use of control chan-
nel. If the number of decoding errors in a time window
exceeds a certain threshold, the MAX9258 loses lock,
LOCK goes low, and the lock frame is not sent. The
MAX9258 also loses lock if handshaking is not suc-
cessful. If the MAX9257 does not receive the lock
frame, it transmits a long synchronization pattern before
the start of next video phase. When REM = 1, if the lock
frame is not received by the MAX9257 after 62 consec-
utive attempts to synchronize, SEREN is disabled so
that the control channel opens permanently for trou-
bleshooting.
PRBS Errors
During the PRBS test, the MAX9258 checks received
PRBS data words by comparing them to internally gener-
ated PRBS data. Detected errors are counted in the PRBS
error register (REG12) in the MAX9258. Whenever the
number of detected PRBS errors is more than 0, ERROR
asserts low. The PRBS error register is reset when ECU
writes a 0 to PRBSEN register (REG4[0]). In this case,
ERROR deasserts high immediately if PRBS errors were
the only reason that ERROR was asserted low.
7/MAX9258
Short Synchronization Pattern
The short synchronization pattern is part of the handshak-
ing procedure between the MAX9257 and MAX9258 after
the control channel phase. It is used to resynchronize the
MAX9258’s clock and data recovery circuit to the
MAX9257 before the video phase begins. The MAX9257
transmits the short synchronization pattern when it
receives the lock frame from the MAX9258. The length of
short synchronization pattern is dependant on the PRATE
range. When PRATE is 00 or 01, the short synchroniza-
tion pattern consists of 546 words and when PRATE is 10
or 11, the short synchronization pattern consists of 1090
words. Every word is one pixel clock period.
Link Status (LOCK and CCEN)
The LOCK output indicates whether the MAX9258 is
locked to the MAX9257. LOCK is an open-drain output
that needs to be pulled up to V . LOCK asserts low to
CC
indicate that the MAX9258 is not locked to the
MAX9257 and high when it is. In the control channel
phase, LOCK stays high if LOCK is high in the video
phase. While in the control channel phase, the
MAX9258 PLL frequency is held constant, PCLK output
is active and data outputs are frozen at their last valid
value before entering the control channel. CCEN output
indicates whether the MAX9257/MAX9258 are in the
control channel phase or video phase. CCEN goes high
when the MAX9257/MAX9258 are in the control channel
phase (Table 27). Only at initial power-up, CCEN goes
high before communication in the control channel is
ready (see the Link Power-Up section).
Long Synchronization Pattern
At power-up or when the MAX9257 does not receive a
lock frame from the MAX9258, the MAX9257 transmits a
long synchronization pattern. The long synchronization
pattern consists of 17,410 words. Every word is one
pixel clock period. When REM is high, if synchroniza-
tion is not achieved after 62 attempts, the MAX9257
resets SEREN to 0 so that the control channel stays
open to allow troubleshooting. When REM is low, the
MAX9257/MAX9258 continuously tries to reestablish the
connection.
±2 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Control Channel Overhead
Control channel overhead consists of lock frame, short
synchronization sequence, and error frame. The lock
frame is transmitted between the MAX9257 and the
MAX9258 without action by the ECU. The error frame is
only sent in response to end frame. When MAX9257
spread spectrum is enabled, the control channel is
entered after spread reaches center frequency. The over-
head from VSYNC falling edge to control channel enable
accounts for a maximum of 1400 pixel clock cycles.
Control Channel
Overview of Control Channel Operation
The control channel is used by the ECU to program
registers in the MAX9257, MAX9258, and peripheral
devices (such as a camera) during vertical blanking,
after power-up, or when serialization is disabled.
Control channel communication is half-duplex UART.
The peripheral interface on the MAX9257 can be pro-
grammed to be I2C or UART. Operation of the control
channel is synchronized with the VSYNC input after the
ECU starts serialization of video data. Programmable
timers, ECU signal activity, and end frame determine
how long the control channel stays open. The control
channel remains open as long as there is signal activity
from the ECU. When the control channel closes, the
LVDS serial link is reestablished. Once serialization is
enabled, the programming of registers (including the
control channel overhead time) must be completed
within the vertical blanking time to avoid loss of video
data. VSYNC can deassert while control channel
remains open after eight pixel clock cycles.
Base Mode (Detailsꢀ
Base mode allows the ECU to communicate with the
MAX9257/MAX9258 in UART and a peripheral device in
I2C. UART programming of the peripheral device is not
possible in base mode. UART packets from the ECU
need to follow a certain protocol to program the MAX9257
and the MAX9258 (Figures 28 and 29). Packets not
addressed to the MAX9257/MAX9258 get converted to
I2C by the MAX9257 and pass to the peripheral device.
The MAX9257 receives I2C packets from the peripheral
device and converts them to UART packets to send back
to the ECU. To disable communication to the peripheral
device, write a 0 to INTEN (REG8[6] in the MAX9257 and
REG7[6] in the MAX9258).
The control channel phase begins on the transition of
the programmed active edge of VSYNC_IN. In video
applications, the VSYNC signal of the peripheral device
is connected to VSYNC_IN on the MAX9257. In other
applications, a different signal can be used to trigger
the control channel phase. When the MAX9257/
MAX9258 detect the VSYNC_IN transition, the LVDS
video phase disables and the control channel phase is
enabled.
In base mode, the STO/ETO timers and the EF command
are used to control the duration of the control channel.
STO and ETO count up and expire when they reach their
programmed value. STO and ETO are not enabled at the
same time. STO is enabled after CCEN goes high. If there
is activity from the ECU before STO times out, STO is dis-
abled and ETO is enabled. The ECU must begin a trans-
action within an STO timeout or else the channel closes.
The ECU can close the channel by allowing ETO to time-
out. Activity from the ECU resets the ETO timer. Another
way to close the control channel is by sending an end
frame (EF). EF closes the channel within 2 to 3 bit times
after being received by the MAX9257/MAX9258. The
default value of EF is 0xFF, but can be programmed to
any other value besides the MAX9257 and the MAX9258
device addresses. The control channel must be closed
with EF for control channel errors to be reported.
The control channel operates in two modes: base and
bypass. In base mode, the ECU issues UART com-
mands in a specified format to program the
MAX9257/MAX9258 registers. GPIO on the MAX9257
are also programmed in base mode. UART commands
are translated to I2C and output to peripheral devices
connected to the MAX9257 when not addressed to
either the MAX9257 or the MAX9258.
In bypass mode, programming of the MAX9257/
MAX9258 registers are temporarily or permanently
blocked depending on the programmed value of CTO.
Blocking prevents unintentional programming of the
MAX9257/MAX9258 registers when the ECU communi-
cates with the peripheral using a UART protocol differ-
ent than the one specified to program the MAX9257/
MAX9258. When the control channel is open, the
MAX9258 continues outputting the pixel clock while
HSYNC and video data are held at the last value. If
spread is enabled on the MAX9258, the pixel clock is
spread.
Program STO to be longer than the time the ECU takes
to respond to opening of channel. Program ETO to be
longer than the time the ECU pauses between transac-
tions. As long as the ECU performs transactions, ETO is
reset and the channel stays open.
The ECU must wait 14 or more bit times before address-
ing another device during the same control channel ses-
sion. Failure to wait 14 bit times may result in the packet
boundary not being reset. Internal handshaking opera-
tions are automatically performed after the channel is
closed and before the video phase begins.
______________________________________________________________________________________ ±±
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
VSYNC_IN
ECU
ACTIVITY
T1
T2
T5
T1
T2
T5
SDI/O
VIDEO
HSK
VIDEO
VIDEO
HSK
VIDEO
T4
CCEN
T3
TX
RX
DOUT_
FROZEN
FROZEN
T3
CONTROL
CHANNEL
BYPASS MODE
BYPASS MODE
BASE MODE
T1 = TIME TO ENTER CONTROL CHANNEL
T2 = STO TIMER
STO > CTO > ETO
T3 = CTO TIMER
T4 = ETO TIMER
T5 = CONTROL CHANNEL EXIT TIME
HSK = HANDSHAKING BETWEEN THE MAX9257 & THE MAX9258
= TIMER RESET
7/MAX9258
Figure 24. CTO Timing
UART-to-I2C Converter
long as there is camera activity. In base mode, only
ECU activity resets the ETO and CTO timers.
The UART-to-I2C converter accepts UART read or write
packets issued by the ECU and converts them to an I2C
master protocol when in base mode. A slave can use an
ACK or NACK to indicate a busy or wait state, but cannot
hold SCL low to indicate a wait state. Multiple slaves are
supported. The UART-to-I2C conversion delay is less
than 22 UART bit times and needs to be taken into
account when setting the ETO and STO timeout periods
for read commands. UART-to-I2C converter converts
standard UART format to standard I2C format (Figure
25). This 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.
Bypass mode temporarily or permanently blocks pro-
gramming of the MAX9257/MAX9258. 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 writ-
ing a 1 to INTEN (Table 23). Bypass mode disables ECU
programming of the MAX9257/MAX9258 to allow any
UART communication protocol with the peripheral device.
Once bypass mode is entered, the MAX9257/MAX9258
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.
The MAX9257/MAX9258 store their own 7-bit device
addresses in register REG5. All packets not addressed
to the MAX9257/MAX9258 are forwarded to the UART-
to-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 MAX9257 or MAX9258. SDA and SCL
are also idle when the I2C interface is programmed to
be disabled.
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 vertical
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 channel,
CTO times out before STO. STO closes the channel
(because ETO is not enabled) if no communication is
Bypass Mode (Detailsꢀ
In bypass mode, ECU activity and UART communica-
tion from the camera reset the ETO and CTO timers.
This allows the control channel to stay in bypass as
±4 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
UART
MAX9258
ECU
LSB
MSB LSB
MSB
LSB
MSB
2
REG ADDR
DATA 0
DATA N
I C SLAVE ADDRESS + Wr
2
I C
PERIPHERAL
DATA 0
MAX9257
REG ADDRESS
S
A
DATA N
A
P
W
SLAVE ADDRESS
A
A
MSB
LSB
MSB
MSB
LSB
LSB
Figure 25. UART-to-I2C Conversion
D1
D3
D5
D6
D7
STOP
START
D0
D2
D4
PARITY
Figure 26. UART Frame Format
SYNCHRONIZATION FRAME
STOP
DEV ADDR +
R/W
REG ADDRESS NUMBER OF BYTES
SYNC
BYTE 1
BYTE N
0
1
1
1
1
1
0
0
0
0
0
PARITY
START
4
5
Figure 27. UART Synchronization Frame
Figure 28. UART Write Packet to MAX9257/MAX9258
sent, but since CTO timed out, bypass mode ends and
base mode is active for the next vertical blanking period.
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.
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).
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.
______________________________________________________________________________________ ±5
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Read Packet
The ECU writes the sync frame, 7-bit device address
plus read/write bit (R/W = 1 for read), 8-bit register
DEV ADDR +
R/W
SYNC
REG ADDRESS NUMBER OF BYTES
address, and number of bytes to be read. The
addressed device responds with read data bytes
(Figure 29). UART read delay is maximum 4 bit times
when reading from the MAX9257 or the MAX9258.
BYTE N
BYTE 1
Figure 29. UART Read Packet
Time Between Frames
Up to two high bit times are allowed between frames.
Table 28. Control Channel Data Rate in
Base Mode
Reset of Packet Boundary
A high time ranging from 14 UART bit times or more
resets the packet boundary. In this case, the next frame
received is assumed to belong to a new packet by the
MAX9257/MAX9258 and UART-to-I2C converter.
Resetting the boundary is required. Not resetting the
boundary treats the following packets as part of the first
packet, and they may be processed incorrectly.
MAX9257 REG8[1:0]
RANGE
MAX9258 REG7[1:0]
95kbps–400kbps
00
(default)
01
10
11
400kbps–1Mbps
1Mbps–4.25Mbps
1Mbps–4.25Mbps
7/MAX9258
Data Rate
The control channel data rate in base mode is between
95kbps to 4.25Mbps (Table 28). In bypass mode, the
allowed data rate is DC to 10Mbps (Table 29). For data
rates faster than 4.25Mbps in bypass mode, REG8[5] in
MAX9257 and REG7[5] in MAX9258 must be set high.
Set the control channel data rate in base mode by writ-
ing to REG8[1:0] in the MAX9257 and REG7[1:0] in the
MAX9258. These write commands take effect in the
next control channel.
Table 29. Control Channel Data Rate in
Bypass Mode
MAX9257 REG8[5]
RANGE
MAX9258 REG7[5]
0
1
DC–4.25Mbps
Programming the FAST bit takes effect in the same con-
trol channel. Both the MAX9257 and the MAX9258
should have the same settings for FAST. It is recom-
mended to first program the FAST bit in the MAX9257.
Programming FAST to 1 results in shorter UART pulses
on the differential link.
4.25Mbps–10Mbps
Table ±0. Default Device Address
DEFAULT
DEVICE
BINARY
1111 1010
1111 1000
HEX
MAX9257/MAX9258 Device
Address Programming
The MAX9257/MAX9258 have device addresses that
can be programmed to any 7-bit address. Table 30
shows the default addresses.
MAX9257
MAX9258
0xFA
0xF8
±6 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
I2C. The SCL and SDA timings are based on the UART
bit clock. The I2C data rate is determined by UART and
can range from 95kbps to 4.25Mbps. The I2C timing
requirements scale linearly from fast mode to higher
speeds. Table 31 shows the I2C timing information for
data rates greater than 400kbps. The I2C parameters
I2C
The MAX9257 features a UART-to-I2C converter that
converts UART packets to I2C. The UART-to-I2C con-
verter works as a repeater between the ECU and exter-
nal I2C slave devices. The MAX9257 acts as the master
and converts UART read/write packets from the ECU to
I2C read/write for external I2C slave devices. For writes,
the UART-to-I2C converts the UART packets received
directly into I2C. For reads, the UART-to-I2C converter
follows the UART packet protocol. The I2C SCL clock
period is approximately the same as the UART bit clock
scale with t
. See Figure 30 for timing parameters.
UCLK
Applications Information
PRBS Test
The MAX9257/MAX9258 have built-in circuits for testing
bit errors on the serial link. The MAX9257 has a PRBS
generator and the MAX9258 has a PRBS checker. The
length of the PRBS pattern is programmable from 221 to
235 word length or continuous by programming
REG9[7:4] in the MAX9257. In case of errors, errors are
counted in the MAX9258 PRBSERR register (REG12),
and the ERROR output on the MAX9258 goes low. To
start the test, the ECU writes a 1 to PRBSEN bit of both
the MAX9257 and the MAX9258. The PRBS test can be
period (t
). The I2C speed varies with UART speed.
UCLK
I2C reads from the peripheral device do not disable the
ETO timer. Choose ETO large enough so that I2C read
commands are not lost due to ETO timing out.
I2C Timing
The MAX9257 acts like a master in I2C communication
with the peripheral device. The MAX9257 takes less
than 22 UART bit times to convert UART packets into
2
Table ±1. Timing Information for I C Data Rates Greater than 400kbps
PARAMETER
SCL Clock Frequency
SYMBOL
MIN
1
TYP
1
MAX
UNIT
f
t
UCLK*
SCL
Start Condition Hold Time
Low Period of SCL Clock
High Period of SCL Clock
t
1
1
t
HD:STA
UCLK
UCLK
UCLK
t
0.5
0.5
0.5
0.5
t
LOW
t
t
HIGH
Repeated START Condition
Setup Time
t
0.25
0.25
t
SU:STA
HD:DAT
UCLK
Data Hold Time
t
0.25
0.25
0.25
0.5
0.25
0.25
0.25
0.5
t
t
t
t
UCLK
UCLK
UCLK
UCLK
Data Setup Time
t
t
SU:DAT
SU:STO
Setup Time for STOP Condition
Bus Free Time
t
BUF
*t
UCLK
is equal to one UART period.
______________________________________________________________________________________ ±7
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
t
F
t
R
t
t
LOW
HD;STA
SCL
t
t
t
HD;DAT
t
SU;STA
HD;STA
SU;STO
t
SU;DAT
t
HIGH
SDA
t
BUF
S
P
S
P
Figure 30. I2C Timing Parameters
7/MAX9258
performed with or without spread spectrum. If the PRBS
test is programmed to run continuously, the MAX9257
must be powered down to stop the test. When pro-
grammed for a finite number of repetitions, the control
channel is enabled after the PRBS test finishes and
serialization enable (SEREN) is reset to 0. To start nor-
mal operation, the ECU must disable PRBSEN and
enable SEREN.
AC-COUPLING CAPACITOR VALUE
vs. SERIAL-DATA RATE
60
FOUR CAPACITORS PER LINK
40
20
0
Video Data Parity
Parity protection of video data is programmable for par-
allel-word widths of 16 bits or less. When programmed,
two parity bits are appended to each parallel word
latched into the MAX9257. In the MAX9258, a 16-bit
parity error counter logs parity errors. The ERROR out-
put on the MAX9258 goes low if parity errors exceed a
programmable threshold.
TWO CAPACITORS PER LINK
360 420 480 540 600 660 720 780 840
SERIAL-DATA RATE (Mbps)
AC-Coupling Benefits
AC-coupling increases the input voltage of the LVDS
receiver to the voltage rating of the capacitor. Two
capacitors are sufficient for isolation, but four capaci-
tors—two at the serializer output and two at the deseri-
alizer input—provide protection if either end of the
cable is shorted to a high voltage. AC-coupling blocks
low-frequency ground shifts and common-mode noise.
Figure 31. AC-Coupling Capacitor Values vs. Clock Frequency
from 18MHz to 42MHz
capacitor value shown in Figure 31. In general, 0.1µF
capacitors are sufficient.
Optimally Choosing AC-Coupling Capacitors
Voltage droop and the digital sum variaton (DSV) of trans-
mitted symbols cause signal transitions to start from dif-
ferent voltage levels. Because the transition time is finite,
starting the signal transition from different voltage levels
causes timing jitter. The time constant for an AC-coupled
link needs to be chosen to reduce droop and jitter to an
acceptable level. The RC network for an AC-coupled link
Selection of AC-Coupling Capacitors
See Figure 31 for calculating the capacitor values for
AC-coupling depending on the parallel clock frequency.
The plot shows minimum capacitor values for two- and
four-capacitor-per-link systems. To block the highest
common-mode frequency shift, choose the minimum
consists of the LVDS receiver termination resistor (R ),
TR
±8 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
the LVDS driver termination resistor (R ), and the series
TD
Jitter due to 2ꢀ droop and assumed 1ns transition time is:
t = 1ns x 0.02
AC-coupling capacitors (C). The RC time constant for
J
four equal-value series capacitors is (C x (R + R ))/4.
TD
TR
t = 20ps
J
R
TD
and R are required to match the transmission line
TR
impedance (usually 100Ω). This leaves the capacitor
selection to change the system time constant. In the fol-
lowing example, the capacitor value for a droop of 2ꢀ is
calculated:
The transition time in a real system depends on the fre-
quency response of the cable driven by the serializer.
The capacitor value decreases for a higher frequency
parallel clock and for higher levels of droop and jitter. Use
high-frequency, surface-mount ceramic capacitors.
4 × t × DSV
B
C = −
Power-Supply Circuits and Bypassing
All single-ended inputs and outputs on the MAX9257
ln(1 - D) × (R + R
)
TR
TD
are powered from V
. All single-ended outputs on
CCIO
where:
the MAX9258 are powered from V
. V
and
CCIO
CCOUT
C = AC-coupling capacitor (F)
V
can be connected to a +1.71V to +3.6V sup-
CCOUT
t = bit time(s)
B
ply. The input levels or output levels scale with these
supply rails.
DSV = digital sum variation (integer)
ln = natural log
Board Layout
Separate the LVCMOS/LVTTL signals and LVDS signals
to prevent crosstalk. A four-layer PCB with separate lay-
ers for power, ground, LVDS, and digital signals is rec-
ommended. Layout PCB traces for 100Ω differential
characteristic impedance. The trace dimensions
depend on the type of trace used (microstrip or
stripline). Note that two 50Ω PCB traces do not have
100Ω differential impedance when brought close
together—the impedance goes down when the traces
are brought closer.
D = droop (ꢀ of signal amplitude)
R
= driver termination resistor (Ω)
TD
TR
R
= receiver termination resistor (Ω)
The bit time (t ) is the serial-clock period or the period
B
of the pixel clock divided by the total number of bits.
The maximum DSV for the MAX9257 encoding equals
to the total number of bits transmitted in one pixel clock
cycle. This means that t x DSV ≤ t .
B
T
The capacitor for 2ꢀ maximum droop at 16MHz paral-
lel rate clock is:
Route the PCB traces for an LVDS channel (there are
two conductors per LVDS channel) in parallel to main-
tain the differential characteristic impedance. Place the
100Ω (typ) termination resistor at both ends of the
LVDS driver and receiver. Avoid vias. If vias must be
used, use only one pair per LVDS channel and place
the via for each line at the same point along the length
of the PCB traces. This way, any reflections occur at
the same time. Do not make vias into test points for
ATE. Make the PCB traces that make up a differential
pair the same length to avoid skew within the differen-
tial pair.
4 × t × DSV
B
C = -
ln(1 - D) × (R + R
)
TR
TD
Total number of bits is = 10 (data) + 2 (HSYNC and
VSYNC) + 2 (encoding) + 2 (parity) = 16
4 × 3.91ns ×16
C = -
ln(1 - .02)×(100Ω + 100Ω)
C ≥ 0.062µF
Cables and Connectors
Interconnect for LVDS typically has a differential imped-
ance of 100Ω. Use cables and connectors that have
matched differential impedance to minimize impedance
discontinuities. Twisted-pair and shielded twisted-pair
cables offer superior signal quality compared to ribbon
cable and tend to generate less EMI due to magnetic
field canceling effects. Balanced cables pick up noise
as common mode that is rejected by the LVDS receiver.
Jitter due to droop is proportional to the droop and tran-
sition time:
t = t x D
J
TT
where:
t = jitter(s)
J
t
TT
= transition time(s) (0 to 100ꢀ)
D = droop (ꢀ of signal amplitude)
______________________________________________________________________________________ ±9
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Choosing I2C Pullup Resistors
I2C requires pullup resistors to provide a logic-high level
to data and clock lines. There are tradeoffs between
power dissipation and speed, and a compromise must
be made in choosing pullup resistor values. Every device
connected to the bus introduces some capacitance even
when device is not in operation. I2C specifies 300ns rise
times to go from low to high (30ꢀ to 70ꢀ) for fast mode,
which is defined for a date rate up to 400kbps (see I2C
specifications for details). To meet the rise time require-
ment, choose the pullup resistors so the rise time
t = 0.85R
x C
< 300ns. If the transition time
R
PULLUP
BUS
becomes too slow, the setup and hold times may not be
met and waveforms will not be recognized.
MAX9257 Register Table
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
Pixel clock frequency range
00 = 5MHz to 10MHz
7:6
10
PRATE
01 = 10MHz to 20MHz
10 = 20MHz to 40MHz (default)
11 = 40MHz to 70MHz
Serial-data rate range
00 = 60Mbps to 100Mbps
01 = 100Mbps to 200Mbps
10 = 200Mbps to 400Mbps
11 = 400Mbps to 840Mbps (default)
7/MAX9258
5:4
3
11
0
SRATE
PAREN
0
Parity enable
0 = disabled (default), 1 = enabled
Parallel data width
(includes HSYNC and VSYNC, excludes DCB, INV, and parity bits)
000 = 10
001 = 12
010 = 14
011 = 16
100 = 18
101 = 18 (default)
110 = 18
2:0
101
PWIDTH
111 = 18
Spread-spectrum setting
For PRATE ranges 00, 01: all spread options possible
For PRATE ranges 10, 11: maximum spread is 2ꢀ
7:5
4:0
000
SPREAD
000 = Off (default)
001 = 1.5ꢀ
010 = 1.75ꢀ
011 = 2ꢀ
Reserved (set to 11111)
100 = Off
101 = 3ꢀ
110 = 3.5ꢀ
111 = 4ꢀ
1
11111
Control channel start timeout: (STO) times out if ECU does not start using control channel within this amount of time
after control channel session is enabled.
Control channel start timeout divider
Pixel clock is first divided by:
0000 = 16
0001 = 16
0010 = 16
0011 = 16
0100 = 16
0101 = 32
0110 = 64
0111 = 128
1000 = 256
1001 = 512
1010 = 1024 (default)
1011 = 2048
1100 = 4096
1101 = 8192
1110 = 16,384
1111 = 32,768
2
7:4
3:0
1010
0000
STODIV
Control channel start timeout counter
Divided pixel clock is used to count up to (STOCNT + 1)
STOCNT
40 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9257 Register Table (continued)
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
Control channel end timeout: (ETO) times out if ECU does not use control channel for this amount of time after it has
already used at least once.
Control channel end timeout divider
Pixel clock is first divided by:
0000 = 16
0001 = 16
0010 = 16
0011 = 16
0100 = 16
0101 = 32
0110 = 64
0111 = 128
1000 = 256
1001 = 512
1010 = 1024 (default)
1011 = 2048
1100 = 4096
1101 = 8192
1110 = 16,384
1111 = 32,768
3
7:4
1010
ETODIV
Control channel end timeout counter
Divided pixel clock is used to count up to (ETOCNT + 1)
3:0
0000
ETOCNT
VEDGE
VSYNC active edge at camera interface
0 = falling (default), 1 = rising
7
6
5
0
0
1
Reserved (set to 0)
PCLK active edge at camera interface
0 = falling, 1 = rising (default)
CKEDGE
PD
Power mode
0 = power-up, 1 = power-down
(when REM = 1 default is 1)
4
3
0
1
4
Serialization enable
0 = disabled, 1 = enabled
(when REM = 1 default is 0)
SEREN
Bypass filter PLL
0 = active (default), 1 = bypass
2
1
0
0
0
0
BYPFPLL
Reserved (set to 0)
PRBS test enable
0 = disabled (default), 1 = enabled
PRBSEN
7:1
0
1111101
0
DEVICEID
7-bit address of MAX9257
Reserved (set to 0)
5
6
7
7:1
0
1111111
1
EF
End frame to close control channel
Reserved (set to 1)
7:1
0
1111100
0
DESID
7-bit address ID of MAX9258
Reserved (set to 0)
______________________________________________________________________________________ 41
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9257 Register Table (continued)
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
Interface mode
7
0
INTMODE
0 = UART (default), 1 = I2C
Interface enable
0 = disabled (default), 1 = enabled
6
5
0
0
INTEN
FAST
Fast UART transceiver
0 = bit rate = DC to 4.25Mbps (default), 1 = bit rate = 4.25Mbps to 10Mbps
Timer to come back from bypass mode (in bit time)
8
000 = never come back (default)
100 = 64
101 = 80
110 = 96
111 = 112
4:2
000
CTO
001 = 16
010 = 32
011 = 48
Control channel bit rate range in base mode
00 = 95kbps to 400kbps (default)
01 = 400kbps to 1000kbps
10 = 1000kbps to 4250kbps
11 = 1000kbps to 4250kbps
1:0
7:4
00
BITRATE
7/MAX9258
PRBS test number of words
1111 = continuous
0000
PRBSLEN
else = 2(PRBSLEN + 21)
3
2
1
0
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
GPIO9DIR
GPIO8DIR
GPIO9*
GPIO 9 direction
0 = input (default), 1 = output
0 = input (default), 1 = output
9
GPIO 8 direction
General purpose input output 9
General purpose input output 8
GPIO 7 direction
GPIO8*
GPIO7DIR
GPIO6DIR
GPIO5DIR
GPIO4DIR
GPIO3DIR
GPIO2DIR
GPIO1DIR
GPIO0DIR
GPIO7*
0 = input (default), 1 = output
0 = input (default), 1 = output
0 = input (default), 1 = output
0 = input (default), 1 = output
0 = input (default), 1 = output
0 = input (default), 1 = output
0 = input (default), 1 = output
0 = input (default), 1 = output
GPIO 6 direction
GPIO 5 direction
GPIO 4 direction
10
GPIO 3 direction
GPIO 2 direction
GPIO 1 direction
GPIO 0 direction
General purpose input output 7
General purpose input output 6
General purpose input output 5
General purpose input output 4
General purpose input output 3
General purpose input output 2
General purpose input output 1
General purpose input output 0
GPIO6*
GPIO5*
GPIO4*
11
GPIO3*
GPIO2*
GPIO1*
GPIO0*
42 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9257 Register Table (continued)
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
LVDS driver preemphasis setting
000 = 20ꢀ
001 = 40ꢀ
010 = 60ꢀ
011 = 80ꢀ
100 = 100ꢀ
111 = off (default)
101 = 20ꢀ
110 = 20ꢀ
7:5
111
PREEMP
12
4:0
7:2
00000
Reserved (set to 00000)
000000
Reserved (set to 000000)
I2C glitch filter setting
00 = set according to programmed bit rate (default)
100ns at (95kbps to 400kbps) bit rate
50ns at (400kbps to 1000kbps) bit rate
10ns at (1000kbps to 4250kbps) bit rate
01 = 10ns, 10 = 50ns, 11 = 100ns
13
1:0
00
I2CFILT
7:1
0
(RO)
(RO)
(RO)
Reserved
14
15
LOCKED
PLL locked to pixel clock
Reserved
7:0
______________________________________________________________________________________ 4±
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9258 Register Table
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
Pixel clock frequency range
00 = 5MHz to 10MHz
7:6
10
PRATE
01 = 10MHz to 20MHz
10 = 20MHz to 40MHz (default)
11 = 40MHz to 70MHz
Serial-data rate range
00 = 60Mbps to 100Mbps
01 = 100Mbps to 200Mbps
10 = 200Mbps to 400Mbps
5:4
3
11
0
SRATE
PAREN
0
11 = 400Mbps to 840Mbps (default)
Parity enable
0 = disabled (default), 1 = enabled
Parallel data width
(includes HSYNC and VSYNC, excludes encoding and parity bits)
000 = 10
001 = 12
010 = 14
011 = 16
100 = 18
101 = 18 (default)
110 = 18
2:0
7:6
101
00
PWIDTH
7/MAX9258
111 = 18
Spread-spectrum setting
00 = Off (default)
01 = 2ꢀ
SPREAD
AER
10 = Off
11 = 4ꢀ
Autoerror reset
1 = Reset error count when control channel ends.
1
5
0
0 = Reset upon reading error registers 10, 11, 13 (default)
4:0
00000
Reserved (set to 000000)
Control channel start timeout: (STO) times out if ECU does not start using control channel within this amount of time
after control channel session is enabled.
Control channel start timeout divider
Pixel clock is first divided by :
0000 = 16
0001 = 16
0010 = 16
0011 = 16
0100 = 16
0101 = 32
0110 = 64
0111 = 128
1000 = 256
1001 = 512
1010 = 1024 (default)
1011 = 2048
1100 = 4096
1101 = 8192
1110 = 16,384
1111 = 32,768
2
7:4
3:0
1010
0000
STODIV
Control channel start timeout counter
Divided pixel clock is used to count up to (STOCNT + 1)
STOCNT
44 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
MAX9258 Register Table (continued)
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
Control channel end timeout: (ETO) times out if ECU does not use control channel for this amount of time after it has
already used at least once.
Control channel end timeout divider
Pixel clock is first divided by:
0000 = 16
0001 = 16
0010 = 16
0011 = 16
0100 = 16
0101 = 32
0110 = 64
0111 = 128
1000 = 256
1001 = 512
1010 = 1024 (default)
1011 = 2048
1100 = 4096
1101 = 8192
1110 = 16,384
1111 = 32,768
3
7:4
1010
ETODIV
Control channel end timeout counter
Divided pixel clock is used to count up to (ETOCNT + 1)
3:0
7
0000
0
ETOCNT
VEDGE
VSYNC active edge at ECU interface
0 = falling (default), 1 = rising
HSYNC active edge at ECU interface
0 = falling (default), 1 = rising
6
0
HEDGE
4
PCLK active edge at ECU interface
0 = falling, 1 = rising (default)
5
4:1
0
1
0000
0
CKEDGE
Reserved (set to 0000)
PRBS test enable
0 = disabled (default), 1 = enabled
PRBSEN
7:1
0
1111100
DEVICEID 7-bit address of MAX9258
Reserved (set to 0)
5
6
0
7:1
0
1111111
EF
End frame to close control channel
1
0
0
Reserved (set to 1)
Interface mode
7
INTMODE
INTEN
0 = UART (default), 1 = I2C
6
Interface enable
0 = disabled (default), 1 = enabled
Fast UART transceiver
0 = bit rate = DC to 4.25Mbps (default), 1 = bit rate = 4.25Mbps to 10 Mbps
5
0
FAST
Timer to come back from bypass mode (in bit time)
000 = never come back (default)
001 = 16
010 = 32
100 = 64
101 = 80
110 = 96
111 = 112
4:2
000
CTO
7
011 = 48
Control channel bit rate range in base mode
00 = 95kbps to 400kbps (default)
01 = 400kbps to 1000kbps
10 = 1000kbps to 4250kbps
11 = 1000kbps to 4250kbps
1:0
00
BITRATE
______________________________________________________________________________________ 45
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
MAX9258 Register Table (continued)
ADDRESS
BITS
DEFAULT
NAME
DESCRIPTION
Threshold for number of video parity errors (8 LSBs)
If the number of errors exceeds this value, ERR pin is asserted.
8
7:0
00010000
PATHRLO
Threshold for number of video parity errors (8 MSBs)
If the number of errors exceeds this value, ERR pin is asserted.
9
7:0
00000000
PATHRHI
10
11
7:0
7:0
(RO)
(RO)
PAERRLO Number of video parity errors (8 LSBs)
PAERRHI
Number of video parity errors (8 MSBs)
PRBS test number of bit errors
Automatically reset when PRBS test is disabled
0xFF indicates 255 or more errors
12
7:0
(RO)
PRBSERR
7:5
4
(RO)
(RO)
(RO)
(RO)
(RO)
(RO)
(RO)
Reserved
DESPERR
DESFERR
SERPERR
SERFERR
I2CERR
Parity error during communication with deserializer
Frame error during communication with deserializer
Parity error during communication with serializer
Frame error during communication with serializer
Error during communication with camera in I2C mode
Reserved
3
13
14
2
7/MAX9258
1
0
7:0
46 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Human Body Model and Machine Model ESD toler-
ances. The Human Body Model discharge components
are C = 100pF and R = 1.5kΩ (Figure 33). The IEC
ESD Protection
The MAX9257/MAX9258 ESD tolerance is rated for
Human Body Model, Machine Model, IEC 61000-4-2
and ISO 10605. The ISO 10605 and IEC 61000-4-2
standards specify ESD tolerance for electronic sys-
tems. LVDS outputs on the MAX9257 and LVDS inputs
on the MAX9258 meet ISO 10605 ESD protection and
IEC 61000-4-2 ESD protection. All other pins meet the
S
D
61000-4-2 discharge components are C = 150pF and
S
R
= 330Ω (Figure 32). The ISO 10605 discharge com-
D
ponents are C = 330pF and R = 2kΩ (Figure 34). The
S
D
Machine Model discharge components are C = 200pF
S
and R = 0Ω (Figure 35).
D
R
R
D
D
330Ω
1MΩ
1.5kΩ
CHARGE-CURRENT-
LIMIT RESISTOR
DISCHARGE
RESISTANCE
CHARGE-CURRENT-
LIMIT RESISTOR
DISCHARGE
RESISTANCE
HIGH-
VOLTAGE
DC
HIGH-
VOLTAGE
DC
DEVICE
UNDER
TEST
DEVICE
UNDER
TEST
C
C
S
100pF
S
STORAGE
CAPACITOR
STORAGE
CAPACITOR
150pF
SOURCE
SOURCE
Figure 32. IEC 61000-4-2 Contact Discharge ESD Test Circuit
Figure 33. Human Body ESD Test Circuit
R
D
2kΩ
R
D
0Ω
CHARGE-CURRENT-
LIMIT RESISTOR
DISCHARGE
RESISTANCE
CHARGE-CURRENT-
LIMIT RESISTOR
DISCHARGE
RESISTANCE
HIGH-
VOLTAGE
DC
HIGH-
VOLTAGE
DC
DEVICE
UNDER
TEST
DEVICE
UNDER
TEST
C
S
200pF
C
S
330pF
STORAGE
CAPACITOR
STORAGE
CAPACITOR
SOURCE
SOURCE
Figure 34. ISO 10605 Contact Discharge ESD Test Circuit
Figure 35. Machine Model ESD Test Circuit
Chip Information
PROCESS: CMOS
______________________________________________________________________________________ 47
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Functional Diagram
BYPASS
MAX9257 SERIALIZER
PCLK_IN
FILTER PLL
SPREAD PLL
1.5% TO 4%
LVDS Tx
1x
CLK IN
CLK OUT
ENCODE/
DC BALANCE
+
PARALLEL TO
SERIAL
DIN[0:15]
FIFO
SDO-
HSYNC_IN
VSYNC_IN
DIN WIDTH
1.2V
BIAS
100Ω
BLANK
DETECT/TIMER
SDO+
7/MAX9258
OSC
VSYNC
POLARITY
SCL(TX)
SDA(RX)
CONTROL
Tx/Rx
UART
TO I C
2
2
UART-TO-I C BYPASS
TRANSMISSION LINE
= 100Ω
Z
D
MAX9258 DESERIALIZER
2% OR 4%
SPREAD PLL
FREQ
DETECT
PCLK_OUT
DOUT[0:15]
PLL
LVDS Rx
1x
CLK OUT
CLK IN
DECODE/
DC BALANCE
+
SERIAL TO
PARALLEL
FIFO
SDI+
HSYNC_OUT
VSYNC_OUT
DOUT WIDTH
ADDRESS
1.2V
BIAS
100Ω
BLANK
DETECT/TIMER
SDI-
VSYNC
POLARITY
TX
RX
CONTROL
TX/RX
UART
OSC
48 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Pin Configurations
TOP VIEW
40 39 38 37 36 35 34 33 32 31
+
+
N.C.
CCIO
1
2
36 N.C.
35 DIN0
34 REM
VCCIO
GND
30 DIN0
1
2
3
4
V
29
REM
GND
DIN9/GPIO1
DIN10/GPIO2
DIN11/GPIO3
DIN12/GPIO4
DIN13/GPIO5
DIN14/GPIO6
3
4
33
V
CCLVDS
DIN9/GPIO1
DIN10/GPIO2
DIN11/GPIO2
DIN12/GPIO3
DIN13/GPIO5
DIN14/GPIO6
V
CCLVDS
28
27
26
25
5
32 SDO+
31 SDO-
SDO+
SDO-
GND
6
5
6
MAX9257
7
30 GND
29 GND
LVDS
SPLL
MAX9257
LVDS
SPLL
8
7
24 GND
V
9
28
CCSPLL
GND
FPLL
GPIO9
10
11
12
27
26
25
V
8
23
CCSPLL
V
GPIO8
N.C.
CCFPLL
GPIO9
9
22
21
GND
V
FPLL
N.C.
10
GPIO8
CCFPLL
11 12 13 14 15 16 17 18 19 20
TQFN-EP
CONNECT EP TO GND
LQFP
+
N.C.
1
2
36 N.C.
V
35 DOUT7
34 DOUT8
33 DOUT9
32 DOUT10
31 DOUT11
30 DOUT12
29 DOUT13
CC
GND
PD
3
4
V
5
CCLVDS
SDI-
6
MAX9258
SDI+
7
GND
8
LVDS
GND
DOUT14
9
28
27
26
25
PLL
V
GND
SPLL
10
11
12
CCPLL
ERROR
V
CCSPLL
N.C.
N.C.
LQFP
______________________________________________________________________________________ 49
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Typical Operating Circuit
10
UP TO 20m
CABLE LENGTH
10
DATA
PCLK
DATA
PCLK
HSYNC
VSYNC
SCL
SERIAL
I/O
SERIAL
I/O
HSYNC
VSYNC
LOCK
100Ω
100Ω
ECU
CMOS
IMAGE
SENSOR
SERIALIZED
DIGITAL VIDEO
MAX9258
MAX9257
TX
RX
μC
SDA
CONTROL
CHANNEL
CONTROL UNIT
REMOTE CAMERA ASSEMBLY
7/MAX9258
50 ______________________________________________________________________________________
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
7/MAX9258
Package Information
For the latest package outline information and land patterns, go
to www.maxim-ic.com/packages.
PACKAGE TYPE PACKAGE CODE DOCUMENT NO.
40 TQFN
48 LQFP
T4055+1
C48+3
21-0140
21-0054
______________________________________________________________________________________ 51
Fully Programmable Serializer/Deserializer
2
with UART/I C Control Channel
Revision History
REVISION
NUMBER
REVISION
DATE
PAGES
CHANGED
DESCRIPTION
0
1
6/08
3/09
Initial release
Added automotive qualified part numbers to Ordering Information.
—
1
7/MAX9258
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
52 ____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600
© 2009 Maxim Integrated Products
Maxim is a registered trademark of Maxim Integrated Products, Inc.
相关型号:
MAX9259GCB
Gigabit Multimedia Serial Link with Spread Spectrum and Full-Duplex Control Channel
MAXIM
MAX9259GCB/V+
Gigabit Multimedia Serial Link with Spread Spectrum and Full-Duplex Control Channel
MAXIM
MAX9259GCB/V+T
Gigabit Multimedia Serial Link with Spread Spectrum and Full-Duplex Control Channel
MAXIM
MAX9259GCBV+
Gigabit Multimedia Serial Link with Spread Spectrum and Full-Duplex Control Channel
MAXIM
MAX9259GCBV+T
Gigabit Multimedia Serial Link with Spread Spectrum and Full-Duplex Control Channel
MAXIM
MAX9259GGN
Gigabit Multimedia Serial Link with Spread Spectrum and Full-Duplex Control Channel
MAXIM
©2020 ICPDF网 联系我们和版权申明