完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
你好!我正在测试在AN6997中提到的流的配置,虽然我修改了VHDL,以便向FX3发送一个增加的计数器。每当我按下“传输数据”时,在控制中心中得到的数据在上一次传输的最后一个数不等于第一个数字减去下一个传输的1的意义上是不联系的。我需要一个完整的内存信号从DMA,以避免重写数据和另一个信号通知我,数据已经从控制中心读取。我怎样才能做到呢?谢谢您!
以上来自于百度翻译 以下为原文 Hi! I'm testing the streaming in configuration as mentioned in AN65974, although I modified the VHDL in order to send an increasing counter toward FX3. The data that I get in Control Center whenever I press "Transfer data in" are not linked in the sense that the last number of the previous transfer isn't equal to the first number minus 1 of the next transfer. I need a full memory signal from DMA in order to avoid overwriting data and another signal that notice me that data has been read from control center. How can I do that? Thank you! |
|
相关推荐
3个回答
|
|
你好,
“传输数据”按钮只需读取来自USB设备的“X”字节数据。X’是在“字节传输”旁边的空间中输入的值。 在FX3中存在的DMA控制器在填充了已分配的缓冲器的情况下,寻找一个空闲缓冲器,并基于缓冲器状态改变标志。 如果你对这个话题还有任何疑问,请告诉我。 谢谢, Sai Krishna。 以上来自于百度翻译 以下为原文 Hi, "Transfer Data In" button just reads 'x' bytes of data from the USB device. 'x' is the value that you enter in the space next to "Bytes to transfer". DMA controller present in FX3 takes care of finding a free buffer when the already allocated buffer is filled and changing the flags based on the buffer status. Please let me know if you have any more questions on this topic. Thanks, Sai Krishna. |
|
|
|
你好!
从AN6944我可以看到,当FX3用流式固件编程时,它创建了两个DMA通道: 1)USB 3的PUU:16KB,缓冲区计数为8 2)USB 3的U2P:16KB和缓冲区计数为4 我需要澄清以下问题: 1)我总是从“传输数据”中读取16KB,所以同时读取整个缓冲堆栈。 然后我假设DMA控制器将标志A更改为1,FPGA将另一个16KB转换成堆栈。带标志B在1(堆栈满条件),FX3等待,直到我再次按下“传输数据”,它从头开始。对吗? 2)我的项目只需要单向的数据传输,从FPGA到FX3。我能重新分配16KB的U2P,以便有2KB的2U? 3)缓冲区计数是多少? 谢谢您!! 以上来自于百度翻译 以下为原文 Hi! from AN65974 i can see that when fx3 is programmed with streaming firmware, it creates two DMA channels: 1) P2U: 16kB for USB 3.0 and the buffer count is 8 2) U2P: 16kB for USB 3.0 and the buffer count is 4 I need clarification on the following questions: 1) I always read 16kB from "Transfer data in", so the entire buffer stack is read at once. Then I suppose that the DMA controller changes the flag A to 1 and the FPGA transfer another 16kB into the stack. With flag B on 1 (stack full condition), FX3 waits untill I press again "Transfer data in" and it starts all over again. Is it right? 2) My project need only one way data transfer, from FPGA toward FX3. Can I re-allocate the 16kB of U2P in order to have 32kB for P2U? 3) What is the buffer count? Thank you!! |
|
|
|
谢谢您!你的回答很有帮助。我需要再问你一件事:标志B:当它高的时候,它意味着内存已经满了,我不应该写了,但是在流媒体的状态机绘图中,写状态是由从0到1的标志B触发的。我的VHDL也写向FX3时,标志A和标志B是高。标志B低电平有效吗?在PDF中,我能找到关于如何重新分配缓冲区的规范吗?谢谢您。
以上来自于百度翻译 以下为原文 Thank you! Your answer was very helpful. I need to ask you one more thing: Flag B: when it is high it means that the memory is full and i should not write, but in the state machine drawing of streaming in, the writing state is triggered by flag B that changes from 0 to 1. My VHDL also writes toward FX3 when both flag A and flag B are high. Is flag B active low? ps. in wich pdf can I find specifications on how to re-allocate buffers? Thank you. |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3639 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1761 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
361浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
858浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 10:38 , Processed in 0.891961 second(s), Total 81, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号