Hi When tested the OV5650 Camera with the custom board (4460).
The sensor is detected however the ducati gives following error.
[ERR=340] src/camera_DRV.c:[1229]:Sensor timeout error: 3300!!!
Attached is the detailed log.
Thanks
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.
Hi When tested the OV5650 Camera with the custom board (4460).
The sensor is detected however the ducati gives following error.
[ERR=340] src/camera_DRV.c:[1229]:Sensor timeout error: 3300!!!
Attached is the detailed log.
Thanks
Since you have mentioned this is on a custom board, you need to check the following:
1. Sensor data i/f is CSIA, not CSIB
2. Clock source and frequency is same as on Blaze
3. The position of CSI data lanes is the same
Check the clock and supply signals to your Camera module as Mayank recommends:
See the state of the listed PRCM registers:
Clock signal - CAM_PHY_CTRL_CLK clock status CM_CAM_CLKSTCTRL[9] CLKACTIVITY_CAM_PHY_CTRL_CLK
Clock signal ISS_CLK clock status CM_CAM_CLKSTCTRL[8] CLKACTIVITY_ISS_CLK
Clock Domain State Transition Control CM_CAM_CLKSTCTRL[1:0] CLKTRCTRL - this must be set to 0x3 HW_AUTO.
Check the register manages the ISS clocks - CM_CAM_ISS_CLKCTRL[1:0] MODULEMODE 0x2 Module is explicitly enabled.
Check the power state of PD_CAM domain - PM_CAM_PWRSTCTRL[1:0] POWERSTATE - 0x3: ON State
After enabling of ON state, check the power status - PM_CAM_PWRSTST[1:0] POWERSTATEST
Best regards,
Yanko
Hi Yanko.
I have checked the registers
Camera power domain is active: POWERSTATEST[1:0] = 11
LOGICSTATEST[2] = 1
CAM_MEM_STATEST[5:4] = 11
CM_CAM_CLKSTCTRL:CLKACTIVITY_CAM_PHY_CTRL_CLK[9] = 1
CM_CAM_CLKSTCTRL:CLKACTIVITY_ISS_CLK[8] = 1
CM_CAM_CLKSTCTRL:CLKTRCTRL[0:1] = 0x2 software controled wakeup
CM_CAM_ISS_CLKCTRL:STBYST shows module in standby but
IDLEST = 0 and OPTFCLKEN_CTRLCLK = 1 and
MODULEMODE = 2.
shell@android:/ # omapconf read PM_CAM_PWRSTST
00000037
shell@android:/ # omapconf read CM_CAM_CLKSTCTRL
00000302
shell@android:/ # omapconf read CM_CAM_ISS_CLKCTRL
00040102
Regards
Anuroop
Hi Yanko, Mayank,
It appears to be the polarity and may be my debugging screwed but it works with reversed polarity.
But I still have some instability in consistency of the camera preview on multiple close/opens. As well I have some crashes on preview and video recording.
I see FIFO errors instead of the Sensor Timeout.
Thanks for help.
Anuroop