S25FL064L Example command

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
IlConte
Level 1
Level 1
First reply posted First question asked Welcome!

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 ?

 

Thanks all

 

 

 

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

Please find the attached files for LLD.

Yes, S25FL064L is nothing but S25FL-L device family.

Regards,

Yuvraj 

View solution in original post

0 Likes
7 Replies
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,


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.

 

Regards,

Yuvraj 

0 Likes
IlConte
Level 1
Level 1
First reply posted First question asked Welcome!

For  S25FL064L what example I must use, the S25FL there insn't

IlConte_0-1672744074866.png

 

0 Likes
lock attach
Attachments are accessible only for community members.
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

Please find the attached files for LLD.

Yes, S25FL064L is nothing but S25FL-L device family.

Regards,

Yuvraj 

0 Likes
IlConte
Level 1
Level 1
First reply posted First question asked Welcome!

I need to use the fll example ?

IlConte_0-1672747977633.png

 

0 Likes
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,


Yes, you need to use FLL.

 

Regards,

Yuvraj 

0 Likes
IlConte
Level 1
Level 1
First reply posted First question asked Welcome!

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[0], then send command 0x32 etc...

 

Thanks

0 Likes
Yuvraj
Moderator
Moderator
Moderator
250 replies posted 25 likes received 100 solutions authored

Hi,

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.

 

Regards,

Yuvraj

0 Likes