You are here

Initialize S25FL127SAB correctly | Cypress Semiconductor

Initialize S25FL127SAB correctly

Summary: 1 Reply, Latest post by Krishna GSNS on 28 Nov 2016 08:47 AM PST
Verified Answers: 0
Last post
Log in to post new comments.
user_231692927's picture
User
1 post

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

 

 

Krishna GSNS's picture
Cypress Employee
48 posts

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.

 

Log in to post new comments.