-
Trying to set up simple vendor device with single bulk in/out endpoint Have got the CDC echo example working without any problems, so hardware ok. All GET/SET descriptor and string transactions work correctly, however when I start to receive bulk in/out transactions from the PC application, the problems start. I have included code below, application waits for a received bulk out message, then replies with bulk in. If I set If I set Any ideas as to where to start looking for the problem?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You need to use different EP for IN and OUT transfer due to SAME70 limitation, like in CDC example: |
Beta Was this translation helpful? Give feedback.
-
In addition I've enabled the USB debugging feature. Messages starting with ### are ones I've added. I receive a bulk msg starting with 22, and reply with a message starting with 21. The tx: 21 message seems to get all the way to After that although bulk out/in messages are seen on the bus, tinyusb does not receive anything.
|
Beta Was this translation helpful? Give feedback.
You need to use different EP for IN and OUT transfer due to SAME70 limitation, like in CDC example:
tinyusb/examples/device/cdc_dual_ports/src/usb_descriptors.c
Line 101 in 9da234c