您好、TI 专家:
我们使用连接到 TDA4 (CSI1)的 MAX9286解串器来捕获四个摄像头。 我们已经配置了 MAX9286并获得了正确的寄存器 STAUTS (Framesync 锁定、Vsync 锁定)、输出 CSI 数据类型为 YUV422-8Bit。 但是、当在 VISION_APPS 中运行 single_cam 或 multi_cam 示例时、我们得到了错误的图像。 (版本7.2 SDK、传感器为960P 25fps)
根据 e2e 上的其他线程、我们编辑代码:
/* Config initialization */
tivx_capture_params_init(&local_capture_config);
local_capture_config.numInst = 1U;
local_capture_config.numCh = 1U;
local_capture_config.instId[CAPT_INST_ID] = 1;//CAPT_INST_ID;
local_capture_config.instCfg[CAPT_INST_ID].enableCsiv2p0Support = (uint32_t)vx_true_e;
local_capture_config.instCfg[CAPT_INST_ID].numDataLanes =
sensorParams.sensorInfo.numDataLanes;
local_capture_config.chInstMap[CAPT_INST_ID] = 1U;
local_capture_config.instCfg[CAPT_INST_ID].laneBandSpeed = TIVX_CAPTURE_LANE_BAND_SPEED_560_TO_640_MBPS;
我们只有在运行 single_cam 时才会进行警告、并且帧正在计数、但帧速率错误。 (应为25fps,但小于25fps)
[MCU2_0] 3637.109145 s: VX_ZONE_WARNING:[tivxCaptureSetTimeout:759] CAPTURE: WARNING: Error frame not provided using tivxCaptureRegisterErrorFrame, defaulting to waiting forever !!!
我们还读取了 Phy 寄存器:
Read at address 0x04514020 (0xffffbb084020): 0x00000002 Read at address 0x04514028 (0xffffaef94028): 0x00000000 Read at address 0x04514048 (0xffffb8634048): 0x00333306 Read at address 0x04514040 (0xffff8ecc4040): 0x0001F01F Read at address 0x0451404C (0xffffb64d404c): 0x00000000 Read at address 0x04514050 (0xffff99ee4050): 0x00000000 Read at address 0x04514074 (0xffff8baf4074): 0x00000000 Read at address 0x04514100 (0xffff81c64100): 0x00000001 Read at address 0x04514104 (0xffff897a4104): 0x80000112 Read at address 0x04514200 (0xffffb6844200): 0x00000000 Read at address 0x04514204 (0xffff869f4204): 0x00000000 Read at address 0x04514300 (0xffffb0a94300): 0x00000000 Read at address 0x04514304 (0xffff8e414304): 0x00000100 Read at address 0x04514400 (0xffffb4804400): 0x00000000 Read at address 0x04514404 (0xffffaaad4404): 0x00000100
看起来在 Phy 中是正确的。
我们错过了什么吗? 谢谢你

