2021-08-05 12:28 AM
Hi, everyone. May be you have a sample project about how to write a data to SRAM for STM32F7 or simialar via FMC and HAL
2021-08-05 12:43 AM
SRAM connected to FMC?
FMC is part of the mcu's address space, so after configuring FMC for given memory you access it in the same way as internal memories. You can allocate variables on it (the exact method depends on your toolchain, usually this involves linker script or similar) and then you simply use those variables as usually.
The EVAL cathegory of devboards (and also some DISCO boards) do contain external memory connected through FMC, so review those together with the examples which come for them in Cube.
JW
2021-08-05 12:50 AM
Yes, FMC is connected to SRAM. If you said that I must just allocate variables, that why in HAL present functions like HAL_SRAM_Write_16b and other like this. I just want to find a example for stm32 for working with SRAM, cause in internet found only SDRAM or smt like this.
2021-08-05 01:03 AM
For example, https://www.st.com/en/evaluation-tools/32f723ediscovery.html#cad-resources has a PSRAM, so you can look at its schematics and related examples.
JW