USB ROM problems receiving setup OUT data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB ROM problems receiving setup OUT data

153 Views
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

 

Labels (2)
0 Kudos
1 Reply

111 Views
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 Kudos