Skip to main content
Senior
Jan 20, 2026 10:45 PM UTC
Solved

With STM32N6, are there any limitations to using the NPU RAM

On the STM32N6, half the ram is attached to this NPU RAM on it's own bus.  Are there any downsides to using this ram for non neural net applications.

 

Use case

     I would like to use the NPU ram for just frame buffers.  

 

From what i can tell the memory is continues so i could put a memory buffer across potentially 2 different AXISRam sections.  

 

Just asking if i would be able to use DMA operations with the DMA2d or the GPU2.5D engine.  Or if i could DMA peripheral like SPI or LTDC from these buffers

 

Related post

 

Screenshot 2026-01-20 at 5.31.23 PM.png

Screenshot 2026-01-20 at 5.40.31 PM.png

 

chornbeckBest answer
Associate II
Jan 26, 2026 9:29 PM UTC

You'll need to turn those RAM regions on before you can read/write to them, but other than that, they're normal SRAM! Just gotta expand the Linker script to include it in RAM or make a new region.

1 reply

chornbeckBest answer
Associate II
Jan 26, 2026 9:29 PM UTC

You'll need to turn those RAM regions on before you can read/write to them, but other than that, they're normal SRAM! Just gotta expand the Linker script to include it in RAM or make a new region.