SZYTF W25Q Series NorFlash Storage Module

Contents

SZYTF W25Q Series NorFlash Storage Module User Manual

Models: W25Q32, W25Q64, W25Q128

1. Product Overview

The SZYTF W25Q series NorFlash Storage Modules are compact, high-capacity external memory solutions designed for use with microcontrollers like the STM32. These modules utilize a Serial Peripheral Interface (SPI) for efficient data transfer, making them ideal for applications requiring additional non-volatile storage.

Multiple SZYTF W25Q NorFlash modules with pin headers
Figure 1: Overview of SZYTF W25Q NorFlash Storage Modules.
Close-up of a Winbond 25Q32JVS1Q chip on the module
Figure 2: Close-up view of the NorFlash chip on the module.

2. Specifications

The W25Q series modules offer various capacities and operate within standard voltage ranges for embedded systems.

Table 1: Technical Specifications
Feature W25Q32 W25Q64 W25Q128
Capacity 32M-bit (4M-byte) 64M-bit (8M-byte) 128M-bit (16M-byte)
Interface SPI (Serial Peripheral Interface)
Clock Frequency Up to 104MHz
Operating Voltage 2.7V ~ 3.6V
Module Size 14mm x 15mm
Application Computer (Embedded Systems, Microcontrollers)
Condition New

3. Setup Guide

This section details how to connect the NorFlash module to your development board.

3.1 Pinout Description

The module features a standard 6-pin header for SPI communication and power supply:

Pinout diagram of the W25Q NorFlash module showing VCC, CS, DO, GND, SLK, D1
Figure 3: Pinout of the NorFlash Module.
  • VCC: Power Supply (2.7V - 3.6V)
  • CS: Chip Select (Active Low)
  • DO: Data Out (Master In, Slave Out - MISO)
  • GND: Ground
  • SLK: Serial Clock (SCK)
  • D1: Data In (Master Out, Slave In - MOSI)

3.2 Connection to Development Board

Connect the module to your microcontroller's SPI pins as follows:

  • Module VCC to Development Board 3.3V
  • Module GND to Development Board GND
  • Module CS to Development Board SPI CS pin
  • Module DO to Development Board SPI MISO pin
  • Module SLK to Development Board SPI SCK pin
  • Module D1 to Development Board SPI MOSI pin
W25Q NorFlash module connected to a breadboard with jumper wires
Figure 4: Example connection of the module to a breadboard.

4. Operating Instructions

The module is designed to be controlled via SPI. It is recommended to use the provided STM32 test code as a starting point for integration into your projects.

4.1 Initializing the Module

  1. Ensure proper power supply (2.7V-3.6V) and ground connections.
  2. Initialize your microcontroller's SPI peripheral with appropriate settings (e.g., clock speed, data order, clock polarity).
  3. Use the Chip Select (CS) pin to initiate and terminate communication with the NorFlash module.

4.2 Reading and Writing Data

Refer to the W25Q series datasheet for specific SPI commands for read, write, erase, and other operations. The provided STM32 test code will demonstrate basic functionalities such as:

  • Reading Device ID
  • Sector Erase
  • Page Program
  • Read Data

Before writing new data, ensure that the relevant sectors are erased. Some modules may contain pre-existing data that needs to be cleared.

SPI Stress Test results showing a 'DAMAGED' module and an 'OPERATIVE' module with successful formatting, write, and read tests.
Figure 5: Example of SPI stress test results, indicating module functionality.

5. Maintenance

These modules are generally maintenance-free. To ensure longevity and reliable operation:

  • Store modules in an anti-static environment when not in use.
  • Avoid exposing the modules to excessive moisture, dust, or extreme temperatures.
  • Handle with care to prevent physical damage to the pins or components.

6. Troubleshooting

If you encounter issues with your NorFlash module, consider the following:

  • Module Not Responding:
    • Verify all power (VCC, GND) and SPI connections are secure and correct.
    • Check the operating voltage; it must be within 2.7V to 3.6V.
    • Ensure your microcontroller's SPI peripheral is correctly configured and enabled.
    • Confirm the Chip Select (CS) pin is being toggled correctly for communication.
  • Read/Write Errors:
    • Ensure the module is properly erased before attempting to write new data.
    • Check for correct SPI clock frequency; it should not exceed 104MHz.
    • Some modules may be non-original (clones) and might exhibit inconsistent behavior or require specific handling. Verify the chip ID if possible.
    • A completely dead module (unable to read or write) may indicate a defective unit.
  • Unexpected Data:
    • Modules may arrive with pre-existing data. Perform a full chip erase before first use.

7. User Tips

  • Ease of Use: These modules are designed for convenient connection to development boards, making prototyping straightforward.
  • Initial Erase: It is good practice to perform a full chip erase on new modules before initial use, as some may contain residual data.
  • Functionality Testing: Due to variations in manufacturing, it is advisable to test each module upon arrival to confirm full read/write functionality.
  • Chip Authenticity: Be aware that some modules may use chips from generic manufacturers (clones) despite having brand logos printed. While often functional, their long-term reliability or specific characteristics might differ from original components.

8. Warranty and Support

For detailed item guides and documents, including datasheets and additional technical information, please refer to the official product page or contact the seller directly. The seller provides STM32 test code to assist with integration and testing.

For further assistance or inquiries, please consult the seller's support channels.

A user manual in PDF format is available for download: User manual (PDF)

© 2024 SZYTF. All rights reserved.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.