cancel
Showing results for 
Search instead for 
Did you mean: 

Issue when doing DCMI capture

dragan
Associate II
Posted on January 20, 2012 at 05:12

I have STM32F207 connected to the Aptina camera module. I use DCMI->DMA->PSRAM. I configured DMA in dual buffer mode to capture full resolution (5 MP). Capture is single shot.

The problem I see is as follows:

1st capture is OK. Before the next capture, I don't reset DMA, just enable DMA and DCMI capture. I get all interrupts but the first chunk never gets streamed into memory. Subsequent chunks are DMA'ed fine. I don't see any errors. If I reset DMA I get full capture.

For the moment I put a workaround where I make DMA chunk small (a few hundred pixels) to minimize corruption.

Has anyone encountered this issue and perhaps solved it?

1 REPLY 1
amin23
Associate II
Posted on January 20, 2012 at 08:04

Hi,

See the pevious thread:

- [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/DCMI Issues, looking for insight&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx?Paged%3DTRUE%26p_StickyPost%3D%26p_DiscussionLastUpdated%3D20111212%252010%253a46%253a14%26p_ID%3D19852%26View%3D%257bF47A9ED8%252dE726%252d42BE%252dACED%252d732F13B66581%257d%26FolderCTID%3D0x012001%26PageFirstRow%3D121&currentviews=590]DCMI Issues, looking for insight

- [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Some more DCMI problems F207IG&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=111]Some more DCMI problems F207IG