Skip to main content
Associate
Dec 19, 2025 6:36 PM UTC
Solved

CubeMX missing YCbCr input color option for DMA2D on STM32N6

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

 

Ghofrane GSOURI
Ghofrane GSOURIBest answer
ST Technical Moderator
Jul 1, 2026 8:18 AM UTC

Hello ​@xJIomqygrecz 

This issue has been fixed in the latest version of STM32CubeMX 6.18.0 

Download STM32CubeMX6.18.0 from  here 

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.

2 replies

Ghofrane GSOURI
ST Technical Moderator
Dec 22, 2025 6:35 AM UTC

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.
Ghofrane GSOURI
Ghofrane GSOURIBest answer
ST Technical Moderator
Jul 1, 2026 8:18 AM UTC

Hello ​@xJIomqygrecz 

This issue has been fixed in the latest version of STM32CubeMX 6.18.0 

Download STM32CubeMX6.18.0 from  here 

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.