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
Working with a Camera and DCMI
Moderators: RoccoMarco, lbednarz, tfAteba
- 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
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
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