2024-01-23 08:05 AM - edited 2024-01-23 08:16 AM
Hello
Let's assume I have a TVP5150 device connected to a STM32H7 MCU. The TVP5150 transmits PAL frames as YUV. This means 2 bytes per pixel.
This results in 720x576 * 2 = 829.440KB per frame. In reality, there is pretty sure the need for double buffering. So I guess I need ~1.65MB to store/cache frames.
There is SDRAM Support for STM32H7 allowing to connect e.g. a 64Mbit SDRAM.
Is this a "supported" setup? Can I use DMA to transfer data of the TVP5150/Camera Interface into SDRAM? Will the SDRAM and STM32H7 be fast enough for such kind of operation?
The STM32H7 should also be able to encode these frames into JPEG/MJPEG.
2024-01-24 08:15 AM
Hello @kbch
Indeed, we recommend using MDMA. Some examples are already provided, you can take a look into section 2.2 and 2.3 MDMA with JPEG and with external SDRAM in AN5001
The STM32H7 should also be able to encode these frames into JPEG/MJPEG.
Sure, I would suggest taking a look to AN4996
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.