2025-12-19 10:36 AM
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;