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.

Help, please, in Getting the OV7740 image sensor operating with the DM6437 VPFE engine...



 

I am using a DM6437 on both an Evaluation Board as well as on a custom board.

 

I am setting up an OV7740 image sensor to work with the DM6437 and am using the VPFE front-end engine.  Specifically, I am using the CCDC portion of the the VPFE and trying to use the Preview Engine with the CCDC controller. 

 

I am running into the problem that the Preview Engine is going offline regardless of my setup.  I am trying to run it in continuous mode with input directly from the CCDC controller.  I am only enabling the CFA function of the preview engine, and providing a CFA table for the preview module.

 

The CCD controller is working as I am able to put CCD data into the DDR memory.

 

The goal of this is to get the input from the OV7740 to the CCD controller, and have the data go directly to the Preview Engine.

 

Do you have any suggestions or advice?

  • My most immediate question is what causes the Video Preview Module to go offline where it can no longer be read by code composer, until I do a power-on reset?

    I see that the Video Preview Registers are not listed under the Registers View, so I have to look at the registers via the Memory View starting at address 0x01c70800.  When I set the Previewer Enable bit on via Memory View, the Preview Module becomes unaccessible to the emulator.

     

     

     

  • Got this from Gene!

    I'd like to see you registers settings for Preview Engine and CCDC. Can you please share those? Thanks. The key here is to remember that in order to set the Preview engine to continuous mode. There are settings in CCDC that also need to be adjusted.

    1. Video port in the CCDC must be enabled: FMTCFG.VPEN = 1

    2. Data source of the Preview engine must be from the CCDC video port PCR.SOURCE = 0

    Another thing to remember is that TI VPFE drivers do not support on-the-fly mode, so you are pretty much on your own here.As to your original question, this may be caused by device hanging due to incorrect VPFE settings.

    Regards,

    Xiangdong Fu

  • Thanks for the Response.

    Is there an E-mail where I can send you the settings?  I'd rather not post them here at this time please, but I have done the steps you mention.  Setting the Video Previewer Enable bit usually usually causes the Previewer to clear its PCR register and be offline (unless I have the emulator looking at the PCR register of the Previewer when the VPEN bit is set causing the emulator to go offline and crash).