完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我的意图是:开发一个比较值的UDB数据路径。如果是空的,则通过软件或DMA将字节写入FIFO F0寄存器中,清除F0空标志。然后将写入的字节读入数据路径A0寄存器,它应该再次抬起F0空标志,并与预先确定的值进行比较。如果值不匹配,则从A0寄存器写入F1寄存器,通过提高“NoToWin”标志,将触发通过软件或DMA进行外部读取。
问题声明:通过我的UDB状态机将FIFO F0寄存器的内容移动到A0中,不会重新引发F0空标志。当我用A0读取F0的数据时,读/写指针不被更新,因此空标志的状态也不被更新。 我已经试过了:我已经证实,一旦写(在我的状态机的第一个状态),这f0_empty国旗从高到低预期。我已经证实了我发送的数据使得它的方式进入登记A0,即A0肯定是检索数据不如预期。 可能关注的领域:FIFO在UDB是32位,这意味着,即使我只写8位,有24位补零写入FIFO的写指针,递增4,因此需要4读空FIFO?这是我唯一能想到的,谁能确定? 我觉得这个信息就足以让感动,但我已经附上任何人的情况下我的工作档案很好奇。感谢你提前为任何帮助我收到关于这个话题的时候,我在墙上撞我的头两天现在在这。 个人设计-0.0捆绑式01.ZIP 1.4兆字节 以上来自于百度翻译 以下为原文 My Intent: Develop a UDB datapath which compares values. A byte is written into the Fifo F0 register via Software or DMA if it is empty, which clears the F0_Empty flag. The written byte is then read into the datapath A0 register, which should raise the F0_Empty flag again, and compared to a pre-determined value. If the value doesn't match it is written from the A0 register into the F1 register, which will trigger an external read via Software or DMA by raising the "Not_Empty" flag. Problem Statement: Moving the contents of the fifo F0 register into A0 via my udb state machine does not re-raise the F0_Empty flag. It seems that when I read the data from F0 with A0 the read/write pointers are not updated, and thus neither is the status of the empty flags. I've Tried: I have confirmed that once written (in the very first state of my state machine), the F0_Empty flag goes from high to low as expected. I have confirmed that the data I send makes its way into register A0, which means A0 is definitely retrieving the data as expected. Possible Areas of Concern: The Fifo's in the udb are 32 bits, could that mean that even if I only write 8 bits, there are 24 bits of zero padding being written into the Fifo, which incremented the write pointer by 4, and thus requires 4 reads to empty the Fifo? This is the only thing I personally could think of, can anyone confirm this? I thought this information would be enough to get moving, but I've attached a copy of my workspace archive in case anyone was curious. Thank you ahead of time for any help I recieve on this topic, I've been banging my head against a wall for 2 days now over this. |
|
相关推荐
1个回答
|
|
我不再使用的数据通路fewtries实现一些编辑过的(要求!)信号未被解释。现在我在等待下一个版本。我有最后一个UDB / datapathproblem是通过创建一个例如我和提供一个有据可查的小源产生错误完全解决。有一些数据通路的大师在工作在柏的我可以向你保证。这可能需要一些时间,但它们确实会有帮助。
在这页的顶部:支持&;社区>;技术支持- >;创建一个例如我 鲍勃 以上来自于百度翻译 以下为原文 I stopped using the datapath editor after a few tries realizing that some of the (required!!) signals were not accounted for. Now I'm waiting for the next version. The last UDB/DataPath problem I had was solved completely by creating a MyCase and supplying a well documented small source that produced the error. There are some DataPath Gurus at work at Cypress's I can assure you. It might take some time, but they will really help. On top of this page: Support&Community -> Technical Support -> Create a MyCase Bob |
|
|
|
只有小组成员才能发言,加入小组>>
752个成员聚集在这个小组
加入小组2071 浏览 1 评论
1827 浏览 1 评论
3642 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1762 浏览 6 评论
1513 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
511浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
362浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
410浏览 2评论
357浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
860浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 05:58 , Processed in 0.753457 second(s), Total 79, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号