Burst Read/Write Cypress Semper Flash

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

cross mob
vijayks
Level 1
Level 1
10 sign-ins 5 replies posted 5 questions asked

Hi,

Cypress S25HL512TDP Semper Flash with Quad SPI - Flash Memory is used.

Registers are Configured for below settings

  • 4 Byte Addressing
  • Single Data Transfer Rate 
  • Quad I/O Mode
  • Uniform Address Spacing
  • Page Size 256Bytes/512Bytes

After Register Write, We need to Read/Write memory in Burst mode.Page program is performed for 512 bytes

Do We have to set "Program Enable" after each Page Program operation?

 Please provide sequence of operation to perform Burst Read/Write .

0 Likes
1 Solution
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi @vijayks 

Read operations are burst oriented and can be configured either as wrapped or linear burst. Wrapped burst reads from a single page, where as linear burst can read the entire memory array. In order to set the desired burst configuration, Configuration Register 4 bit [4] (CFR4N[4]/CFR4V[4]) RBSTWP should be either set to 1 or 0. 0 indicates wrapped burst disabled, and 1 indicates wrapped burst enabled.

For program operation, the maximum number of bytes that can be programmed in a single page program operation is decided by Configuration Register 3 bit [4] (CFR3N[4]/CFR3V[4]) PGMBUF. The default size is 256 bytes.

Do We have to set "Program Enable" after each Page Program operation? The Write/Program Enable Status Flag of Status Register 1 is required to be set before each Page Program operation. For example, if your program buffer size is set to 256 bytes, and you wish to program 512 bytes, you will have to do it in two page program operations, and each page program operation should be preceded with a Write Enable transaction.

Regards.  

View solution in original post

0 Likes
1 Reply
Apurva_S
Moderator
Moderator
Moderator
100 likes received 500 replies posted 250 solutions authored

Hi @vijayks 

Read operations are burst oriented and can be configured either as wrapped or linear burst. Wrapped burst reads from a single page, where as linear burst can read the entire memory array. In order to set the desired burst configuration, Configuration Register 4 bit [4] (CFR4N[4]/CFR4V[4]) RBSTWP should be either set to 1 or 0. 0 indicates wrapped burst disabled, and 1 indicates wrapped burst enabled.

For program operation, the maximum number of bytes that can be programmed in a single page program operation is decided by Configuration Register 3 bit [4] (CFR3N[4]/CFR3V[4]) PGMBUF. The default size is 256 bytes.

Do We have to set "Program Enable" after each Page Program operation? The Write/Program Enable Status Flag of Status Register 1 is required to be set before each Page Program operation. For example, if your program buffer size is set to 256 bytes, and you wish to program 512 bytes, you will have to do it in two page program operations, and each page program operation should be preceded with a Write Enable transaction.

Regards.  

0 Likes