This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I2C[3] on IPNC RDK

Other Parts Discussed in Thread: DM385

Hi All,

We have a DM385 based custom board, we use camera sensor on I2C[3] using IPNC RDK 3.5.

Following are the pinmux and clock details.

After bootup value of CM_ALWON_I2C_1_CLKCTRL (0x48181568) is 0x00000002.

i2c3 mux0 PINCNTL22/23 are used value of 0x4814 0854 & 0x4814 0858 are 0x000E0020.


With this above changes we could able to do read/write from u-boot, but from M3VPSS firmware its hangs after calling the function "Iss_device16AddWrite8" and i2c3_scl line pulled low.

[m3video]  3306: SYSTEM  : System Video Init in progress !!!
 [m3vpss ]  3306: SYSTEM  : System VPSS Init in progress !!!
 [m3video]  3306: SYSTEM  : System Video Init Done !!!
 [m3vpss ]  3306: SYSTEM: All VPDMA Free !!!
 [m3video]  3307: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_0] in region 0 ...
 [m3vpss ] IN Vps_platformTI8107SetPinMux
 [m3video]  3307: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_0] in region 0 ...
 [m3video]  3307: SYSTEM: ListElem Shared Addr = 0xbe984180
 [m3video]  3310: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_1] in region 0 ...
 [m3video]  3310: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_1] in region 0 ...
 [m3video]  3310: SYSTEM: ListElem Shared Addr = 0xbe987680
 [m3video]  3322: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_28] in region 0 ...
 [m3vpss ] === I2C0/2 Clk is active ===
 [m3video]  3322: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_28] in region 0 ...
 [m3vpss ] === I2C1/3 Interface Clk is active ===
 [m3video]  3322: SYSTEM: ListElem Shared Addr = 0xbe98ab80
 [m3vpss ] PLATFORM: UNKNOWN CPU detected, defaulting to VPS_PLATFORM_CPU_REV_1_0
 [m3video]  3325: SYSTEM: Creating ListMP [VIDEO-M3_IPC_OUT_29] in region 0 ...
 [m3vpss ] IN Iss_platformTI814xSetPinMux
 [m3video]  3325: SYSTEM: Creating ListMP [VIDEO-M3_IPC_IN_29] in region 0 ...
 [m3vpss ]  PLATFORM: UNKNOWN CPU detected, defaulting to ISS_PLATFORM_CPU_REV_2_1
 [m3video]  3325: SYSTEM: ListElem Shared Addr = 0xbe9a4800
 [m3vpss ]  3325: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_0] in region 0 ...

[m3vpss ]  3326: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_0] in region 0 ...
 [m3vpss ]  3326: SYSTEM: ListElem Shared Addr = 0xbe9be480
 [m3video]  3327: HDVICP: Doing PRCM for IVAHD[0] ...
 [m3vpss ]  3329: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_1] in region 0 ...
 [m3video]  3328: HDVICP: PRCM for IVAHD[0] ... DONE.
 [m3vpss ]  3329: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_1] in region 0 ...
 [m3video]  3328: SYSTEM  : Initializing Links !!!
 [m3vpss ]  3329: SYSTEM: ListElem Shared Addr = 0xbe9c1980
 [m3video]  3329: SYSTEM  : FREE SPACE : System Heap      = 2089032 B, Mbx = 10240 msgs)
 [m3vpss ]  3345: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_23] in region 0 ...
 [m3vpss ]  3345: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_23] in region 0 ...
 [m3video]  3329: SYSTEM  : FREE SPACE : SR0 Heap         = 15985024 B (15 MB)
 [m3vpss ]  3345: SYSTEM: ListElem Shared Addr = 0xbe9c4e80
 [m3video]  3329: SYSTEM  : FREE SPACE : Frame Buffer     = 110100352 B (104 MB)
 [m3vpss ]  3348: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_24] in region 0 ...
 [m3vpss ]  3348: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_24] in region 0 ...
 [m3video]  3329: SYSTEM  : FREE SPACE : Bitstream Buffer = 78643072 B (74 MB)
 [m3vpss ]  3349: SYSTEM: ListElem Shared Addr = 0xbe9e4880
 [m3vpss ]  3352: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_25] in region 0 ...
 [m3video]  3329: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
[m3vpss ]  3352: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_25] in region 0 ...
 [m3video]  3330: SYSTEM  : FREE SPACE : Tiler Buffer     = 127 B (0 MB)  - TILER OFF
 [m3vpss ]  3352: SYSTEM: ListElem Shared Addr = 0xbea04280
 [m3vpss ]  3359: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_28] in region 0 ...
 [m3vpss ]  3360: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_28] in region 0 ...
 [m3vpss ]  3360: SYSTEM: ListElem Shared Addr = 0xbea23c80
 [m3vpss ]  3363: SYSTEM: Creating ListMP [VPSS-M3_IPC_OUT_29] in region 0 ...
 [m3vpss ]  3363: SYSTEM: Creating ListMP [VPSS-M3_IPC_IN_29] in region 0 ...
 [m3vpss ]  3363: SYSTEM: ListElem Shared Addr = 0xbea3d900
 [m3vpss ]  3365: SYSTEM : HDVPSS Drivers Version: HDVPSS_01_00_01_37
 [m3vpss ]  3366: SYSTEM  : FVID2 Init in progress !!!
 [m3video]  3387: SYSTEM  : Initializing Links ... DONE !!!
 [m3vpss ]  3430: SYSTEM  : FVID2 Init in progress DONE !!!
 [m3vpss ]  3431: SYSTEM  : Device Init in progress !!!
 [m3vpss ]  Iss_init called !!!!!!
 [m3vpss ]  Iss_csi2 init called !!!!!!
 [m3vpss ]  CPIS_init DONE !!!!!!
 [m3vpss ] initPrms.isI2cInitReq = 1
 [m3vpss ] initPrms.isI2cInitReq = 1
 [m3vpss ] PSP_i2cInit 0
 [m3vpss ] PSP_i2cInit 1
 [m3vpss ] PSP_i2cInit 2
 [m3vpss ] PSP_i2cInit 3
 [m3vpss ]  Vps_deviceInit Daughter card not detected/connected!
 [m3vpss ]
 [m3vpss ] TI_8107_BUILD
 [m3vpss ]  3617: SYSTEM  : Device Init in progress DONE !!!
 [m3vpss ] gOv5640_I2c_ctrl.i2cInstId is 3
 [m3vpss ] Iss_device16AddWrite8

Please help me to solve this.

Regards,

Manoj