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.

dm365 vpfe/vpss interface settings

Hello,

I need  to interface an CMOS sensor outputing YUV422 to dm365 processor. Using linux dvsdk 4.02 I'm able to capture images but only when following condition is met. The sensor outputs at least three HSYNC pulses (three lines) more than the value set in dm365 vpfe/vpss registers. I checked it several times using logic analyzer. Due to this fact I'm not able to capture sensors full resolution (800x600) but 800x597 at most.

If the dm365 registers are set to the value same as the sensor outputs I'm getting VINT0 interrupts (vpfe_isr function in vpfe_capture), but vpfe_imp_dma_isr never rises.

The timing of the sensor output looks o.k. - VSYNC goes high, then after 6 clocks first HSYNC goes high ... and VSYNC goes low 6 clocks after last HSYNC falling edge.

vpfe_imp_dma_isr is connected to the ARM interrupt number 5 (VPSS_INT5). I noticed that INTSEL register for VPSS_INT5 is set to the value 15 in vpss.c and this value is reserved according to the datasheet but as the interrupt works for the smaller images it is probably OK.

Could please someone help me with this issue?

best regards
Jan

  • Hi,

     

    I don't have idea about the issue you are facing but it would be great if you could answer my below queries:

     

    1.Are you using some reference design e.g from Appro or LeopardImaging or you are having some standalone board with DM365 on it.

    Also i want to know the image sensor if present on your board and how are you interfaciung that with DM365 In order to get the image output.

     

    2.Did you face any driver issues  compatibility when doing capture display on DM365.

     

     

     

    Thanks and Regards,

    Mayank

     

     

     

  • 1.Are you using some reference design e.g from Appro or LeopardImaging or you are having some standalone board with DM365 on it.

    The board I'm using is dm365evm but our own hardware should be finished in a few days.


    Also i want to know the image sensor if present on your board and how are you interfaciung that with DM365 In order to get the image output.

    The sensor is not present on the board directly but it is on our own subboard and connected to the evm through the connector.


    2.Did you face any driver issues compatibility when doing capture display on DM365.

    Unfortunately drivers for image interface in davinci linux are written hardware dependently, so yes I have issues with YUV sensor...

    regards
    Jan

  •  

     

    Hi,

    Thanks for your mail.Are you able to get the image output from the DM365 evm board.I mean if the image sensor is able to capture image

    and saving it any directory or you are able to see the real time display captured by the camera.

     

    If yes how you are able to do that,means do you have any document to explain to run the simple capture display application on DM365 evm board.

     

     

    Thanks and Regards,

    Mayank