Page 2 of 2

Re: Working with a Camera and DCMI

Posted: Tue Apr 14, 2015 10:15 am
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

Re: Working with a Camera and DCMI

Posted: Sun May 17, 2015 11:45 am
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