2013-08-12 01:32 AM
I have a project with OV7670 with stm32f4-discovery. My OV7670 has 16 pins and without fifo.
I
'm having
a picture of
the camera and than
I have to send
my picture
to the computer. But
I have no idea
how
I'm gonna do
. Can anyone give me some direction how can I do? Thanks a lot.2013-08-12 07:02 AM
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/How%20the%20image%20send%20from%20camera%20to%20computer%20Help%20me&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=7]Related?
2013-09-23 11:17 PM
to be migrated, sourceId: 34125:697285D7-A9CA-445D-B16C-F23BF0E3B1A3
2013-09-24 10:33 PM
isn't there anyone for help
2013-09-25 02:11 AM
isn't there anyone for help
I would follow other, similiar threads, as clive1 suggested - both here and in other fora. However, you need to understand that this kind of task is not one the Cortex M was designed for. Most professionals (and hobbyists) pick a MCU more capable to handle video tasks, both in regard to performance and memory requirements. Something like the Cortex A5 seems more appropriate. Sure you can handle some of those tasks with a M4, but that is always a compromise, and a rather hardware/vendor-specific one.
2013-09-25 04:12 AM
thank you for your answer. I am studying about this Project since two months.
Thereof i dont want to change my processor. the Project is running. Solely, size should be VGA. thanks again fm.2013-09-25 06:42 AM
I am studying about this Project since two months.
Thereof i dont want to change my processor. the Project is running.
Not that this comes unexpected, but:Solely, size should be VGA. I understand VGA as 640*480, meaning 307.200 pixel. I don't know of any M4 MCU having that much internal RAM, and of none supporting DMA to external RAM. That means you can't fetch, store, manipulate and transfer an image at once, but need to cut it into small pieces. This enforces a complex system design with several tradeoffs, opening a lot of possibilities for design and implementation bugs. Because the additional hardware expenses for an A5 or equivalent MCU are rarely significant, most people avoid going this route.
2013-09-25 07:45 AM
i am using stm32f407vg. it has got 192 kB internal RAM.
Thereof, stm32f407vg does not support VGA(640*480). I bought a CF7670C(OV7670+FIFO). I am studying for a while But, I dont learning that how to use FIFO.2013-09-25 10:29 AM
I am studying for a while But, I dont learning that how to use FIFO.
A FIFO might not help much. It is just a intermediate buffer, to ease otherwise strict syncronization requirements between data source (camera) and data sink (stm32f4xx). If you want tp process still images, you might even go without it. Real-time performance (video-like frame rates @640*480) is out of reach with this setup, even with FIFO. I don't know the details of your project, so I can't judge if it appears feasable, or not. But I can try to expain why I would choose another hardware platform, and not a Cortex M4.I am studying for a while But, I dont learning that how to use FIFO.
Studying and understanding datasheets is crucial part of embedded software business.
2013-09-25 04:41 PM
Black and white would require only about 38 kB, right? Grayscale goes from there...