I am not shure that there should be problem with sensor. Because I have no problem under LSP1.30. All registers on sensor are OK. So there is perhaps problem with setting off ccdc inside davinci. Ondrej Pindroch SoftHard Technology ltd.
-----Original Message----- From: Stephen Berry <[email protected]> To: Ondrej Pindroch <[email protected]>, [email protected] Date: Tue, 30 Jun 2009 16:36:48 -0400 Subject: Re: ccdc_davinci LSP210 When you are setting the exposure on a cmos sensor you have to be careful not to exceed the number of vertical lines that you have. In other words, if your sensor is capturing 640x480 then you shouldn't have an exposure greater than 480, this effectively causes the sensor to drop a frame for you since you have asked it to continue exposing into the next frame. Also with some sensors the H-Blank values can get you into trouble too. Usually in the sensor data sheet there will be a section showing you how to calculate frame rate. I generally create a spread sheet so that I can get the frame rate, exposure range and resolution that I want. In addition, if you have your VPFE set up so that it is asking for more data than is provided in a single frame, it will show up as reduced frame rate. Generally when bringing up a new sensor I start at the input - dump raw bayer data as captured by the sensor - and bring it up in a program that can take raw planar data. Corel Paint shop works, as well as linux 'display". Once you have fixed your input so it looks sane, move on the the YUV conversion... Steve Ondrej Pindroch wrote: I am using driver from LS2.10 with added ioctls to set up registers on sensor. (exposure). Now I can read all regs so I can see that all is set properly. I can see defective image on output. So I see that sensor is responding on chandes in exposure, gain and som on. Do some one have some experiences with LSP 2.10 ccdc controler driver on 6446. The MT9P031 driver seems to be only interface to comunicate with sensor. I think there are some registers badly set. Frame rate is slow it should be by PAL resolution something neer 40fps. It si barely 2fps. Ondrej Pindroch SoftHard Technology ltd. -----Original Message----- From: "Karicheri, Muralidharan" <[email protected]> [mailto:[email protected]] To: Ondrej Pindroch <[email protected]> [mailto:[email protected]], davinci-linux-open-source <[email protected]> [mailto:[email protected]] Date: Tue, 30 Jun 2009 09:07:07 -0500 Subject: RE: ccdc_davinci LSP210 Ondrej, We had tested MT9P031 on DM365, not on DM6446. Do you have your own sensor driver or use the one from LSP 2.10? Murali Karicheri Software Design Engineer Texas Instruments Inc. Germantown, MD 20874 Phone : 301-515-3736 email: [email protected] [mailto:[email protected]] From:[email protected] [mailto:[email protected]] [mailto:[email protected] [mailto:[email protected]]] On Behalf OfOndrej Pindroch Sent: Tuesday, June 30, 2009 8:12 AM To: davinci-linux-open-source Subject: ccdc_davinci LSP210 Hi I am using Montavista 5.0 on my DVEVM with DM6446. I have succesfully build an appication with LSP120. Now I am trieing to port it undre LSP210. All is ok excluding ccdc driver. I am usenig expansion board from leopardimagining with MT9P031 sensor. Do someone have some suggestion what could be wrong. It is hanging sometimes during configuration, or can not set up standard..... Is there any special configuration. all other componnents in image pipe are working well. I have tested each one. Best regards Ondrej Pindroch SoftHard Technology ltd. _______________________________________________ Davinci-linux-open-source mailing list [email protected] [mailto:[email protected]] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source [http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source]
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
