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