Part Number: TDA2EG
Other Parts Discussed in Thread: TDA2E
Hi
I am try to test the usecase "csi2_cal_multi_cam_view" on TDA2Ex, and got the following error:
It means the I2C communication based on interrupt mode between TDA2Ex and UB964 is failed.
So i have some questions about the I2C interrupt mode:
Q1: I2C hardware setup
According to the page 10 of "VisionSDK_UserGuide_TDA2Ex", the complete setup is as follows, only CSI2 interface is connected and I2C interface (red circle) is not connected:
And from page19 of the "TDA2Ex EVM CPU Board User's Guide":
so , shall we connect the I2C5 pin of TDA2E to the Ub964 daughter board? And how to connect?
Q2: UB964 Interrupt Output pin hardware setup
UB964 has a output pin named "INTB" to output the interrupt signals. Shall we connect this pin to TDA2Ex soc?
From the error msg "i2c transfer Timeout IRQ not received", it seems that the interrupt signal from UB964 has not been sent to TDA2Ex correctly. So what i should do about "INTB" pin?
Q3: Interrupt number set (lld_hsi2c_initParam_t->i2cIntNum)
From the log of "lld_hsi2c_initParam_t->i2cIntNum", i found that the current interrupt number is 41.
From the page 5872 of "DRA75x, DRA74x Technical Reference Manual":
so does the "lld_hsi2c_initParam_t->i2cIntNum" should be same with the default IRQ mapping of I2C?
For the TDA2Ex, which use the I2C5 to connect the CSI2 camera, does not have the default IRQ mapping to IPU1, and out VSDK usecases are
run on the IPU1, so how to set the I2C interrupt number?
Q4: Are there any other possible reasons about " i2c transfer Timeout IRQ not received" error?
Thanks
xuanbo