2014-01-11 08:14 PM
Dear All,
We are designing a new product with some specifics needs :- camera interface to a OV2643 sensor- SPI to a CC3000 from TI for streaming MJPEG over Wifi, and doing some other socket light communications- 2 USB Hosts to make Android Open Accessory protocol to an external device, and printing to an externel USB printer (both USB Full Speed).Our first research lead us to the STM32F217, because mainly of its camera interface, that should fit our OV2643 sensor. Specially reading this other/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM3220G_EVAL%20with%20OV2640%20camera&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=1840
from your forum. The MJPEG stream will be 640x480 only at an estimated framerate of 7-12 fps.The STM32F217 present also another advantage is the FSMC interface in order to add an external 1MB or so SRAM in order to make DMA transfer from Camera to be sent over SPI/CC3000/wifi/socket (1 JPEG frame will be around 30KB), but also from SPI/CC3000/wifi/socket to be sent over USB to an external Printer (1 PCL file will be around 400KB).For USB Host AOA and Printer class, they are both in AVR LUFA library (successfully ported to NXP ARM Cortex M3 chip), so I hope there is enough ressource in there to make a partial port for the STM32F217. Neither Atmel or NXP chip with LUFA support have Camera interface, that's why I plan to port code from LUFA to STM32. In second option, I will use a Atmel 32bit chip that have LUFA support, but also external SRAM interface and use a dual port SRAM between the AVR32 and the STM32 to exchange the PCL files to be printed (STM32 will still be the SPI master of the CC3000 so it will receive the PCL from socket connection).We post our thoughts here because we are experienceless with STM32 processors, so I hope some experienced people here can advise us on some points.Thanks for all #camera-sram-stm32-wifi-socket2014-01-12 04:45 AM
You might want to do some analysis using an
http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF252216
or Download and review the firmware library, USB library, and associated app notes.2014-01-13 05:21 PM
Yes Clive1,
it is exactly what we are goind to do, but during the process of buying these develpment platform, we would like to have some feedback from experienced user about camera capabilities for exemple...2014-01-13 11:44 PM
2014-01-14 12:39 AM
Although some STM32 include a camera interface, beware that camera modules are continually increasing in resolution (pixel count) and that the simple parallel interface has largely been abandoned in favour of a serial one.
See for details. Although you can ''glue'' devices together with CPLD / FPGA logic, you may find that the camera module you base your design on ceases to be available in the near future - or only at very high volumes. I suspect that the 32 bit microcontroller families will be rather underpowered for the current and newer camera modules ... alternatively, if we are lucky, the market may shake out so that a simple common module emerges.2014-01-14 01:08 AM