Hi!
I am developing on the TDA2Px EVM with fusion application board ? and use the PROCESSOR_SDK_VISION_03_07_00_00.
I use the IMX390, AR0233 cameras with the Coax connectors.
I'm running the issIspSimcop_Display usecase (1CH ISS Capture) and I receive the image on display when I connect camera to connector Cam0
I want to test the single ISS camera capture from other connectors, using deserializer #0(for cameras)cam0..cam3 and deserializer #1 (for radars) radar0..radar3 and connect the camera to any of 4 CAM and 4 RADAR coax connectors
But when I connect camera to connectors Cam1..Cam3 I receive only green screen and error message in console:
[IPU1-0] 16.269505 s: i2cMdSubmitChan: i2c4 transfer to slave address 0x76 failed [IPU1-0] 16.269627 s: src/bsp_deviceI2c.c @ Line 580: [IPU1-0] 16.269718 s: I2C4: DEV 0x76: WR 0x01 = 0x02 ... ERROR !!! [IPU1-0] 16.270023 s: src/bsp_deviceI2c.c @ Line 602: [IPU1-0] 16.270084 s: I2C4: Error timeout 1 ms!!! [IPU1-0] 16.270145 s: Could not configure serializer !!! [IPU1-0] 16.270206 s: Failed to initialize the serializer on camera # 0!!! [IPU1-0] 16.270298 s: --- IssUtils_appInitUb960 [IPU1-0] 16.270359 s: Assertion @ Line: 512 in /home/git/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/iss/src! [IPU1-0] 16.271060 s: Assertion @ Line: 512 in /home/git/PROCESSOR_SDK_VISION_03_07_00_00/vision_sdk/apps/src/rtos/iss/src!
I was trying to change the camera settings from iss_sensor_tda2px.c but no results:
switching PORT_0_SENSOR_ADDR and PORT_0_SER_ADDR to PORT_1_SENSOR_ADDR and PORT_1_SER_ADDR
Also I was trying to use the second deserializer (for radars) with the cameras:
I switched the i2c addresses of the deserializers in code 0x36 and 0x3D -
{SENSOR_APTINA_AR0233_MARS,
{
4u, /* TDA3X EVM board uses I2C instance 1 */
{PORT_0_SENSOR_ADDR,
PORT_1_SENSOR_ADDR,
PORT_2_SENSOR_ADDR,
PORT_3_SENSOR_ADDR,
PORT_4_SENSOR_ADDR,
PORT_5_SENSOR_ADDR,
PORT_6_SENSOR_ADDR,
PORT_7_SENSOR_ADDR}, /* Sensor alias address */
{PORT_0_SER_ADDR,
PORT_1_SER_ADDR,
PORT_2_SER_ADDR,
PORT_3_SER_ADDR,
PORT_4_SER_ADDR,
PORT_5_SER_ADDR,
PORT_6_SER_ADDR,
PORT_7_SER_ADDR}, /* Serializer alias address */
TRUE, /* isMultiChannel */
SYSTEM_VIFW_2LANES, SYSTEM_VIFM_SCH_CSI2,
SYSTEM_CSI2_RAW12 /* CSI2 DataFormat*/,
0 /*Virtual Channel Id*/,
0, /* Is CSI Enable Required in UB960 */
{{TRUE /* isCplxCfgValid */,
{{FALSE, 1}, /* Clock Lane */
{FALSE, 2}, /* data1Lane */
{FALSE, 3}, /* data2Lane */
{FALSE, 0}, /* data3Lane*/
{FALSE, 0}},/* data4Lane */
800 /* csi2PhyClk */ },
{TRUE /* isCplxCfgValid */,
{{FALSE, 1}, /* Clock Lane */
{FALSE, 2}, /* data1Lane */
{FALSE, 3}, /* data2Lane */
{FALSE, 0}, /* data3Lane*/
{FALSE, 0}},/* data4Lane */
800 /* csi2PhyClk */ }},
FVID2_VID_SENSOR_MARS_APT_AR0233_DRV, /* sensorDrvId */
FALSE, /* sensorBroadcast */
FALSE, /* enableFsin */
{0x36, 0x3d}}},
and I received in console the successful camera initialization but display shows only black image
[IPU1-0] 14.904105 s: sensorSerDesCfg: AR0233_UB953_MARS
[IPU1-0] 14.904227 s: : broadCastEnable 12
[IPU1-0] 14.904257 s: : cam_pwr_level 3
[IPU1-0] 14.913774 s: sensorIntfInfo
[IPU1-0] 14.913835 s: clk_pol 0 0
[IPU1-0] 14.913896 s: clk_pos 1 1
[IPU1-0] 14.913957 s: d1_pol 0 0
[IPU1-0] 14.914018 s: d1_pos 2 2
[IPU1-0] 14.914079 s: d2_pol 0 0
[IPU1-0] 14.914109 s: d2_pos 3 3
[IPU1-0] 14.914170 s: d3_pol 0 0
[IPU1-0] 14.914231 s: d3_pos 0 0
[IPU1-0] 14.914292 s: d4_pol 0 0
[IPU1-0] 14.914353 s: d4_pos 0 0
[IPU1-0] 14.914414 s: ph clk 800 800
[IPU1-0] 14.914475 s: isCmplxIoCfgValid 1 1
[IPU1-0] 14.914536 s: des addr 36 3d
[IPU1-0] 14.914597 s: enableFsin 00
[IPU1-0] 14.914658 s: i2c 40 42 44 46 48 4a 4c 4e
[IPU1-0] 14.914750 s: ser 74 76 78 7a 7e 7c 80 82
[IPU1-0] 14.914872 s: i2cInstId 00000004
[IPU1-0] 14.914933 s: inCsi2DataFormat 0000002c
[IPU1-0] 14.914994 s: inCsi2VirtualChanNum 00000000
[IPU1-0] 14.915055 s: isEnableCSIPostConfig 00
[IPU1-0] 14.915116 s: isMultiChannel 01
[IPU1-0] 14.915177 s: sensorBroadcast 00
[IPU1-0] 14.915238 s: sensorDrvId 00
[IPU1-0] 14.915299 s: videoIfMode 00000008
[IPU1-0] 14.915360 s: videoIfWidth 0000000a
[IPU1-0] 14.915421 s: *** UTILS: CPU KHz = 20000 Khz ***
[IPU1-0] 14.915482 s: +++ IssUtils_appInitUb960
[IPU1-0] 14.915543 s: slaveAddr 00000036
[IPU1-0] 14.915604 s: numSource 00000001
[IPU1-0] 14.915665 s: rSlave1Addr[0] 00000074
[IPU1-0] 14.915726 s: rSlave2Addr[0] 00000040
[IPU1-0] 14.915787 s: rSlave1Addr[1] 00000076
[IPU1-0] 14.915848 s: rSlave2Addr[1] 00000042
[IPU1-0] 14.915909 s: rSlave1Addr[2] 00000078
[IPU1-0] 14.915970 s: rSlave2Addr[2] 00000044
[IPU1-0] 14.916031 s: rSlave1Addr[3] 0000007a
[IPU1-0] 14.916092 s: rSlave2Addr[3] 00000046
[IPU1-0] 15.741353 s: Setting Camera Power to 3!!!
[IPU1-0] 15.741414 s: Waiting for 500 milliseconds!!!
[IPU1-0] 16.241353 s: Serilaizer # 0 has I2CAddr 74 !!!
[IPU1-0] 16.241444 s: configSerializer: i2cDevAddr 116
[IPU1-0] 16.482767 s: --- IssUtils_appInitUb960
[IPU1-0] 16.983377 s: AR0233_RX: 04 40 3000 0956
[IPU1-0] 16.983468 s: AR0233: I2CAddr 0x40 Chip Id = 956
[IPU1-0] 22.465503 s: ### Enablig CSI output
[IPU1-0] 22.865918 s: #### Sensor Config time = 7950 msec ####
[IPU1-0] 22.866040 s: DISPLAY: Start in progress !!!
[IPU1-0] 22.866131 s: DISPLAY: Start Done !!!
[IPU1-0] 22.872903 s: DISPLAY: Start in progress !!!
[IPU1-0] 22.872994 s: DISPLAY: Start Done !!!
[IPU1-0] 22.873147 s: DISPLAY: Start in progress !!!
[IPU1-0] 22.873208 s: DISPLAY: Start Done !!!
[IPU1-0] 22.873360 s: ISSCAPTURE: Start in progress !!!
[IPU1-0] 22.873543 s: ISSCAPTURE: Start Done !!!
[IPU1-0] 22.873696 s:
[IPU1-0]
[IPU1-0] ====================
[IPU1-0] Chains Run-time Menu
[IPU1-0] ====================
[IPU1-0]
[IPU1-0] 0: Stop Chain
[IPU1-0]
[IPU1-0] 1: Toggle VTNF ON/OFF
[IPU1-0] 2: Toggle LDC ON/OFF
So, how can I modify the code to test the single ISS camera capture using different from the camera channel #0 on fusion application board?


