Initialize S25FL127SAB correctly

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

cross mob
Anonymous
Not applicable

I am programming my new PCB with S25FL127SAB and I wish to initialize it correctly.  In particular I want to set up the configuration register for quad operation but do not want to waste any of the 100K erase/write operations etc.

   

I have prepared a basic list and would like some help to complete the initialization from here:

   

Desired setup and operations:

   

 

   

Use 8 pin package
Operate in quad mode (QSPI)
Four byte addressing mode
XIP mode except during initialize, erase and program operations

   

 

   

RESET FUNCTION:

   

 

   

Send device QSPI_COMMAND_XIP_EXIT_CODE (0xFF)
Send device QSPI_COMMAND_RESET_ENABLE (0x66)
Send device QSPI_COMMAND_RESET_DEVICE (0x99)

   

 

   

 

   

INITIALIZE FUNCTION:

   

 

   

Initialize microcontroller for QSPI operation 50 Mhz
Call reset function (see above)
Read and verify device information

   

Send device QSPI_COMMAND_READ_ID (0x9F)
Read Manufacturer – works OK =  0x01
Read memory type – works OK =  0x20
Read memory capacity – works OK =  0x18

   

From here to end of initialization need Cypress help !!!

   

Want to set for quad operation - set non-volatile once, not with each power on cycle

   

Want to set up for 4 byte addressing

   

Any other initialization that is needed.

   

Thanks for your help !!!

   

Steve Dillier

   

HighPoint Design

   

972.753.2622

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Hi, 
 Sorry for the delay.

   

In the initialize function after initializing microcontroller there is no need for reset.

   

You can refer our LLD on how to proceed further in the initialization.  Please check the attached file.

   

Thanks.

0 Likes