This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi ,
经过再三确认,我们发现AM3352有丢数据的问题,我们把USB1设置为host。
我们通过在USB1的中断里记录了某个endpoint的接收的数据总数,与我们的client driver读到的数据比较,是一致的,但是与usb device发送的数据比较丢失了刚好一个packet(512 bytes).然后把接收的数据与发送的数据比较,用usb analyzer抓捕的数据比较,发现这包数据在usb 总线上发送是成功的。
记录数据是用EPCSR[n].RXCOUNT。读数据的流程是判断RXPKTRDY->读WFIFO->clear RXPKTRDY.
没使用DMA是因为DMA的问题更多。
请TI的工程师尽快帮忙给些建议,现在整个项目都堵在这里
目前测试的软件平台?板卡是自己设计的还是EVM板?是否有EVM板可以进行这个测试?
另外,如果是自己做的板卡,建议先确认硬件设计上是符合要求。
http://processors.wiki.ti.com/index.php/AM335x_Schematic_Checklist#USB_2
http://processors.wiki.ti.com/index.php/Sitara_Layout_Checklist#USB_Signals