cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 and YCBCR

Chuev.Vladimir
Associate III
Posted on November 29, 2017 at 18:15

Hi.

I want to make an analog monitor with tvp5150am1 and I have a few questions.

Can I connect TVP5150AM1 to DMA2D?

I found &sharpdefine DMA2D_INPUT_YCBCR in the code, but in CubeMX no, what does that mean?

Can I do without an outside SDRAM? (Display 800x480).

Any advice?

#dma2d #display #camera #stm32h7
4 REPLIES 4
Joerg Wagner
Senior III
Posted on November 29, 2017 at 22:17

You want to monitor the 8Bit YCbCr signal output from the TI device, right?

(because the TVP5150AM1 has analog inputs)

The DMA2D is a Controller to manipulate images, like filling, copying or blending parts of an image in RAM.

It does have just one input pin: 32-bit AXI bus clock

Read the output and HSYNC/VSYNC with ordinary gpio pins, but you have to drive the YOUT[6:0] pins externally or pull down with a 10k resistor.

Posted on November 30, 2017 at 08:57

I wanted to do this: TVP5150AM1 -> DCMI -> DMA2D YCBCR to RGB -> LTDC -> 18bit display

Joerg Wagner
Senior III
Posted on November 30, 2017 at 10:51

Oh ya, I forgot the camera interface. DCMI offers everything you will need.

Pixel clock x1 input, HSYNC and VSYNC. Save the data with DMA in memory,

do the conversion and feed the LTDC. In CubeMX you can select the transfer

mode 'Memory to Memory with 'Pixel Format Conversion''.

Which chip do you want to use on your board?

Posted on December 04, 2017 at 08:20

STM32H753XIH6