Skip to main content
Associate II
June 17, 2026
Solved

STM32 DMA / HPDMA converter question (N6)

  • June 17, 2026
  • 1 reply
  • 12 views

Hi all,

 

Is this possible with a DMA on an STM32N6 device, using the HPDMA/GPDMA? (or I assume the H7 is quite similar, I believe?)

  • Source array: RGBRGBRGBRGB (24 bpp)
  • Destination array: xRGBxRGBxRGBxRGB (32 bpp)

Or vice verca:

  • Source array: xRGBxRGBxRGBxRGB (32 bpp)
  • Destination array: RGBRGBRGBRGB (24 bpp)

 

This would solve my issue, where I need both the 24bpp (NPU input) and a jpeg-encodable format (display; which all seem to be either 16bpp or 32bpp). If the above is not possible, then … I’d be open to suggestions on what else to do…

 

Best regards, rphii

Best answer by rphii

Okay it is actually quite easy. You can use DMA2D for that.

1 reply

rphiiAuthorBest answer
Associate II
June 18, 2026

Okay it is actually quite easy. You can use DMA2D for that.