SPI Controller for NAND Flash with ECC and Cache

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing SPI systems configured for NOR flash memory devices do not accommodate NAND flash memory devices, due to differences in access methods and error correction requirements.

Innovation Solution

A modified SPI system is developed to support NAND flash memory devices, using a master device to access pages in NAND memory through a serial peripheral interface, with error detection and correction capabilities, and a cache memory to facilitate random data access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a SPI system is configured for NOR flash memory devices, then random data access is enabled, but the system cannot accommodate NAND flash memory devices due to differences in access methods and error correction requirements

Engineering Contradiction:
Improvecompatibility with different memory device typesVSAvoidsystem configuration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The SPI controller is designed with multi-functionality to support both NOR and NAND flash memory devices. The controller can dynamically adapt its operation mode based on the connected memory device type, enabling a single system to serve multiple purposes without requiring separate dedicated hardware configurations for each memory type.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The SPI system implements dynamic configuration capabilities where the controller can change its operational parameters and access methods based on the detected memory device type. This dynamic adaptation allows the system to switch between NOR flash random access mode and NAND flash sequential access mode with error correction protocols as needed.

Inventive Principle:
Principle #15Dynamics

2Quantity of substance

If NAND flash memory is used to achieve faster erase times and greater storage density, then storage capacity increases, but random data access capability is lost

Engineering Contradiction:
Improvestorage densityVSAvoidrandom data access capability
Core Design Contradiction:
Quantity of substanceVSEase of operation

Solution Approach 1:

A buffer memory component is introduced as an intermediary between the SPI controller and the NAND flash memory array. This buffer temporarily stores data pages, enabling the system to simulate random access by loading required data into the buffer first, then retrieving it quickly without direct sequential access to the NAND memory cells.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary actions by pre-loading complete data pages into the buffer memory before actual data retrieval is needed. This preliminary pagination and buffering allows subsequent data access operations to be performed quickly on the buffered data rather than requiring sequential access to the physical memory locations.

Inventive Principle:
Principle #10Preliminary action

3Area of stationary object

If NAND flash memory is used to achieve greater storage density, then chip area efficiency improves, but error detection and correction capabilities become necessary

Engineering Contradiction:
Improvechip area efficiencyVSAvoiderror correction system complexity
Core Design Contradiction:
Area of stationary objectVSDevice complexity

Solution Approach 1:

The error detection and correction functionality is merged into the SPI controller itself rather than being implemented as a separate external component. This integration combines the memory control functions with the ECC processing functions, reducing the overall system complexity and eliminating the need for additional dedicated error correction hardware.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The SPI controller performs self-service by internally handling error detection and correction operations as part of its native memory access protocols. The controller automatically detects errors in received data from NAND flash memory and applies correction algorithms without requiring external intervention or separate processing stages.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9235546B2System and method for data read of a synchronous serial interface NAND
Publication Date: 2016.01.12 MICRON TECHNOLOGY INC
  • US9235546B2 patent drawing
  • US9235546B2 patent drawing
  • US9235546B2 patent drawing

AI summary

A method and system is disclosed for operating a NAND memory device. The NAND memory device is operated by transmitting serial peripheral interface signals from a host to a NAND memory device, whereby the signals are communicated to a NAND memory in the NAND memory device without modifying the signals into a standard NAND memory format. Similarly, a method and system is disclosed for receiving signals from the NAND memory device without modifying the signals from a standard NAND format into a serial format. The system also incorporates error detection and correction techniques to detect and correct errors in data stored in the NAND memory device.