You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using tusb_host_xfer_data on a interrupt endpoint only the first packet is registered by my USB device. Subsequent packets are ignored.
The hc->toggle_out variable is never toggled by tusb_otg_out_channel_handler . Interrupt endpoints should behave the same as bulk endpoints in this regard.
The below code should also check HCCHAR_INTR and toggle the toggle_out bit.
When using
tusb_host_xfer_data
on a interrupt endpoint only the first packet is registered by my USB device. Subsequent packets are ignored.The
hc->toggle_out
variable is never toggled bytusb_otg_out_channel_handler
. Interrupt endpoints should behave the same as bulk endpoints in this regard.The below code should also check
HCCHAR_INTR
and toggle thetoggle_out
bit.TeenyUSB/usb_stack/src/teeny_usb_stm32_otg_host.c
Lines 602 to 604 in 303431c
I changed it to this which resolved my issue.
Reference:
https://books.google.com.au/books?id=pkefBgAAQBAJ&lpg=PA52&ots=6_nyePBwxH&dq=interrupt%20endpoint%20toggle%20bits&pg=PA52#v=onepage&q&f=false
The text was updated successfully, but these errors were encountered: