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.

OPT9221: Can't get VD_IN to work

Part Number: OPT9221
Other Parts Discussed in Thread: OPT8241

Hi,

I am using the OPT8241 CDK, feeding the camera data via DCMI to an STM32 (the FX2 is disabled). Everything works fine, however I can't get the camera working in slave-mode using VD_IN. If I do, the picture looks like this:

A proper picture of the same scene using my camera settings looks like this:

I am guessing there is something going on with the integration duty cycle.
I tried different trigger times, all resulting in the same kind of error. I am using the 2-byte mode. Could this be a problem? Is there a specific time during camera setup, when the slave mode has to be enabled? Like e.g. directly after setting the IDC?

Thank you in advance and with best regards,

Julian Wagner

  • Hi Julian, 

    1) With slave mode, register 0x181 [5:4] (0x58, 0x81 [5:4]) should be set to 0. The default value for this (masked register) is 3.  

    2) Please test the camera with mac_test_en as 1. You should get expected test patterns. 

    3) Could you share the register sequence you're using to set slave mode? That would be helpful in debugging the issue. 

    Suramya