AnsweredAssumed Answered

Discovery USB OUT Report example

Question asked by oscura.selva on Oct 29, 2013
Latest reply on Mar 30, 2014 by oscura.selva
Hello everybody,

I'm looking for a working example using OUT Endpoint on STM32F4 Discovery board.
I have no success with it. I modified Demo sample for an OUT Endpoint and Custom usage, and try to send one byte report (2 bytes with ID) to the board from a PC client. Something definitely arrives at the board. The debugger shows the OUT FIFO buffer content changing. The FIFO data however is strange and inconsistent. When sending the same Report repeatedly, the FIFO shows always different values and never the one I actually send. Endpoint interrupt (OTG_FS_GINTMSK.OEPINT) never happens.

Thank you for any advice.