2024-06-04 03:25 AM
Hi, my program required a large amount of RAM memory, how can i know which external memory i can choose? and which peripheral is dedicated for this?
Solved! Go to Solution.
2024-06-04 04:57 AM - edited 2024-06-04 04:57 AM
External RAM can be connected either in parallel (SRAM, PSRAM) via the peripheral FMC or serially via SPI(QSPI). Details can be found in the data sheet of the STM32H753 and in the reference manual RM0433.
Hope that helps?
Regards
/Peter
2024-06-04 04:57 AM - edited 2024-06-04 04:57 AM
External RAM can be connected either in parallel (SRAM, PSRAM) via the peripheral FMC or serially via SPI(QSPI). Details can be found in the data sheet of the STM32H753 and in the reference manual RM0433.
Hope that helps?
Regards
/Peter
2024-06-04 05:24 AM
Thank you for the quick answer it was very helpful.
2024-06-04 05:31 AM
@Peter BENSCH Can you direct me to an external memory that matches my MCU?
2024-06-04 06:30 AM
There are loads of external types of RAM from various manufacturers that will fit on your board, so it's almost impossible for me to make a list of them.
It would make sense to check whether you can get by with the internal RAM, e.g. by optimising the program, eliminating unnecessary arrays and recurring variables, or even switching on the compiler's memory optimisation. If there is still not enough RAM, you should then think about which and how much data you want to swap out, and how quickly you want to access it. You can then find out whether and which type of RAM is suitable and what you need to look for from the manufacturers in question.
Good luck!
Regards
/Peter