Working with a Camera and DCMI

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Working with a Camera and DCMI

Post by Giovanni »

If you don't get the callback then probably the DMA transferred less data than the programmed size. I would verify the transfer size, the transfer width and all the options related to DMA.

I never used that peripheral so I can only give generic advice.

Note that there is an errata about DMA when used with DCMI but only when the DMA is also used with other peripherals, please verify that.

Giovanni
IgorEE
Posts: 21
Joined: Fri Nov 14, 2014 4:40 pm

Re: Working with a Camera and DCMI

Post by IgorEE »

Hi,

For anyone who might be still following or interested in this topic, I've gotten the OV2640 camera to work nicely in ChibiOS using a modified version of Ewan's DCMI driver for ChibiOS. I've written all about it here: http://www.elektricks.net/ov2640-camera ... ery-board/ so I hope someone will find it useful.

Thanks for the help Giovanni, your tips pushed me in the right direction to figure out a few bugs.

Cheers,
-Igor
Post Reply