USB ROM problems receiving setup OUT data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB ROM problems receiving setup OUT data

279 次查看
andyjackson
Contributor III

I've created a custom class that exchanges data as part of setup requests. I can successfully transmit data from my device to the host, but cannot receive data from the host. The setup request arrives as expected but I the data is never received. I've tried various combinations of ReadReqEP(), ReadEP(), setting EP0Data.pData, setting DataOutStage() and just about anything else that I've been able to find via Google to no avail.

Does anyone have a working example of doing this using the USB ROM code? I'm using a OM13094 board (LPC541618) as my development platform for this, but the ROM code is generally pretty portable between parts so any suggestions would be most welcome.

Thanks in advance for any help.

Andy

 

标签 (2)
0 项奖励
回复
1 回复

237 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @andyjackson 

How about refer to the ROM USB demo under SDK?

Or recommend you use USB stack under SDK driver. Because the source code inside ROM USB can not access.

 

BR

Alice

0 项奖励
回复