Writting data to SRAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Labels:
-
FMC-FSMC
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-08-05 1: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
