From 46191df6bb0638f102d0bb3811d0355ac616b2ef Mon Sep 17 00:00:00 2001 From: robbederks Date: Wed, 20 Jan 2021 12:54:20 +0100 Subject: [PATCH] Change qcom2 fserial and readout timing (#19820) Co-authored-by: Comma Device old-commit-hash: 5eb16b11932c6fc6fc57eab1464eba141172089a --- selfdrive/camerad/cameras/sensor2_i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selfdrive/camerad/cameras/sensor2_i2c.h b/selfdrive/camerad/cameras/sensor2_i2c.h index 73303d9a90..82292347b9 100644 --- a/selfdrive/camerad/cameras/sensor2_i2c.h +++ b/selfdrive/camerad/cameras/sensor2_i2c.h @@ -267,7 +267,7 @@ struct i2c_random_wr_payload init_array_ar0231[] = { {0x302A, 0x0006}, // VT_PIX_CLK_DIV {0x302C, 0x0001}, // VT_SYS_CLK_DIV {0x302E, 0x0002}, // PRE_PLL_CLK_DIV - {0x3030, 0x002C}, // PLL_MULTIPLIER + {0x3030, 0x0028}, // PLL_MULTIPLIER {0x3036, 0x000A}, // OP_WORD_CLK_DIV {0x3038, 0x0001}, // OP_SYS_CLK_DIV {0x30B0, 0x0800}, // DIGITAL_TEST @@ -314,8 +314,8 @@ struct i2c_random_wr_payload init_array_ar0231[] = { {0x340A, 0xE6}, // E6 // 0000 1110 0110 {0x340C, 0x802}, // 2 // 0000 0000 0010 - // FPS = 88e6 / 0x09C4 / 0x06E0 = 20 - {0x300C, 0x09B4}, // LINE_LENGTH_PCK_ 9B4 + // Readout timing + {0x300C, 0x074B}, // LINE_LENGTH_PCK: min for 3-exposure HDR {0x300A, 0x06EB}, // FRAME_LENGTH_LINES_ 6EB {0x3042, 0x0000}, // EXTRA_DELAY