mrcadack
Posts: 5
Joined: Mon Aug 12, 2013 8:43 pm

i2c IR sensor with 25MHz Clock

Mon Aug 12, 2013 8:52 pm

Hi,
I'm currenty in the process of rigging up an IR sensor to the raspi via i2c. The sensor requires a clock signal @25MHz.
The question is, could i take this signal from P1-07 (GPCLK0) directly into the sensor rather than using an external oscillator or have i got the wrong end of the stick with the GPCLK. Incidentally, i'm trying to rig up the pixart IR sensor from a wiimote (no datasheets available but i've found that it requires a 25MHz clock).

Cheers,
Chris

mrcadack
Posts: 5
Joined: Mon Aug 12, 2013 8:43 pm

Re: i2c IR sensor with 25MHz Clock

Tue Aug 13, 2013 9:02 pm

I maybe making inroads to this, I've discovered the page at [url]ttp://www.cl.cam.ac.uk/projects/raspberrypi/t ... eat_sheet/[/url] which has a modified RPi.GPIO python module with a clock on GPIO4. This only goes up to a 19MHz clock which may work (havent got it working yet though) but if theres the chance of 25MHz clock, that would be much better for me. I'm flying a little blind at the moment as i haven't got a scope to see if theres anything coming out of GPIO at all. (next buy off amazon i think).

Anybody else get a clock running any quicker from the Pi?

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