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 ISIF acquisition problems

Hi

I'm trying to download a 640x480 frame from an aptina CMOS sensor using ISIF directy to the SDRAM base address.

I try dirctly from uboot. and I configure the ISIF inferface with this script

-----------------------------------------------
mw.l 01C71004 0000 1
mw.l 01C71018 0000 1
mw.l 01C7101c 01e0 1

mw.l 01C71020 0000 1
mw.l 01C71024 0000 1
mw.l 01C71028 0280 1

mw.l 01C71034 0028 1
mw.l 01C71038 0000 1
mw.l 01C7103c 0000 1
mw.l 01C71040 0000 1
mw.l 01C71070 0010 1
mw.l 01C71074 0200 1
mw.l 01C71078 0300 1

mw.l 01C71000 0003 1

----------------------------------------

 

IPIPE_IF and ISIF interrupt comes. But no data is found at 0x80000000

 

can we help me?

  • Hi,

    I have few comments on the registers that you have programmed. Looking at the registers you are getting an input of 480x640 instead of 640x480. Your LNV is set to 640 and LNH is set to 480. Also VDINT0 is set to 512. This all is working because probably you have set the CMOS sensor for this resolution.

    coming to your question of not getting any data on 0x80000000. I think the problem is that you have not set the CADU register correctly. Can you try setting CADU to 0x400 instead of 0x000. This is because on DM365 ISIF SDRAM address, you need not subtract the SDRAM base address from the output memory address.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

  • Oh! with this address it works fine!!! thank's

    but on the VPFE documents the CADU  is described as "Upper 11 bits of the SDRAM starting address for ISIF output The address is specified offset from the SDRAM base address in units of 32 bytes. This bit field is latched by VD."

    We think that the SDRAM base address is 0x80000000

     

    thank you so much!

  • Hmm, I realized that. I will give the feedback to our team for fixing the document. I believe they already have this input and is being fixed for next documentation release.

    Sorry for the trouble :(

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.