亲爱的各位,
我从来没有与FX3一起工作,我现在正在设计一个数据采集系统,它将在100MHz输出32位数据,但是GPIF II端口后面的一些逻辑对我来说仍然是雾蒙蒙的。
关键方面:
该采集系统具有自己的时钟,并且可以将其提供给PCLK引脚作为输入到FX3IT,它还提供32比特并行数据发送到主机PC(我只需要它被发送到主机PC)。生成数据的设备是ADC,并且没有缓冲能力。E以外的FX3i不能失去ADC样本
我正在寻找“流”模式,它适合这个应用程序(如果我错了,请纠正我)。这是在“EZ-USB®FX3从FIFO接口设计”的第45页中描述的。
我的问题:
我想让ADC时钟自由运行,并且当软件请求时,FX3开始在PCLK的上升沿连续捕获采样,例如,1000毫秒。我仍然要管理pktend #;野莓#;SLRD #;小额贷款#;SLWR #;A [1:0]信号的硬件或软件可能在做的一切吗??
换句话说,我想我的接口与FX3是PCLK时钟和32位数据。这是可能的吗?
先谢谢了。
马里奥
以上来自于百度翻译
以下为原文
Dear all,
I never worked with the FX3 and I'm right now designing a data acquisi
tion system which shall output 32bit of data at 100MHz but some of the logic behind the GPIF II port is still foggy for me.
Key aspects:
- The acquisition system has its own clock and can provide it to the PCLK pin as an input into the FX3
- It also provides the 32 bit parallel data to be sent to the host PC (I just need it to be sent as it is to the host pc)
- The device generating the data is an ADC and no buffering capability is available outside the FX3
- I cannot lose ADC samples
I'm looking into the "Stream IN" mode which seams to be the most appropriate for this application (correct me if I'm wrong). This is described in page 45 of "Designing with the EZ-USB® FX3™ Slave FIFO Interface"
My question:
I would like to have the ADC clock running freely, and when requested by software have the FX3 to start capturing samples at the rising edge of PCLK continuously for, let's say, 1000 ms . Do I still have to manage the PKTEND# ; SLOE# ; SLRD#; SLCS#; SLWR#; A[1:0] signals by hardware or is it possible to do everything in software ??
In other words, I would like that my interface with the FX3 is just PCLK and 32 Bit Data. Is that possible?
Thanks in advance,
Mario