cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use Serial SRAM (QSPI) with the STM32H743?

RemoF
Associate

Hi all

I have a custom Board with STM32H743 and i would like to add external SRAM and NOR Flash at the QSPI Interface. For example the SRAM at the Bank1 and the Flash at Bank2.

Is this possible?

I' would like to use for SRAM:

https://www.mouser.ch/ProductDetail/ISSI/IS62WVS5128GBLL-45NLI?qs=byeeYqUIh0M7EH7gI3DsmQ%3D%3D

and for Flash:

https://www.mouser.ch/ProductDetail/ISSI/IS25LP032D-JNLE?qs=DXv0QSHKF4z8ea2r8jlMmA%3D%3D

Thanks

#SRAM​  #[STM32 MCUs]​ #QSPI​ #STM32H7​ 

3 REPLIES 3
berendi
Principal

Yes, but ...

  • Only one of them can be accessed at the same time (but the RAM can be accessed while the flash is busy erasing/writing sectors)
  • Memory mapped mode is read-only.
  • It can be slow.
RemoF
Associate

And if i use only SRAM

Is it possible to get the Access to QSPI SRAM like this?

Scatter File:

...
  RW_RAM2  0x90000000 0x00080000  {
  *.o (ExRAM) 
  }
...

I would like to access the section ExRAM like this:

...
uint16_t  Array[1024] __attribute__((section("ExRAM")));
...

Thanks

berendi
Principal

As I have said, memory mapped mode is read-only, you can't directly write values into the array, but you can read them like that as long as you set up memory-mapped mode again after each write access.