通过nano_x8b_init_setting的寄存器配置,J5平台可以接收6fps的图像数据。 我修改了下面读出的寄存器值,fps变成了30fps。但是J5平台无法正确接收30fps的图像数据。dmesg中有如下错误打印。怎么配置让ov x8b通过mipi接口直接连接J5平台,正确接收30fps的图像数据呢?
E/ ( 1599): [197.633987][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x380e value 0x54c
E/ ( 1599): [197.634659][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x380c value 0x3f5
E/ ( 1599): [197.635300][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x384c value 0x1ec
E/ ( 1599): [197.635956][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x388c value 0x1e7
E/ ( 1599): [197.636612][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x3808 value 0xf00
E/ ( 1599): [197.637268][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x380a value 0x870
E/ ( 1599): [197.637817][hb_i2c]:[hb_vin_i2c_read_reg16_data8][184]r16d8 read 1@0x36 0x326 value 0xce
E/ ( 1599): [197.638397][hb_i2c]:[hb_vin_i2c_read_reg16_data8][184]r16d8 read 1@0x36 0x323 value 0x2
E/ ( 1599): [197.639038][hb_i2c]:[hb_vin_i2c_read_reg16_data16][145]r16d16 read 1@0x36 0x324 value 0x195
E/ ( 1599): [197.639603][hb_i2c]:[hb_vin_i2c_read_reg16_data8][184]r16d8 read 1@0x36 0x32a value 0x4
E/ ( 1599): [197.640167][hb_i2c]:[hb_vin_i2c_read_reg16_data8][184]r16d8 read 1@0x36 0x32b value 0x4
I/ ( 1599): [197.640198][ov x8b]:HMAX = 1992, VMAX = 1356, width = 3840, height = 2160, lines_per_second = 40662, xclk = 24, fps = 29.987206
dmesg 错误打印
[ 3184.329203] ioctl sensor0 start 142
[ 3184.329236] vps mipi_host0: start cmd: 0 real
[ 3184.329243] vps mipi_host0: check hs reception
[ 3184.330249] vps mipi_host0: entry hs reception
[ 3184.330255] vps mipi_host0 stl: phychk done
[ 3184.330299] vps mipi_host0 stl: start done
[ 3184.330341] vps mipi_dev0: start cmd: 0 real
[ 3184.330360] vps mipi_dev0 stl: fifo full check done
[ 3184.330382] vps mipi_dev0 stl: start done
[ 3184.356037] vps mipi_host0: irq status 0x4
[ 3184.356048] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.356134] i2c i2c-1: i2c address 0x36 flags 0x0 len 2 reg 0x00
[ 3184.356146] i2c i2c-1:
[ 3184.389405] vps mipi_host0: irq status 0x4
[ 3184.389415] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.422728] vps mipi_host0: irq status 0x4
[ 3184.422736] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.456079] vps mipi_host0: irq status 0x4
[ 3184.456092] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.489402] vps mipi_host0: irq status 0x4
[ 3184.489416] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.522750] vps mipi_host0: irq status 0x4
[ 3184.522763] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.556119] vps mipi_host0: irq status 0x4
[ 3184.556133] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.589465] vps mipi_host0: irq status 0x4
[ 3184.589480] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.622837] vps mipi_host0: irq status 0x4
[ 3184.622850] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.656162] vps mipi_host0: irq status 0x4
[ 3184.656177] vps mipi_host0: bndry_frm_fatal: 0x1
[ 3184.689483] vps mipi_host0: irq status 0x4
[ 3184.689496] vps mipi_host0: bndry_frm_fatal: 0x1