Using SPIFI Protocol FLASH Memory Read & Write Problem

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

cross mob
PrGi_4710696
Level 1
Level 1

Hi sir/ma’am,

In one of Project, I have used S25FL032P232-Mbit CMOS 3.0 Volt Flash Memory with 104-MHz SPI (Serial
Peripheral Interface) Multi I/O Bus
, which is interfaced with LPC4357FBD208, I tried to read & write
data  using SPIFI Protocol but controller is not getting any response from
FLASH Memory IC for both the read & write operation, please let me know, is
there any configuration has to be done in FLASH IC while using SPIFI? if yes,
please guide me for the same, looking forward for your response.

Part No:-   IC: S25FL032P0XMFI011

Regards,

Pruthviraj Gidveer

0 Likes
3 Replies
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hello,

It is not required to do any configurations to use the SPI interface of our flash. Please provide some more details about this issue.

1. What is the SPI mode that you use to access flash? Our device support the SPI modes 0 and 3. Please see page 10 of datasheet for more information. Datasheet: https://www.cypress.com/file/196861/download .

2. Can you provide logic analyzer traces for read and write operations to flash?

Please see our low level driver for our SPI flash devices available at: https://www.cypress.com/documentation/software-and-drivers/low-level-driver-spi-flash?source=search&... . You can use it as a reference to write your application.

Thanks and Regards,

Sudheesh

0 Likes

Hello,

I am Using FLASH IC in Mode 0, for your ref waveforms are as follows:

These waveforms are captured upon reset.

pastedImage_1.png

Regards,

Pruthviraj Gidveer

0 Likes

Hello,

Could you please capture the SPI signals during read and write operations?

It will help to confirm that the commands sent to flash are correct or not.

Thanks and Regards,

Sudheesh

0 Likes