Post Go back to editing

GMSL Deserializer configuration

Category: Hardware
Product Number: max96712, max967

Hello,

I'm encountering an issue with my deserializer setup.

I've been using a MAX96724F deserializer to generate a pattern for a preview, and it's been working fine.

However, when I switched to a MAX96712 deserializer and used the same I2C initialization code, I'm unable to get the preview to function.

I suspect there might be differences in the I2C initialization between the two deserializers. Could you please help me identify and resolve this issue?

# max96712_reset
0x52,0x0013,0x75

# max96712_mipi_disble
0x52,0x040b,0x00

# Select 2x4 mode
0x52,0x08a0,0x04

# Configure a 4-lane DPHY using PHY0 and PHY1
0x52,0x094a,0xc0

# Configure lane mapping for PHY0 and PHY1
0x52,0x08a3,0xe4

# Configure lane polarity for PHY0 and PHY1.
0x52,0x08a5,0x00

0x52,0x0415,0x16
0x52,0x0418,0x16

0x52,0x08a2,0xf4

# PCLK 75MHz. */
0x52,0x0009,0x01

# Configure Video Timing Generator for 1920x1080 @ 30 fps
0x52,0x1052,0x00
0x52,0x1053,0x00
0x52,0x1054,0x00
0x52,0x1055,0x00
0x52,0x1056,0x2a
0x52,0x1056,0xf8
0x52,0x1058,0x25
0x52,0x1059,0x68
0x52,0x105a,0xe0
0x52,0x105b,0x00
0x52,0x105c,0x00
0x52,0x105d,0x00
0x52,0x105e,0x00
0x52,0x105f,0x2c
0x52,0x1060,0x08
0x52,0x1061,0x6c
0x52,0x1062,0x04
0x52,0x1063,0x65
0x52,0x1064,0x01
0x52,0x1065,0x61
0x52,0x1066,0x58
0x52,0x1067,0x07
0x52,0x1068,0x80
0x52,0x1069,0x01
0x52,0x106a,0x18
0x52,0x106b,0x04
0x52,0x106c,0x38

# Generate VS, HS and DE in free-running mode.
0x52,0x1050,0xfb

# Configure Video Pattern Generator. */
# Set checkerboard pattern size. */
0x52,0x1074,0x3c
0x52,0x1075,0x3c
0x52,0x1076,0x3c

# Set checkerboard pattern colors. */
0x52,0x106e,0xfe 0xcc 0x00
0x52,0x1071,0x00 0x6a 0xa7

# Generate checkerboard pattern. */
0x52,0x1051,0x10

0x52,0x040E,0xA4
0x52,0x040F,0x94
0x52,0x0410,0x90
0x52,0x0411,0xD8
0x52,0x0412,0x60

# Set MAP_EN_L_0 for map 0
0x52,0x090B,0x07
0x52,0x092D,0x15
0x52,0x090D,0x24
0x52,0x090E,0x24
0x52,0x090F,0x00
0x52,0x0910,0x00
0x52,0x0911,0x01
0x52,0x0912,0x01

# Set MAP_EN_L_3 for map 1
0x52,0x094B,0x07
0x52,0x096D,0x15
0x52,0x094D,0x24
0x52,0x094E,0x64
0x52,0x094F,0x00
0x52,0x0950,0x40
0x52,0x0951,0x01
0x52,0x0952,0x41

# Set MAP_EN_L_1 for map 2
0x52,0x098B,0x07
0x52,0x09AD,0x15
0x52,0x098D,0x24
0x52,0x098E,0xA4
0x52,0x098F,0x00
0x52,0x0990,0x80
0x52,0x0991,0x01
0x52,0x0992,0x81

# Set MAP_EN_L_3 for map 3
0x52,0x09CB,0x07
0x52,0x09ED,0x15
0x52,0x09CD,0x24
0x52,0x09CE,0xE4
0x52,0x09CF,0x00
0x52,0x09D0,0xC0
0x52,0x09D1,0x01
0x52,0x09D2,0xC1

# max96712_mipi_enable */
0x52,0x040b,0x02
0x52,0x08a0,0x84


Thank you.