cancel
Showing results for 
Search instead for 
Did you mean: 

M95P32 EEPROM using OctoSPI interface in memory mapped mode

erussell
Associate II

I would like to know if the M95P32 EEPROM can be used by the OctoSPI interface on a STM32L4R9 processor in memory mapped mode? And if so, is there an example of a driver available?

4 REPLIES 4
KDJEM.1
ST Employee

Hello @erussell ;

 

The OctoSPI interface can be used to manage a single, dual, quad or octo SPI.

In that way, you will have the flexibility to communicate with the M95P32 in single, dual or quad SPI.

Please take a look to these posts:

Could you kindly share any reference schematics for SPI EEPROM M95P32-I interfacing with STM32 MCU?

Solved: M95P32 EEPROM using QSPI interface on Nucleo-L496ZGP

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

erussell
Associate II

Thank you for your response. Yes I had read those previous posts. I do understand that the M95P32 EEPROM can be connected to the OctoSPI interface on the STM32L4R9 processor but I wanted to know whether the memory mapped mode could be used. I didn't see that as specifically addressed.

If you can read it via standard command methods, ie a CMD +3 or +4 byte addressing, then this is used as a TEMPLATE for the Memory Mapped Mode, where the HW substitutes the masked address of the memory access into the interaction with the memory

ie 0x90000000 in STM32 memory space is 0 (zero) in the memories address space.

The mode can be 1, 2 or 4-bit, whatever you have the memory operating in, or the command used.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
erussell
Associate II

Ok - thanks. I had seen an earlier post regarding a similar question involving a STM32G4 and its quadSPI interface and the answer seemed to indicate that memory mapped mode could only be used for Reads. But I wasn't sure whether the response meant the normal SPI interface or the quadSPI interface. Anyway I will assume that I can use the memory mapped mode with the octoSPI interface.