Cypress技术论坛
直播中

李雪萧

8年用户 186经验值
私信 关注
[问答]

怎么使用CyAPI.lib在FD [0-7]行上输出数据

嗨,我用CyAPI.LIB编写了一个C++程序,使用XFelDATA()方法交替地将“AA”和“55”写入CY368D开发板上的等时端点缓冲区。我使用奴隶FIFO自动操作模式,SLRD引脚接地用于永久断言。我希望看到一个波形,当我把我的范围挂钩到DEV板上的任何FD[0~7]线时,我只看到噪音。我很确定我的固件是好的,但我想知道是否有任何明显的寄存器我省略了,或者我忘了做,这可能会产生这个问题。谢谢你提供的任何建议,扎克

以上来自于百度翻译


     以下为原文
          Hi,   
   
I've written a C++ program using CyAPI.lib that alternately writes "AA" and "55" using the Xferdata() method into an isochronous endpoint buffer on the CY3684 development board. I'm using slave FIFO Auto mode of operation, with the SLRD pin grounded for permanent assertion. I'm hoping to see a waveform when I hook my scope to any of the FD[0-7] lines on the dev board, I see only noise. I'm fairly sure my firmware is fine, but I'm wondering if there are any obvious registers I omitted or something I'm forgetting to do that could produce this problem.   
   
Thanks for any advice you can offer,   
Zach   

回帖(1)

何柳青

2019-3-1 15:14:31
使用FIFOADR0和FIFOADR1线路,您是否正在从硬件端点期望数据?????

以上来自于百度翻译


     以下为原文
          Did you hardware the endpoint from which you are expecting data using the FIFOADR0 and FIFOADR1 lines????   
举报

更多回帖

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