Is it possible to use this external SDRAM to store program variables instead of using MCU onboard RAM using the Flexible memory controller (FMC)?
Hi.
I am using the STM32746G Discovery Board and running the STemWin which uses the external SDRAM [Part No.: MT48LC4M32B2B5-6A, Manufacturer: MICRON] to buffer the LCD rendering. Is it possible to use this external SDRAM to store program variables instead of using MCU onboard RAM using the Flexible memory controller (FMC)?
struct My_Object {
uint8_t Number;
char Description[25];
double Input_DI;
uint8_t Alarm_Status;
uint32_t Delay_ON_ctr;
};
struct My_Object Dectector1;
uint8_t Varriable1;
uint16_t Varriable2;
uint32_t Varriable3;Can the above variables be stored off MCU in the external SDRAM? How do you go about doing this? The RM0410 Reference manual, section 13 says that there are 2 External device address mapping banks that each contain 4 x 64Mb of address space. But it is very difficult how to figure out how to implement this. Is there an example project that someone could point me too?
Compiler: IAR Workbench v8.30.1
Graphics: STemWin
Hardware: STM32746G Discovery Board
Demo Project: C:\...\STM32Cube_FW_F7_V1.8.0\Projects\STM32746G-Discovery\Applications\STemWin\EWARM
