Andrea, If you are using BT656, then your CCDC register settings are not right. They have value 0. I am using TVP5146 input. Are you using sensor input?
Here is a sample from my setup... Probably this helps... ../readl 1c70600 0 60 Pay attention to MODESET, REC656IF and 00000 00000003 00002884 00000000 00000000 00010 00000000 00000000 00000000 0000059F 00020 00000001 00000001 000000EF 0000FFFF 00030 000000FF 0000002D 00000000 00000006 00040 00002A03 00000000 00000000 00000000 00050 00000000 00000000 00000000 00000100 00060 00000100 00000100 00000100 00000000 00070 00000FFF 00000001 00000000 00000000 00080 00000000 00000003 00008840 00000000 00090 00000000 00000000 00000000 00000000 000A0 00000000 00000000 00000000 00000000 000B0 00000000 00000000 00000000 00000000 >>>-----Original Message----- >>>From: Andrea Gasparini [mailto:[EMAIL PROTECTED] >>>Sent: Thursday, November 06, 2008 11:11 AM >>>To: Karicheri, Muralidharan >>>Cc: [email protected] >>>Subject: Re: CCDC and debugging... >>> >>>Hi, >>>thanks for yor reply. :) >>> >>>> regw((paddr >> 5) & 0x0ffff, STADRL); >>>> >> take lower 16 bit and shift right by 5 >>>> regw((paddr >> 21) & 0x007f, STADRH); >>>> >> shift upper by 16 to get it to lower 16 bits and then shift it by >>>> >> additional 5 to get the value to be in units of 32 bytes (total >>>shift >>>> >> 5 + 16 = 21) >>>> Hope this explains. >>> >>>Of course. :) >>>Now it's perfectly clear, thank you very much. >>> >>>> If you are not seeing interrupt, make sure the sensor is providing VD >>>> signal. Also you can check arm interrupt by doing... >>> >>>of course, it provide all needed signals. >>> >>>> [EMAIL PROTECTED]:/opt/lsp210# cat /proc/interrupts >>>> CPU0 >>>> 0: 31686 AINTC vpfe_capture >>> >>>root@(none):~# cat /proc/interrupts >>> CPU0 >>> 0: 0 vpfe_capture >>> 1: 0 vpfe_capture >>> >>>I already controlled this, note that it's zero,so it's the ccdc that's >>>not >>>generating irqs. >>> >>>Now, I'm wondering what can mask or disable (or whatelse?) the generation >>>of interrupt from CCDC ( I verified that the IPIPE is disabled ), >>>attacched >>>there's a dump of all CCDC register. >>> >>> >>>-- >>>Andrea Gasparini >>>---- ImaVis S.r.l. ---- >>>web: www.imavis.com _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
