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.

DM355 CCDC Problem

Hello,

I have the DM355EVM and at the moment I am writing a driver to capture video from a CCD sensor. for my driver I oriented myself at the mt9t001 driver which comes with the evm. I am using the ccdc_dm355.c as it comes with the evm. But when I initialize the ccdc with ccdc_config_raw() it doesn't work.

Initialization of my sensor via i2c works and it delivers the correct PCLK, HSYNC and VSYNC signals. But then I never get the VDINT1 or VDINT0 interrupt. Which value do I have to write to VDINT0 and VDINT1? In my understanding I have to write the number of horizontal lines to them. Is that right? Becaus in the function ccdc_setwin there are other values written to them. But none of them works. When I call cat /proc/interrupts I can see that VDINT0 and VDINT1 interrupts never appeared.

I think I have to write INTSEL too, but where is it set?? I couldn't find it in ccdc_dm355.c.

Can anone please give me some more information about the register settings. Because the documentation of the ccdc is in my opionion a little bit intransparent.

Thank you very much!

Martin