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
GAS: Reading 0x3 to SYNCEN...
GAS: Reading 0x0 to MODESET...
GAS: Reading 0x0 to HDWIDTH...
GAS: Reading 0x0 to VDWIDTH...
GAS: Reading 0x0 to PPLN...
GAS: Reading 0x0 to LPFR...
GAS: Reading 0x0 to SPH...
GAS: Reading 0x27f to NPH...
GAS: Reading 0x0 to SLV0...
GAS: Reading 0x0 to SLV1...
GAS: Reading 0x1df to NLV...
GAS: Reading 0xffff to CULH...
GAS: Reading 0xff to CULV...
GAS: Reading 0x28 to HSIZE...
GAS: Reading 0x0 to SDOFST...
GAS: Reading 0x30 to STADRH...
GAS: Reading 0x0 to STADRL...
GAS: Reading 0x0 to CLAMP...
GAS: Reading 0x0 to DCSUB...
GAS: Reading 0x2b2b to COLPTN...
GAS: Reading 0x0 to BLKCMP0...
GAS: Reading 0x0 to BLKCMP1...
GAS: Reading 0x0 to MEDFILT...
GAS: Reading 0x100 to RYEGAIN...
GAS: Reading 0x100 to GRCYGAIN...
GAS: Reading 0x100 to GBGGAIN...
GAS: Reading 0x100 to BMGGAIN...
GAS: Reading 0x0 to OFFSET...
GAS: Reading 0x3fff to OUTCLIP...
GAS: Reading 0x95 to VDINT0...
GAS: Reading 0x0 to VDINT1...
GAS: Reading 0x0 to RSV0...
GAS: Reading 0x0 to GAMMAWD...
GAS: Reading 0x0 to REC656IF...
GAS: Reading 0x0 to CCDCFG...
GAS: Reading 0x0 to FMTCFG...
GAS: Reading 0x0 to FMTPLEN...
GAS: Reading 0x0 to FMTSPH...
GAS: Reading 0x0 to FMTLNH...
GAS: Reading 0x0 to FMTSLV...
GAS: Reading 0x0 to FMTLNV...
GAS: Reading 0x0 to FMTRLEN...
GAS: Reading 0x0 to FMTHCNT...
GAS: Reading 0x0 to FMT_ADDR_PTR_B...
GAS: Reading 0x0 to FMTPGM_VF0...
GAS: Reading 0x0 to FMTPGM_VF1...
GAS: Reading 0x0 to FMTPGM_AP0...
GAS: Reading 0x0 to FMTPGM_AP1...
GAS: Reading 0x0 to FMTPGM_AP2...
GAS: Reading 0x0 to FMTPGM_AP3...
GAS: Reading 0x0 to FMTPGM_AP4...
GAS: Reading 0x0 to FMTPGM_AP5...
GAS: Reading 0x0 to FMTPGM_AP6...
GAS: Reading 0x0 to FMTPGM_AP7...
GAS: Reading 0x0 to LSCCFG1...
GAS: Reading 0x0 to LSCCFG2...
GAS: Reading 0x0 to LSCH0...
GAS: Reading 0x0 to LSCV0...
GAS: Reading 0x0 to LSCKH...
GAS: Reading 0x0 to LSCKV...
GAS: Reading 0x0 to LSCMEMCTL...
GAS: Reading 0x0 to LSCMEMD...
GAS: Reading 0x0 to LSCMEMQ...
GAS: Reading 0x0 to DFCCTL...
GAS: Reading 0x0 to DFCVSAT...
GAS: Reading 0x0 to DFCMEMCTL...
GAS: Reading 0x0 to DFCMEM0...
GAS: Reading 0x0 to DFCMEM1...
GAS: Reading 0x0 to DFCMEM2...
GAS: Reading 0x0 to DFCMEM3...
GAS: Reading 0x0 to DFCMEM4...
GAS: Reading 0x0 to CSCCTL...
GAS: Reading 0x0 to CSCM0...
GAS: Reading 0x0 to CSCM1...
GAS: Reading 0x0 to CSCM2...
GAS: Reading 0x0 to CSCM3...
GAS: Reading 0x0 to CSCM4...
GAS: Reading 0x0 to CSCM5...
GAS: Reading 0x0 to CSCM6...
GAS: Reading 0x0 to CSCM7...
GAS: Reading 0x0 to DATAOFST...
GAS: Reading 0x1 to MEMCTRL...
GAS: Reading 0x40 to CLKCTRL...
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to