Skip to main content
Associate
December 19, 2025
Solved

CubeMX missing YCbCr input color option for DMA2D on STM32N6

  • December 19, 2025
  • 2 replies
  • 350 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

 

Best answer by Ghofrane GSOURI

Hello ​@xJIomqygrecz 

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

Download STM32CubeMX6.18.0 from  here 

THX

Ghofrane

2 replies

Ghofrane GSOURI
ST 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.
Ghofrane GSOURI
Ghofrane GSOURIBest answer
ST Technical Moderator
July 1, 2026

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.