我一直试图在CY3684/3674 EZ-USB DEV BRD上在CY7C68013上编写我自己的GPIF输出。然而,我从未看到EP2的空标志变低(指示不空)。我已经修改了BulkHoLoad示例,显示了EP2468 STAT、EP24FIFOFLGS、EP2FIFOFLGS和EP2CS的EP2EF。从EP24FIFOFLGS和EP2FIFOFLGS的空标志永远不会变低。EP2CS上的空标志有时切换到低电平。EP2468 STAT似乎是最可靠的,但是,我能够发送数据到EP2,有时甚至没有看到甚至EP2468 STAT的EP2EF去低内TDYPURBO。我改变了td_poll样本ep2468stat一旦在循环的开始,还是仅此登记火灾低。由于所有的GPIF的例子使用ep2fifoflgs为EP2不空,我希望这是他们为什么不测试?但是不应该所有的EP2空旗副本去低当EP2写入?或者我没有得到什么?
以上来自于百度翻译
以下为原文
I've been trying to write my own GPIF output on a CY7C68013 on the CY3684/3674 EZ-USB Dev Brd. However I never see the empty flag of EP2 go low (indicating not empty). I've modified the bulk_loop example to show the EP2EF from EP2468STAT, EP24FIFOFLGS, EP2FIFOFLGS, and EP2CS. The empty flags from EP24FIFOFLGS and EP2FIFOFLGS never ever go low. The empty flag on EP2CS sometimes toggles to low. EP2468STAT appears to be the most reliable, however I am able to send data to EP2 and occasionally not see even EP2468STAT's EP2EF go low within TD_POLL. I changed TD_POLL to sample EP2468STAT once at the beginning of the loop and still only this register fires low. Since all of the GPIF examples use EP2FIFOFLGS to test for EP2 being not empty I'm hoping this is why they didn't work? However shouldn't all of the copies of EP2 empty flag go low when EP2 is written into? Or is there something that I'm not getting?
我一直试图在CY3684/3674 EZ-USB DEV BRD上在CY7C68013上编写我自己的GPIF输出。然而,我从未看到EP2的空标志变低(指示不空)。我已经修改了BulkHoLoad示例,显示了EP2468 STAT、EP24FIFOFLGS、EP2FIFOFLGS和EP2CS的EP2EF。从EP24FIFOFLGS和EP2FIFOFLGS的空标志永远不会变低。EP2CS上的空标志有时切换到低电平。EP2468 STAT似乎是最可靠的,但是,我能够发送数据到EP2,有时甚至没有看到甚至EP2468 STAT的EP2EF去低内TDYPURBO。我改变了td_poll样本ep2468stat一旦在循环的开始,还是仅此登记火灾低。由于所有的GPIF的例子使用ep2fifoflgs为EP2不空,我希望这是他们为什么不测试?但是不应该所有的EP2空旗副本去低当EP2写入?或者我没有得到什么?
以上来自于百度翻译
以下为原文
I've been trying to write my own GPIF output on a CY7C68013 on the CY3684/3674 EZ-USB Dev Brd. However I never see the empty flag of EP2 go low (indicating not empty). I've modified the bulk_loop example to show the EP2EF from EP2468STAT, EP24FIFOFLGS, EP2FIFOFLGS, and EP2CS. The empty flags from EP24FIFOFLGS and EP2FIFOFLGS never ever go low. The empty flag on EP2CS sometimes toggles to low. EP2468STAT appears to be the most reliable, however I am able to send data to EP2 and occasionally not see even EP2468STAT's EP2EF go low within TD_POLL. I changed TD_POLL to sample EP2468STAT once at the beginning of the loop and still only this register fires low. Since all of the GPIF examples use EP2FIFOFLGS to test for EP2 being not empty I'm hoping this is why they didn't work? However shouldn't all of the copies of EP2 empty flag go low when EP2 is written into? Or is there something that I'm not getting?
举报