Fever
Junior Member level 1
Hello,
I am using an STM32L496ZG, and 1MB of SRAM (this one : **broken link removed**)
My first idea was to use it with GPIO registers to control it. Like using GPIO_ODT to write the address I want to write to, and ODT again to write the data at this place.
I guess for SRAM it is a very slow way to do things, since I have to do everything manually.
I also guess that, to write 1 byte to the SRAM, I have to do two steps. Write the address, then write the data. It seems very inefficient to me.
I read about FSMC on STM32 devices, and I'm a bit intrigued. The reference manual explains how to use it well, but does not really explain what is it good for.
I saw on internet that a lot of people uses it for SRAM, FLASH, TFT ect, and I wanted to know if it is a good idea for me to use it.
How does it help to use FSMC ? Is it more efficient than using GPIOs as described before ? If so, why ?
Thank you very much for your help
I am using an STM32L496ZG, and 1MB of SRAM (this one : **broken link removed**)
My first idea was to use it with GPIO registers to control it. Like using GPIO_ODT to write the address I want to write to, and ODT again to write the data at this place.
I guess for SRAM it is a very slow way to do things, since I have to do everything manually.
I also guess that, to write 1 byte to the SRAM, I have to do two steps. Write the address, then write the data. It seems very inefficient to me.
I read about FSMC on STM32 devices, and I'm a bit intrigued. The reference manual explains how to use it well, but does not really explain what is it good for.
I saw on internet that a lot of people uses it for SRAM, FLASH, TFT ect, and I wanted to know if it is a good idea for me to use it.
How does it help to use FSMC ? Is it more efficient than using GPIOs as described before ? If so, why ?
Thank you very much for your help