ZHCSFS6B July 2016 – June 2018 SN65DSI85-Q1
PRODUCTION DATA.
The SN65DSI85-Q1 supports a pattern generation feature on LVDS Channels. This feature can be used to test the LVDS output path and LVDS panels in a system platform. The pattern generation feature can be enabled by setting the CHA_TEST_PATTERN bit at address 0x3C. No DSI data is received while the pattern generation feature is enabled.
There are three modes available for LVDS test pattern generation. The mode of test pattern generation is determined by register configuration as shown in the tables below.
Test pattern generation mode | Register configurations |
---|---|
Single LVDS configuration mode | LVDS_LINK_CFG(CSR 0x18.4) = 1b
DSI_CH_MODE(CSR 0x10.6:5) = XXb CHA_TEST_PATTERN(CSR 0x3C.4) = 1b CHB_TEST_PATTERN(CSR 0x3C.0) = 0b |
Dual LVDS configuration mode | LVDS_LINK_CFG(CSR 0x18.4) = 0b
DSI_CH_MODE(CSR 0x10.6:5) = 0Xb CHA_TEST_PATTERN(CSR 0x3C.4) = 1b CHB_TEST_PATTERN(CSR 0x3C.0) = 0b |
Two independent LVDS configuration mode | LVDS_LINK_CFG(CSR 0x18.4) = 0b
DSI_CH_MODE(CSR 0x10.6:5) = 10b CHA_TEST_PATTERN(CSR 0x3C.4) = 1b CHB_TEST_PATTERN(CSR 0x3C.0) = 1b |
The Table 3 and Table 4 list video registers that must be configured for test pattern generation video parameters.
ADDRESS BIT | REGISTER NAME | SECTION |
---|---|---|
0x20.7:0 | CHA_ACTIVE_LINE_LENGTH_LOW | Video Registers |
0x21.3:0 | CHA_ACTIVE_LINE_LENGTH_HIGH | |
0x24.7:0 | CHA_VERTICAL_DISPLAY_SIZE_LOW | |
0x25.3:0 | CHA_VERTICAL_DISPLAY_SIZE_HIGH | |
0x2C.7:0 | CHA_HSYNC_PULSE_WIDTH_LOW | |
0x2D.1:0 | CHA_HSYNC_PULSE_WIDTH_HIGH | |
0x30.7:0 | CHA_VSYNC_PULSE_WIDTH_LOW | |
0x31.1:0 | CHA_VSYNC_PULSE_WIDTH_HIGH | |
0x34.7:0 | CHA_HORIZONTAL_BACK_PORCH | |
0x36.7:0 | CHA_VERTICAL_BACK_PORCH | |
0x38.7:0 | CHA_HORIZONTAL_FRONT_PORCH | |
0x3A.7:0 | CHA_VERTICAL_FRONT_PORCH |
Both Channel A and Channel B register parameters need to be configured.
ADDRESS BIT | REGISTER NAME | SECTION |
---|---|---|
Channel A | ||
0x20.7:0 | CHA_ACTIVE_LINE_LENGTH_LOW | Video Registers |
0x21.3:0 | CHA_ACTIVE_LINE_LENGTH_HIGH | |
0x24.7:0 | CHA_VERTICAL_DISPLAY_SIZE_LOW | |
0x25.3:0 | CHA_VERTICAL_DISPLAY_SIZE_HIGH | |
0x2C.7:0 | CHA_HSYNC_PULSE_WIDTH_LOW | |
0x2D.1:0 | CHA_HSYNC_PULSE_WIDTH_HIGH | |
0x30.7:0 | CHA_VSYNC_PULSE_WIDTH_LOW | |
0x31.1:0 | CHA_VSYNC_PULSE_WIDTH_HIGH | |
0x34.7:0 | CHA_HORIZONTAL_BACK_PORCH | |
0x36.7:0 | CHA_VERTICAL_BACK_PORCH | |
0x38.7:0 | CHA_HORIZONTAL_FRONT_PORCH | |
0x3A.7:0 | CHA_VERTICAL_FRONT_PORCH | |
Channel B | ||
0x22.7:0 | CHB_ACTIVE_LINE_LENGTH_LOW | Video Registers |
0x23.3:0 | CHB_ACTIVE_LINE_LENGTH_HIGH | |
0x26.7:0 | CHB_VERTICAL_DISPLAY_SIZE_LOW | |
0x27.3:0 | CHB_VERTICAL_DISPLAY_SIZE_HIGH | |
0x2E.7:0 | CHB_HSYNC_PULSE_WIDTH_LOW | |
0x2F.1:0 | CHB_HSYNC_PULSE_WIDTH_HIGH | |
0x32.7:0 | CHB_VSYNC_PULSE_WIDTH_LOW | |
0x33.1:0 | CHB_VSYNC_PULSE_WIDTH_HIGH | |
0x35.7:0 | CHB_HORIZONTAL_BACK_PORCH | |
0x37.7:0 | CHB_VERTICAL_BACK_PORCH | |
0x39.7:0 | CHB_HORIZONTAL_FRONT_PORCH | |
0x3B.7:0 | CHB_VERTICAL_FRONT_PORCH |