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

Nor Flash Forum Discussions

TeIw_4699926
Level 1
Level 1
First like given

Hello.

I'm using the S25FL256S with EFM32GG11 of Silicon Labs.

And I have a sample code for 'MX25L25635F'.

I have tried to set to Quad mode.

But I couldn't set it.

I understand that the 'S25FL256S' has Quad mode register in Configuration Register.

I'm trying to set register as below in EFM32GG11.

qspi->FLASHWRDATALOWER = buffer[0];  // Status Register

qspi->FLASHWRDATAUPPER = buffer[1];  // Configuration Register

It can't update the Configuration Register, but the Status Register can it.

Is it need a command for updating the Configuration Register?

0 Likes
1 Solution
KaKi_1384211
Level 6
Level 6
100 replies posted 50 replies posted 50 questions asked

Hi,

No special command is required to program the configuration register for Cypress S25FL256S.
Required commands are WREN command(06h) and WRR command(01h).

When programming the configuration register with WRR command, enter the setting values of both the status register and the configuration register.

Use the WRR command to program the status register in the first byte and the configuration register in the second byte.

These commands are the same as for MXIC MX25L25635F.

pastedImage_2.png

After rising the last CS# of the WRR sequence, are tW(WRR write time) specifications satisfied?

Thanks and regards,

View solution in original post

4 Replies
KaKi_1384211
Level 6
Level 6
100 replies posted 50 replies posted 50 questions asked

Hi,

No special command is required to program the configuration register for Cypress S25FL256S.
Required commands are WREN command(06h) and WRR command(01h).

When programming the configuration register with WRR command, enter the setting values of both the status register and the configuration register.

Use the WRR command to program the status register in the first byte and the configuration register in the second byte.

These commands are the same as for MXIC MX25L25635F.

pastedImage_2.png

After rising the last CS# of the WRR sequence, are tW(WRR write time) specifications satisfied?

Thanks and regards,

KaKi_1384211
Thanks, response.

I have understood that it is not different both.

I will inspect the driver for the timing of CS#.

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

Hello,

Please see our low level driver for 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 implement different flash operations in your application.

Thanks and Regards,

Sudheesh

SudheeshK_26

Thanks, response.

I will reference the low-level driver.

0 Likes