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