赛灵思
直播中

陈超

7年用户 910经验值
私信 关注
[问答]

可以使用pmod端口来获取数字信号输入吗?

你好,
我是FPGA的初学者。
我正在使用Artix-7的Nexys DDR4,我想向FPGA输入数字信号。
然后我想知道如何实现这一点。
我可以使用pmod端口(例如JA,JB等)来获取数字信号输入吗?
如果pmod端口可用,我想知道I / O标准和Vcc和GND端口的使用等设置。
非常感激,
tobitobi

以上来自于谷歌翻译


以下为原文

Hello,

I'm a FPGA beginner.
I'm using Nexys DDR4 of Artix-7, and I'd like to input a digital signal to FPGA.
Then I'd like to know how I can realize that.
Can I use the pmod ports(such as JA, JB etc..) for acquisition of digital signal inputs?
If pmod ports are available for it, I'd like to know the setting such as I/O standard and usage of Vcc and GND ports.

Much appreciated,
tobitobi

回帖(10)

姜雨孜

2019-5-5 14:42:17
@tobitobi你能把我们链接到ADC页面/数据表吗?
假设您使用的ADC类似于MCP3208(8通道,12位,100ksps),那么Pmod端口就可以了。
MCP3208可以执行1Mbps SPI,这很容易在Pmod功能范围内。
SPI在FPGA上特别容易;
它基本上只是一个时钟和一个移位寄存器。
如果你超过50Mbps,那么Pmod可能会成为一个挑战,但50Mbps SPI非常罕见 - 特别是对于相对较慢的ADC。
在原帖中查看解决方案

以上来自于谷歌翻译


以下为原文

@tobitobi Can you link us to the ADC page/datasheet?
 
Assuming the ADC you're using is something like the MCP3208 (8-channel, 12-bit, 100ksps) then a Pmod port will be fine. the MCP3208 can do 1Mbps SPI, which is easily within the Pmod capabilities. SPI is especially easy on an FPGA; it's basically just a clock and a shift register.
 
If you go over about 50Mbps then Pmod might become a challenge, but 50Mbps SPI is pretty rare - especially for a relatively slow ADC.
 
 
 
View solution in original post
举报

姜雨孜

2019-5-5 14:47:29
@tobitobi
您还能告诉我们有关此数字信号的更多信息吗?
它是一个非常低速的信号(例如人类按下开关),还是中速信号(例如SPI总线),还是高速信号(例如HDMI)?
是推挽(例如SPI),漏极开路(例如I2C,开关取决于布局)还是差分(HDMI)?
Pmod端口适用于中低速信号(它们不是真正用于处理高速信号)。
每个引脚提供3.3V和GND引脚,I / O为3.3V(不耐5V  - 从Arduino或AVR施加5V会损坏FPGA)。
对于大多数通用I / O,LVCMOS33 I / O标准可能是一个不错的选择(因为您可能不太关心精确的电压阈值)。

以上来自于谷歌翻译


以下为原文

@tobitobi
 
What more can you tell us about this digital signal? Is it a very low-speed signal (eg. a human pressing a switch), or a medium-speed one (eg. an SPI bus), or a high-speed one (eg. HDMI)? Is it push-pull (eg. SPI), open-drain (eg. I2C, switches depending on layout), or differential (HDMI)?
 
 
The Pmod ports are fine for low to medium speed signals (they're not really built to handle high-speed). Each one provides 3.3V and GND pins, and the I/O is 3.3V (it is not 5V tolerant - applying 5V from an Arduino or an AVR will damage the FPGA). For most general-purpose I/O, the LVCMOS33 I/O standard is likely to be a good bet (since you probably don't care too much about exact voltage thresholds).
举报

李长宝

2019-5-5 14:54:01
@ u4223374
谢谢你的回复。
我想连接外部ADC(串行通信)和精确转换的数据。
ADC的采样速度为100ksps。
它对pmod端口来说太快了吗?
我想要比4更多的模拟数据,所以我不认为Nexys4 DDR中包含的XADC对它有好处。
如果pmod端口不好,你认为我怎么能用外部ADC获得几个模拟数据?
非常感激,
tobibobo

以上来自于谷歌翻译


以下为原文

@u4223374
 
Thank you for replying.
I want to attach external ADCs(serial communication) and acquisite  converted data.
The sampling speed of ADC is 100ksps. Is it too fast for pmod ports?
I want to acquisite more analog data than 4, so I don't think XADC which is included in Nexys4 DDR is good for it.
If pmod ports is bad for it, how do you think I can get several analog data with the external ADC?
 
much appreciated,
tobibobo
举报

王锦霞

2019-5-5 15:00:27
嘿tobibobo,
ADC的采样速度为100ksps。
它对pmod端口来说太快了吗?
100ksps意味着介于0.8和2Mbit / s之间,这对于PMOD接口来说没有问题。
最好,
赫伯特
--------------是的,我这样做是为了好玩!

以上来自于谷歌翻译


以下为原文

Hey tobibobo,
 
The sampling speed of ADC is 100ksps. Is it too fast for pmod ports?
100ksps means between 0.8 and 2Mbit/s which is no problem for the PMOD interface.
 
Best,
Herbert
--------------    Yes, I do this for fun!
举报

更多回帖

发帖
×
20
完善资料,
赚取积分