I need to use the S25FL064L connect to STM32F446 microprocessor.
I'm starting to use for the first time thi smemory
This is my inizial example sequence:
------ ERASING -------
1) 0x06 WREN
2) 0x05 Check RDSR1
3) 0xD8 0x00 0x00 0x00 Block Erase
4) 0x05 Check RDSR1 waiting ready
------ WRITING -----
5) 0x06 WREN
6) 0x05 Check RDSR1
7) 0x32 Page Program (I have doubt if it is correct)
😎 0x05 Check RDSR1(immediately free after precedente command)
---- READING -----
what commands should i use to activate the memory mapped system
I enclose an image of the writing commands ad address 00 value 2A .
There is a command example sequence for erase/write/read the memory ?
Solved! Go to Solution.
Thank you for contacting Infineon Technologies.
It looks like you are new to the FLASH.
Please use Low Level Drivers (LLD) Provided by Infineon. You can get the LLD from this link: https://www.infineon.com/dgdl/Infineon-Low_Level_Driver_for_NOR_Flash-Software-v01_00-EN.zip?fileId=...
You can use NOR FLASH with any microcontroller using LLD.
Thanks, I've read the code libraries, now I'm looking for an example of the command sequence (config bit, write, read) to write the memory and then read it as a memory mapped at at address.
The single command in the libriray don't help me how to configure the registers and what commands to send for memory usage, is there an example or flow-chart?
For example set CR1V, then send command 0x32 etc...
You can use Write Any Register (WRAR 71h).
There is no standard code example for that.
You need to follow Write Any Register (WRAR 71h) and change the data in Configuration Register 1 based on table given on page 33 and 34 of the datasheet.