当前位置:网站首页>USB(十六)2022-04-28
USB(十六)2022-04-28
2022-07-07 21:50:00 【晓晓暮雨潇潇】
进行测试之前应该明确固件的相关配置,可参考(十四);查看开发环境篇了解Control center和Streamer的使用,使用测试使用Streamer进行速度测试,确保FX3运行在3.0状态,使用Control center完成基础读写测试。另外测试之前应了解板卡信息,修改相应的管脚映射。
1.读测试
下位机读测试代码的机理是只要缓冲区中有数就一直读,直到读空缓冲区为止。在读操作中以16kB为单位由上位机(control center)下发数据,若数据小于16kB,则发送时要注意,不能为1024bit的倍数,否则只有当数据累计达到16kB时才能采集到。同时经过验证,上位机下发数据若小于1024也可以通过ILA采集到。通过GPIF II接口可以由FPGA读取到,并可通过逻辑分析仪抓取验证。其中flag_x_d均为采样后的信号。在用局部标志情况下的通用公式计算时使用采样后的信号。使用vivado烧写(.bit)文件同时烧写DEBUG(.ltx)文件后即可弹出ILA显示界面,可将触发信号设置为slrd_n的下降沿触发,观察ILA抓取的最后一个数据和上位机下发的数据是否一致,验证实验结果。同时明确逻辑分析仪的一格代表写入或者读出一次数据字。
verilog代码如下:
边栏推荐
- ADC采样率(HZ)是什么怎么计算
- The author of LinkedList said he didn't use LinkedList himself
- Introduction to anomaly detection
- GEE(三):计算两个波段间的相关系数与相应的p值
- 微信论坛交流小程序系统毕业设计毕设(1)开发概要
- 微信论坛交流小程序系统毕业设计毕设(8)毕业设计论文模板
- 安踏DTC | 安踏转型,构建不只有FILA的增长飞轮
- ArcGIS:字段赋值_属性表字段计算器(Field Calculator)依据条件为字段赋值
- Advantages and disadvantages of rest ful API
- About idea cannot find or load the main class
猜你喜欢

线上面试,该如何更好的表现自己?这样做,提高50%通过率~

ArcGIS:字段赋值_属性表字段计算器(Field Calculator)依据条件为字段赋值

The author of LinkedList said he didn't use LinkedList himself

Sword finger offer 55 - I. depth of binary tree

Wechat forum exchange applet system graduation design completion (8) graduation design thesis template

There is another problem just online... Warm

What does the model number of asemi rectifier bridge kbpc1510 represent

Why is network i/o blocked?

安踏DTC | 安踏转型,构建不只有FILA的增长飞轮
![Cause analysis and solution of too laggy page of [test interview questions]](/img/33/2c2256fd98b908ddaf5573f644ad7f.png)
Cause analysis and solution of too laggy page of [test interview questions]
随机推荐
Clean C disk
Understand the session, cookie and token at one time, and the interview questions are all finalized
This time, let's clear up: synchronous, asynchronous, blocking, non blocking
消费品企业敏捷创新转型案例
2021-01-12
Line test - graphic reasoning - 1 - Chinese character class
Cascade-LSTM: A Tree-Structured Neural Classifier for Detecting Misinformation Cascades-KDD2020
Use JfreeChart to generate curves, histograms, pie charts, and distribution charts and display them to JSP-1
PCL . VTK files and Mutual conversion of PCD
JMeter-接口自动化测试读取用例,执行并结果回写
Exploratory data analysis of heartbeat signal
Wechat forum exchange applet system graduation design (5) assignment
Mitsubishi PLC SLmP (MC) protocol
The author of LinkedList said he didn't use LinkedList himself
Unity 动态合并网格纹理
为什么市场需要低代码?
Network security -burpsuit
Unity与WebGL的相爱相杀
Talk about DART's null safety feature
leetcode-520. 检测大写字母-js