1. Overall Device and Function:
️· Device Type: These are Serial Flash memory devices.
️· Basic Operation: They store data serially, meaning data is written and read one bit at a time over a single data line (SO or DI).
️· Key Use Cases: They are intended for storing firmware, configuration data, and other persistent data in embedded systems.
2. Key Concepts & Registers:
️· WEL (Write Enable Latch): A register that must be set to '1' before any programming or writing operations (Page Program, Sector Erase, Block Erase, Chip Erase, Write Status Register) can occur. A Write Enable (WREN) command sets it to 1, and a Write Disable (WRDI) command sets it to 0.
️· WIP (Write In Progress) Bit: A bit in the Status Register that indicates whether a programming or writing operation is currently in progress.
️· SRP (Status Register Protect) Bit: A bit that, when set, puts the device into a "Hardware Protected" mode, preventing modification of the Status Register. This is linked to the WP# (Write Protect) pin.
️· Status Register: A register containing information about the device's state, including the WIP, SRP, and Block Protect bits. It can be read at any time.
️· Block Protect: Bits used to define the read-only area within the flash memory.
3. Commands and Their Functions:
Let's outline the major commands and their sequences, with essential details:
️· WREN (06H) - Write Enable:
- Sets the WEL bit to '1', allowing write operations.
- Sequence: CS# low -> WREN -> CS# high.
️· WRDI (04H) - Write Disable:
- Resets the WEL bit to '0'.
- Sequence: CS# low -> WRDI -> CS# high.
️· RDSR (05H) - Read Status Register:
- Retrieves the contents of the Status Register.
️· WRSR (01H) - Write Status Register:
- Modifies the Status Register. Requires WEL to be set. Specific bits (S6, S5) cannot be changed.
️· READ (03H) - Read Data Bytes:
- Initiates a sequential read of data, starting at a specified address.
️· FAST READ (0BH) - Read Data Bytes at Higher Speed:
- Same as READ, but allows faster read speeds.
️· DUAL OUTPUT FAST READ (3BH): Reads data at a faster rate by outputting 2 bits simultaneously.
️· PAGE PROGRAM (02H):
- Programs a specified page of memory. Requires WEL to be set.
️· DEEP POWER-DOWN (B9H): Puts the device into a low-power state.
️· RELEASE FROM DEEP POWER-DOWN (ABH): Exits the low-power state and reads device ID.
️· READ ID (90H/9FH): Reads device identification information.
4. Sequence Diagrams:
The document includes sequence diagrams for each command. These diagrams visually show the steps involved in each operation, including:
️· Driving Chip Select (CS#) low and high.
️· Sending instruction codes.
️· Sending data.
5. Differences between GD25WD40C and GD25WD20C
️· Device ID: The main difference is in the Device ID values. The Read ID command will return different IDs depending on the specific device (GD25WD40C vs. GD25WD20C).
Important Considerations from the Document:
️· Timing: The document implicitly references timing parameters (e.g., tW for Write Status Register cycle completion). Consult the full datasheet for detailed timing specifications.
️· Chip Select (CS#): The CS# line must be driven low for all operations and high after the instruction and data have been latched.
️· Data Rate: The document references different data rates for read operations (fR and fC).
️· Hardware Protection: Understand the implications of entering hardware protection mode (SRP bit).