ahmedj
Posts: 3
Joined: Wed Jul 10, 2013 9:37 pm

1MHz+ Driver for Linear CCD using GPIO

Tue Jan 14, 2014 11:41 am

Hi

I was wondering if the Pi is capable enough to drive the following CCD at 1MHz+ using the GPIO.

http://www.adelco.it/online/company/Son ... LX554B.pdf

The idea is to run at a frame rate of 500 to 1000fps to a fast ADC and read back to the Pi via the SPI. Is this doable?

Thx

jdb
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 2393
Joined: Thu Jul 11, 2013 2:37 pm

Re: 1MHz+ Driver for Linear CCD using GPIO

Tue Jan 14, 2014 12:39 pm

The chip outputs an analogue signal clocked by a digital signal. It's also a 5V power supply with 5V digital IO

The Pi is perfectly capable of driving a clock, and with level shifting can drive the clock input. The problem is the A/D required for converting vout into a sensible bit code. It would also have to be clocked and sample at the right time because the output waveform has a start-of-pixel edge as well as the sample.
Rockets are loud.
https://astro-pi.org

User avatar
FLYFISH TECHNOLOGIES
Posts: 1750
Joined: Thu Oct 03, 2013 7:48 am
Location: Ljubljana, Slovenia
Contact: Website

Re: 1MHz+ Driver for Linear CCD using GPIO

Tue Jan 14, 2014 1:28 pm

Hi,
ahmedj wrote:The idea is to run at a frame rate of 500 to 1000fps to a fast ADC and read back to the Pi via the SPI. Is this doable?
I've skimmed the datasheet... it seems to me that the data output has just few levels and is not "very analog". Consequently, I see comparator as more suitable element (faster, no SPI, easier code) than the ADC is.


Best wishes, Ivan Zilic.
Running out of GPIO pins and/or need to read analog values?
Solution: http://www.flyfish-tech.com/FF32

ahmedj
Posts: 3
Joined: Wed Jul 10, 2013 9:37 pm

Re: 1MHz+ Driver for Linear CCD using GPIO

Wed Jan 15, 2014 2:39 pm

jdb wrote:The chip outputs an analogue signal clocked by a digital signal. It's also a 5V power supply with 5V digital IO

The Pi is perfectly capable of driving a clock, and with level shifting can drive the clock input. The problem is the A/D required for converting vout into a sensible bit code. It would also have to be clocked and sample at the right time because the output waveform has a start-of-pixel edge as well as the sample.
Ah. Didn't notice the leading edge on the output. Looking at other sensors, that doesn't seem to be there.

Regarding interfacing the converted data back to the Pi, would SPI be the best option in terms of speed?

Return to “Interfacing (DSI, CSI, I2C, etc.)”