2025-04-30 6:29 AM
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