Other Parts Discussed in Thread: TVP5150
Dear Sir :
I use OV cmos sensor ( OV7640 ) with DM365.
OV7640 works fine with DM270 and it can output 656 4:2:2 video data with 27MHZ pixel clock.
Therefore, I try to initail ISIF register in DM365 with OV7640.
My question is what registr in ISIF I should set are ISIF_MODESET、ISIF_REC656IF and ISIF_CCDCFG, am I right?
ISIF_MODESET = 0x2000;
ISIF_REC656IF = 0x03;
ISIF_CCDCFG = 0x802; // we use pin cin0~cin7 as our cmos video data input port.
Because we use RTOS, we need to set register directly.
However, after I set these registers, there is no VD interrupt and video datas store in DDR do not change.
I guess there is something wrong with OV7640, am I right?
My reason is DM365 works fine with TVP5150 and TVP5150 output 656 4:2:2 video data with 27MHZ pixel clock.
So, if OV7640 can output 656 4:2:2 video data with 27MHZ pixel clock, it should work with DM365.
The only difference between TVP5150 and OV7640 is TVP5150 uses pin YIN0~YIN7 as video data port and OV7640 uses CIN0~CIN7.
If I am wrong, please correct me.
Please help me.
Thanks.
Best regards,
yuenjune