Is the USB library threadsafe?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-02-16 8:10 AM
Posted on February 16, 2018 at 17:10
I am developing on the STM32F0 using the USB library and encounter problems when my main routine starts to send data early after the device received the SetConfiguration request.
So far I could narrow it down to the USB stack failing to properly transmit descriptors when I send a data packet directly after getting configured. Data sending is handled from the main loop, so no exception is active at that time.
Could it be that there is a problem if a USB event comes in while the library is loading my endpoint for data transmission?
And would the USB stack work if I disable interrupts before calling it?
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
