Skip to main content
Associate
December 19, 2025
Question

CubeMX missing YCbCr input color option for DMA2D on STM32N6

  • December 19, 2025
  • 1 reply
  • 283 views

The STM32N6 supports YCbCr as an input format (see reference manual RM0486 section 21.3.5). As of version 6.16.1, this option is still not available in STM32CubeMX. The generated code can be manually modified to make it work by setting

hdma2d.LayerCfg[x].InputColorMode = DMA2D_INPUT_YCBCR;

xJIomqygrecz_2-1766169177407.png

 

xJIomqygrecz_0-1766168991839.png

 

xJIomqygrecz_1-1766169077863.png

 

1 reply

Ghofrane GSOURI
Technical Moderator
December 22, 2025

Hello @xJIomqygrecz 

Your detailed description is much appreciated.

A ticket 224218  has been escalated to dev team for resolution.

I will keep you posted with updates

THX

Ghofrane

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.