Part Number:DS90UB9702-Q1EVM
使用的tda4ve+9702 evm环境
运行用例:./vx_app_single_cam.out
选择了,
目前使用的sdk里默认的code,配置如下:
#define RAWTESTPAT_OUT_WIDTH (3840)
#define RAWTESTPAT_OUT_HEIGHT (2160)
#define RAWTESTPAT_I2C_ADDR_8BIT (0x60U)
#define RAWTESTPAT_DES_CFG_SIZE (39U)
/*RAW12*/
#define RAWTESTPAT_OUT_BYTES_PER_LINE ((RAWTESTPAT_OUT_WIDTH * 3 )>>1)
#define RAWTESTPAT_BPLN_HIGH ((RAWTESTPAT_OUT_BYTES_PER_LINE & 0xFF00)>>8)
#define RAWTESTPAT_BPLN_LOW (RAWTESTPAT_OUT_BYTES_PER_LINE & 0x00FF)
#define RAWTESTPAT_OUT_HEIGHT_HIGH ((RAWTESTPAT_OUT_HEIGHT & 0xFF00)>>8)
#define RAWTESTPAT_OUT_HEIGHT_LOW (RAWTESTPAT_OUT_HEIGHT & 0x00FF)
/*Same configuration works for UB960 (Fusion1) and UB9702 (Fusion2)*/
I2cParams ub9702DesCfg_RAWTESTPAT[RAWTESTPAT_DES_CFG_SIZE] = {
{0x32, 0x01, 0x50},
{0x1F, 0x10, 0x1},
{0xC9, 0x32, 0x1},
{0xB0, 0x1C, 0x1},
{0xB1, 0x92, 0x1},
{0xB2, 0x40, 0x1},
{0xB0, 0x01, 0x1},
{0xB1, 0x01, 0x1},
{0xB2, 0x01, 0x1},
{0xB1, 0x02, 0x1},
{0xB2, 0xF3, 0x1},
{0xB1, 0x03, 0x1},
{0xB2, 0x2C, 0x1},
{0xB1, 0x04, 0x1},
{0xB2, RAWTESTPAT_BPLN_HIGH, 0x1},
{0xB1, 0x05, 0x1},
{0xB2, RAWTESTPAT_BPLN_LOW, 0x1},
{0xB1, 0x06, 0x1},
{0xB2, 0x02, 0x1},
{0xB1, 0x07, 0x1},
{0xB2, 0x80, 0x1},/*D0*/
{0xB1, 0x08, 0x1},
{0xB2, RAWTESTPAT_OUT_HEIGHT_HIGH, 0x1},
{0xB1, 0x09, 0x1},
{0xB2, RAWTESTPAT_OUT_HEIGHT_LOW, 0x1},
{0xB1, 0x0A, 0x1},
{0xB2, 0x08, 0x1},
{0xB1, 0x0B, 0x1},
{0xB2, 0x80, 0x1},
{0xB1, 0x0C, 0x1},
{0xB2, 0x04, 0x1},
{0xB1, 0x0D, 0x1},
{0xB2, 0x7D, 0x1},
{0xB1, 0x0E, 0x1},
{0xB2, 0x07, 0x1},
{0xB1, 0x0F, 0x1},
{0xB2, 0x08, 0x1},
{0x33, 0x02, 0x1},
{0xFFFF, 0x00, 0x0} /*End of script */
};
结果保存出的图像数据都是0,raw全黑,yuv全绿
有点怀疑是不是9702没有正常工作或者pattern数据输出有问题。
所以请问,哪些寄存器可以判断9702的工作状态,是否有正确的视频流输出?
感谢!
Kailyn Chen:
您好,9702是NDA器件,不方便在公共论坛上回复,关于您的问题我这边给您发个邮件。
,
Kailyn Chen:
已经通过outlook发到您的邮箱里,论坛这里我就关闭了。