cancel
Showing results for 
Search instead for 
Did you mean: 

No Status Out transaction for USB on STM32F070F6

David Ledger
Associate III

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:

  1. Copy the rx data from usb buffer (Packet Memory Area).
  2. Determine the recieved request is a Device request.
  3. Clear the CTR_RX flag.
  4. Write device descriptor to transmit section of usb buffer (PMA).
  5. Set STAT_TX to valid (by toggling with an XOR).

If I just to the above, this happens:

0690X000009Z2K5QAK.png

The above STAT_TX/IN transaction should result in a CTR_TX type CTR interrupt. Inside that handler I do the following:

  1. Clear the CTR_TX flag.
  2. 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:

0690X000009Z2MpQAK.png

0 REPLIES 0