cancel
Showing results for 
Search instead for 
Did you mean: 

How to utilize full XIP RAM in XSPI_PSRAM_MemoryMapped

Jayesh2
Associate II

I want to take buffer of ~4MB in XSPI_PSRAM_MemoryMapped example of  STM32N6. I am just increasing the size BUFFERSIZE to 3MB but there is a error in building. As XSPI RAM is 256Mbit(16MB)  I was hoping this buffer size should be valid. But that is not the case. What modifications I need so I can increase buffer size >4MB.

 

I am attaching my project here. Only modification I made in this project from default code is increase buffer size.

#define BUFFERSIZE 302400

 

0 REPLIES 0