2017-12-11 10:36 PM
Hello
I want connect stm32f746 to av camera and show the camera picture or video on Lcd.
Can anybody suggest how i can do it?
Also can i use hdmi to show the video or picture on lcd with stm32f746?
Tanks
Solved! Go to Solution.
2017-12-12 11:17 AM
Tank you Imen.
Your help is always usefull.
My main problem is how can be an av cammera connected to micro?
I think, I have found solution. Using ADV7181 to convert av video to digital, then using DCMI to connect the ADV7181.
Thank you for your consideration.
2017-12-12 02:15 AM
AV is possible, but without color.
You need an external fast ADC on the DCMI bus, external sdram memory, some simple logic and three timers. It's very simple and fast. I use an analog camera to fix the contour of the cutting tool. External adc tvp5150am1, it was the cheapest.
There are ready solutions with a lower price, direct connection of the screen of any brand (without ST).
I apologize, the automatic translation module lives its own life.
2017-12-12 08:09 AM
Hello,
You have the AN4861 application note about LCD-TFT display controller (LTDC) and the AN5020: Digital Camera Interface (DCMI) on STM32 MCUs, it will help you to understand the features, architecture and configuration of the DCMI with detailed examples.
I recommend that you download the schematic package of the STM32F7x board that you have selected and you find the camera type used in that board.
Best Regards
Imen
2017-12-12 11:17 AM
Tank you Imen.
Your help is always usefull.
My main problem is how can be an av cammera connected to micro?
I think, I have found solution. Using ADV7181 to convert av video to digital, then using DCMI to connect the ADV7181.
Thank you for your consideration.
2017-12-13 12:58 AM
Hello
I can not understand your replay
Best regards.
2017-12-13 05:35 AM
Hello ,
Could you please write your message in English?
Best Regards
Imen
2017-12-14 02:01 AM
I think you can't do it fine directly with a STM32 if you use high-resolution (>800*600) cam+display.
You read camera stream with DCIM module, store to external SDRAM (as MCU doesn't have enough SRAM to hold screen),
probably do something with it (you may want to 'process' the picture), then read back to Chrome-ART and output to TFT controller.
Bandwidth needed may be roughly calculated as 1Mpixel * 2byte/pixel * 30fps = 60MBytes/sec. And you may count this more times:
- DMA from camera to external DRAM,
- DMA from external DRAM to internal SRAM buffer to process,
- DMA back to external SDRAM framebuffer,
- DMA read from ext DRAM to ChromeArt and TFT Controller.
I think this can't be achived by a 300-400MHz MCU. Go for ARM A family chip...or pick a Raspberry Pi.
If you still want to use STM32 then you must use external hardware for high througput streams, MCU may only control the show.