Read multiple input endpoints #3711
Unanswered
ChiaYen-Kan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hi
i try port some host driver to tinyusb base on felis/USB_Host_Shield_2.0
device is has 3 endpoints:

1 interrupt endpoint for input
1 bulk endpoint for input
1 bulk endpoint for output
i have to check each input endpoint(interrupt/bulk) sequentially to see if there is data coming in
when only one task check interrupt endpoint is work, interrupt endpoint have data coming
but when add second task to check bulk input endpoint, interrupt enpoint is broken, can't read any data from interrupt endpoint
how to handle multiple input endpoint transfer?
my board is STM32F429 Discovery
following is endpoint check task
HCI is input interrupt endpoint
ACL is input bulk endpoint
All reactions