2025-06-30 1:43 AM - last edited on 2025-06-30 6:41 AM by mƎALLEm
Hello there,
I cant find full working example about ram initializations and relevant RISAF settings,
I need to get at least 2.5MB region for camera data capture, I found clk and power enable functions, but it does not working, when I increase memory size in .ld file the code does not run...
I guess I use correct clk and power registers:
__HAL_RCC_AXISRAMx_MEM_CLK_ENABLE();
RAMCFG_SRAMx_AXI_NS->CR &= ~RAMCFG_CR_SRAMSD;
I use FSBL and my code will fit there not reaching 512KB limit.
CubeMX do not have a lot of settings there, RISAF do not have default values or some help hints which there can help, and there is no memory map window like let say for H7 and other mcu's...
How to correctly initialize and use all the RAM ?
Thanks.