Edit online

PSRAM 使用指南

3 Mar 2025
Read time: 2 minute(s)

本文档定义了 XSPI 模块,本模块的功能主要实现了外部并行总线 Xccela、HyperBus、OPI、1/2/4/8 线 SPI。 本总线模块可用于与外部 PSRAM、FLASH 等元器件实现连接。

术语定义

1.

术语

定义

注释说明

XSPI

Expanded Serial Peripheral Interface

扩展的串行外设接口

SPI

Serial Peripheral Interface

标准串行外设接口

DUAL SPI

Dual Serial Peripheral Interface

2 线 data 传输,串行外设接口

QUAD SPI

Quad Serial Peripheral Interface

4 线 data 传输,串行外设接口

OCTAL SPI

Octal Serial Peripheral Interface

8 线 data 传输,串行外设接口

OPI

Octal Peripheral Interface

8 线 cmd, addr, data 传输,串行外设接口

HyperBus

High Performance Serial Bus Interface

高性能串行总线接口技术

Xccela

High speed, high performance octal spi bus

高速,高性能的 8 线 data 的串行外设接口总线

DDR

Double data rate

双数据率,双边沿采样模式

SDR

Single data rate

单数据率,单边沿采样模式

功能特性

  • 支持 Xccela 协议

  • 支持 HyperBus 协议

  • 支持 OPI 协议

  • 支持 1/2/4/8 线 SPI

  • 支持 200MHz DDR/SDR 采样

  • 支持 XIP

  • 支持中断以及 DMA

  • 支持两片并行读写数据

  • 支持单片 16bit 读写数据

  • 具有 16x32bit TXFIFO 以及 RXFIFO

  • 具有 512MB 内存映射空间

原理框图


xspi_block

1. xspi_block

D13x 方案

实现 OPI 方式与 PSRAM 通信,采用双边沿采样,支持 parallel(两片 PSRAM)/single(一片 PSRAM)驱动 PSRAM。