No Status Out transaction for USB on STM32F070F6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-23 11:40 PM
Hello,
I have coded some usb code which is correctly sending and recieving data. The problem is that at the end of sending the device descriptor no STATUS_OUT packet is sent.
I've done the following to get the above sending:
- Copy the rx data from usb buffer (Packet Memory Area).
- Determine the recieved request is a Device request.
- Clear the CTR_RX flag.
- Write device descriptor to transmit section of usb buffer (PMA).
- Set STAT_TX to valid (by toggling with an XOR).
If I just to the above, this happens:
The above STAT_TX/IN transaction should result in a CTR_TX type CTR interrupt. Inside that handler I do the following:
- Clear the CTR_TX flag.
- Set STAT_RX/OUT to VALID, this should trigger the OUT transaction right?
Unfortunately it doesn't, does anybody have any ideas of what to check/try?
When I do the STAT_RX thing it does the following:
Labels:
- Labels:
-
STM32F0 Series
-
USB
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
