Skip to main content
eng23
Senior
February 7, 2020
Question

Suspend LTDC to update framebuffer and resume

  • February 7, 2020
  • 7 replies
  • 2222 views

Hi,

I'm using DCMI and LTDC to display my video camera, I would to remove the effect of updating the image, because I need to convert by code YCbCr to RGB888, so it wastes a considerable time and it is possible to see the conversion process (the video is updating up to down line by line in aprox 150ms).

Is there a way to stop the LTDC updating the LCD, convert the framebuffer, and resume the LTDC? I've tried this but it goes to default handler...

__HAL_LTDC_LAYER_DISABLE(&hltdc, 1);

Regards,

Anderson

This topic has been closed for replies.

7 replies

berendi
Principal
February 7, 2020

There might be subtle differences between LTDC controllers on different MCU models, what is the part number?

FYI, the DMA2D controller in some STM32 series support hardware YCbCr to RGB conversion.

eng23
eng23Author
Senior
February 7, 2020

Hi,

Sorry, my uc is STM32F756.

Yes, the STM32H7 series has YCbCr to RGB conversion by hardware, I'm planning to move to H7 family...

Thanks for reply!

MSale.1
Senior
April 3, 2020

@eng23​ 

Hello,

I am trying to convert YCBCR from DCMI to RGB565 using DMA2D on the STM32H743.

Have you managed to make it work using the DMA2D?

Regards

Mahmoud