2009-09-19 08:38:16     capture images cm-bf548 with ov2640 connected to EXT-5xx-CAM over eppi and i2c-gpio

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-09-19 08:38:16     capture images cm-bf548 with ov2640 connected to EXT-5xx-CAM over eppi and i2c-gpio

Bernd Helge Schäfer (GERMANY)

Message: 80157   

 

Hello everybody,

 

I have a cm-bf548 with the camera extender board EXT-cm5xx-CAM by BlueTechnix with an OmniVision ov2640 attached. I intend to use the v4l blackfin-cam driver to access the camera starting with ov9655 driver that is already available and then try to adapt to suit needs of the ov-2640. I am pretty new to uclinux and not too experienced in writing my own embedded camera drivers, perhaps someone can help me out.

 

First of all I configured i2c-gpio for the cm-bf548 as here cameras are not connected to the hardware i2c but routed over general purpose IO pins (sda_pin=GPIO_PD12, scl_pin=GPIO_PD15 for camera 1, see attached file). Now I can successfully load modules i2c-gpio and blackfin-cam.

 

/ # modprobe i2c-gpio

i2c-gpio i2c-gpio.0: using pins 60 (SDA) and 63 (SCL)

i2c-gpio i2c-gpio.1: using pins 91 (SDA) and 90 (SCL)

/ # modprobe blackfin-cam

OV9655: detecting client on address 0x60

OV9655: V4L driver Blackfin CMOS Camera now ready

OV9655: i2c driver ready

 

cm_bf548.c

Attachments

Outcomes