店铺
参考
倪公司
切换导航
内部工具
页面工具
展示页面
旧修订
反向链接
网站工具
近期变动
网站地图
媒体经理
用户工具
登录
狗万man05 .com
FPGA / SoC开发板
ARTY A7
arty s7
arty z7
Basys 3.
CMOD A7
CMOD S7
科拉Z7.
Eclypse Z7.
Genesys 2.
Genesys zu.
nexys a7
Nexys视频
USB104 A7
usrp b205mini-i
Zedboard Zynq-7000开发板
Zybo Z7
看到所有
程序员
看到所有
扩展模块
ZMODS.
ZMOD范围1410.
zmod awg 1411.
看到所有
PMODS.
看到所有
PCAMS.
FMC PCAM适配器
PCAM 5C.
MCU板
Basys MX3.
MAX32
UC32.
WF32.
Wi-Fire.
看到所有
狗万电脑平台
USB范围,分析仪和信号发生器
模拟发现2
Analog Discovery Pro(ADP5250)
Analog Discovery Pro(ADP3450 / ADP3250)
模拟发现演播室
数字发现
看到所有
适配器和帆布
音频适配器
BNC适配器
面包板突破
面包板适配器
阻抗分析仪适配器
空白的画布
面包板帆布
软件
Digilent软件
娴熟2
波形
波形SDK.
看到所有
|
博客
论坛
项目
Digilent GitHub.
你在这里::
Digilent参考
测试和测量
数字发现
SPI协议查看器
此页面仅是读取的。您可以查看源,但不会更改它。如果您认为这是错误的话,请询问您的管理员。
====== SPI协议查看器======
{{参考:测试和测量:模拟发现-2:spi-protocol-performer:shot2.png | wrap>
{{参考:测试和测量:模拟 - 发现-2:spi-protocol-performer:shot1.png |}} wrap> wrap> =====简介=====这是一个工作空间,用于使用//协议分析器//仪器的自定义信号脚本工具生成SPI事务。通过脚本工具,//协议分析器//生成与“Hello World!”的二进制ASCII值对应的模式。//逻辑分析仪//设置为显示通过十进制的SPI信号传输的值。信号在40kHz生成,//逻辑分析器//设置为以1.02MHz的速率收集4,096个样本,导致约3毫秒的采集时间。要了解有关SPI协议的更多信息,[[https://en.wikipedia.org/wiki/serial_peripheral_interface |文章是否有关它是一个很好的资源。---- =====库存===== *具有数字I / O的发现设备:* [[//www.knowreader.com/shop/digital-discovery-portable-usb-logic-analyzer-和数字模式 - 生成器/ |数字发现]] * [[//www.knowreader.com/shop/analog-discovery-studio-a-portable-circuits-laboratory- for-every-student/ | anaporation -student/manalog discovery studio] * [[//www.knowreader.com/shop/analog-discovery-2-100ms-s-usb-cilloscope-logic-analyzer-and-variable-power-supply/ | Analog Discovery 2]] * //也可以使用模拟发现(遗留).// * {{{{{{{{{{{{{{{{{{{{{{{{{test-measurement:spi-protocol-perfice-perficeer:spi-protocol-viewer.zip | spi协议查看器workspace zip存档}} ---- =====设置指令===== ==== 1.硬件设置===通过USB电缆将您的发现设备插入计算机。此项目不需要额外的硬件设置。 ---- ==== 2. Software Setup ==== Download and extract the WaveForms workspace from the {{reference:test-and-measurement:analog-discovery-2:spi-protocol-viewer:spi-protocol-viewer.zip|SPI Protocol Viewer Workspace ZIP Archive}} (also linked in the inventory section, above). ----
Open WaveForms. Upon launch, WaveForms will generate a prompt asking to switch to the device used with the workspace. As this is the device originally used when the workspace was created and archived, select **No**. Navigate to //Settings -> Device Manager// in the menu bar at the top of the window, to check that the active device is your Discovery device.
{{reference:test-and-measurement:digital-discovery:pmod-kypd-output-to-console:device-manager.png|}}
----
Click the **Open Workspace** button on the Welcome tab. Navigate to and open the //spi-protocol-viewer// workspace in WaveForms.
{{reference:test-and-measurement:digital-discovery:spi-protocol-viewer:open-spi-protocol-viewer-workspace.png?600|}}
---- ==== 3. Running the SPI Protocol Viewer ==== The workspace is ready to use. Press the "Single" button in the Logic window, then press the **Execute** button in the //Protocol Analyzer// instrument. The //Logic Analyzer// will display the decimal values of the ASCII codes for "Hello World!". **Note:** //To view the data through the Logic Analyzer while using the Protocol Analyzer, the Protocol Analyzer was placed into debug mode, which disables the Protocol Analyzer's ability to receive data. If this workspace is used to receive data through the Protocol Analyzer, the debug button will need to be deselected.// ----
{{reference:test-and-measurement:analog-discovery-2:spi-protocol-viewer:shot2.png|}}
//Protocol Analyzer Instrument//
{{reference:test-and-measurement:analog-discovery-2:spi-protocol-viewer:shot1.png|}}
//Logic Analyzer Instrument//
---- ===== Final Notes ===== This workspace is a good starting point for testing a SPI device through WaveForms. By simply modifying the contents of the ASCII array, different values can be sent to a SPI slave device. An additional SPI bus can be added in the Logic Analyzer to view a device's responses on the MISO data line. For more guides and example projects for your Test and Measurement device, please visit its Resource Center, which can be found through this wiki's [[test-and-measurement:start]] page. For technical support, please visit the [[https://forum.digilentinc.com|Digilent Forums]]. {{tag>project digital-discovery analog-discovery-2 analog-discovery analog-discovery-studio}}