当前位置:网站首页>LPDDR4笔记
LPDDR4笔记
2022-04-23 06:13:00 【MyeDy】
1. 接口
LPDDR的接口
2. 命令真值表
3. 写时序(Burst Mask Write)
后面的波形都以16Gb的规格为例。
写数据主要分为3个操作。激活(ACT-1 & ACT-2) -->MASK WRITE-1(MWR-1)–>数据写入
以写dram上0x00000024这个地址为例。根据下表(16103算)得出,这个地址的rank(channel)地址是0, bank地址是0, column地址是0x12,row地址是0。
首先是激活的时序,根据真值表
- 第一个clock: CA0=H, CA1=L是ACT-1命令。R12-R15=0
- 第二个clock:BA0-BA2=0,R16,R11,R10=0
- 第三个clock :CA0=H, CA1=H是ACT-2命令,R6-R9=0
- 第四个clock:R0-R5=0
所以通过激活操作,可以得到bank的地址是0,ROW地址是0。
然后是MASK-WRITE-1 - 第一个clock: CA0-CA5=LLHHLL, 为Mask Write-1(MWR-1),
- 第二个clock: BA0-BA2=0, C9=0, AP=1
- 第三个clock: CA0-CA4=LHLLH,为CAS-2命令。C8=-0
- 第四个clock:C2-C7=4
根据之前算出来的COL地址是0x12, 但是C0-C1是0,所以0x12以16对齐后的COL地址是0x10(16), 也就是C2=0, C3=0, C4=1。是对应上,至于选择哪一个word,是用DMI 信号来选择。
最后是数据传输的部分。可以看到在DQ上传输数据的第二个clock上升沿的地方是我们写入的数据,在这个clock下DMI0_A信号为L,表示写入的数据有效。在DMI_A信号为H的clock上的数据不会被写到DDR 上。
4. 读时序(Read - 1)
写数据主要分为3个操作。激活(ACT-1 & ACT-2) --> READ-1(RD-1)–>数据读出。数据读只有Burst Read。假设读0x00000024的地址,LPDDR送出来的其实是以0x00000020为起始地址的32B数据。
首先是激活的时序,根据真值表
- 第一个clock: CA0=H, CA1=L是ACT-1命令。R12-R15=0
- 第二个clock:BA0-BA2=0,R16,R11,R10=0
- 第三个clock :CA0=H, CA1=H是ACT-2命令,R6-R9=0
- 第四个clock:R0-R5=0
所以通过激活操作,可以得到bank的地址是0,ROW地址是0。
然后是Read-1 - 第一个clock:CA0-CA4=LHLLL(RD-1)。BL=0
- 第二个clock:BA0-BA2=0, C9=0, AP=1
- 第三个clock:CA0-CA4=LHLLH(CAS-2),C8=0
- 第四个clock:C2-C7=4
最后是数据传输。一共送出了32B的数据,可以看到第二个ddr clock的地方,就是刚才写入的数据0x9。
版权声明
本文为[MyeDy]所创,转载请带上原文链接,感谢
https://blog.csdn.net/u011280717/article/details/123920471
边栏推荐
- C# EF mysql更新datetime字段报错Modifying a column with the ‘Identity‘ pattern is not supported
- 扫雷小游戏
- 【点云系列】Learning Representations and Generative Models for 3D pointclouds
- 【指标】Precision、Recall
- How to standardize multidimensional matrix (based on numpy)
- swin transformer 转 onnx
- Chapter 2 pytoch foundation 2
- Visual Studio 2019安装与使用
- “Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated
- 【点云系列】点云隐式表达相关论文概要
猜你喜欢
第4章 Pytorch数据处理工具箱
【3D形状重建系列】Implicit Functions in Feature Space for 3D Shape Reconstruction and Completion
C# EF mysql更新datetime字段报错Modifying a column with the ‘Identity‘ pattern is not supported
[point cloud series] a rotation invariant framework for deep point cloud analysis
Unwind 栈回溯详解
SSL/TLS应用示例
Chapter 5 fundamentals of machine learning
Chapter 2 pytoch foundation 1
Paddleocr image text extraction
树莓派:双色LED灯实验
随机推荐
pth 转 onnx 时出现的 gather、unsqueeze 等算子
树莓派:双色LED灯实验
Compression and acceleration technology of deep learning model (I): parameter pruning
onnxruntime-gpu 1.7 出现的警告“Force fallback to CPU execution for node: Gather_191”等
[point cloud series] a rotation invariant framework for deep point cloud analysis
素数求解的n种境界
PaddleOCR 图片文字提取
Modifying a column with the 'identity' pattern is not supported
ArcGIS License Server Administrator 无法启动解决方法
Visual studio 2019 installation and use
PyTorch 14. module类
PyTorch 9. 优化器
【期刊会议系列】IEEE系列模板下载指南
Easyui combobox 判断输入项是否存在于下拉列表中
Chapter 4 pytoch data processing toolbox
Pytorch模型保存与加载(示例)
【3D形状重建系列】Implicit Functions in Feature Space for 3D Shape Reconstruction and Completion
第8章 生成式深度学习
【点云系列】PnP-3D: A Plug-and-Play for 3D Point Clouds
Summary of image classification white box anti attack technology