ΣSigmaStudio Ask AI Русский Log in

BF70x USB EP0 sent stall bit.

Processors & DSP Henrik2021 Apr 2, 2021 00:00 2 replies Original on forum ↗
Subscribe
Henrik2021 Question
Apr 2, 2021 00:00

I have a problem regarding a USB implementation on a BF700 blackfin EP0 control transfer line.

Enumeration of a USB to Serial works fine, as do serial communication.

However once in a while, a set baudrate control transfer fails.

Looking at a USB analyzer, I can see the blackfin sends a STALL in reply to the comport settings.

The bit USB_EP0_CSR[n]_P.SENTSTALL has been set, and looking in the manual (Stalls Issued to Control Transfers), it tells the blackfin has send this stall because it did not like the host transfer.

Now I have made a small program that continuously changes the com baudrate, and after a while the stall is send.

I use the USB analyzer to look for differences between all the changes that was successfully and the last one that fails.

None are visible...

Help is appreciated :)

Best regards

Henrik

Anand Selvaraj Reply
May 5, 2021 00:00

Hi Henrik,

Apologies for delay in response.

Were you able to get going. Let us know if you are still facing any issues.

Regards,
Anand Selvaraj.

Henrik2021 Reply
May 5, 2021 00:00

Hi Anand.

Thanks for answering. We still have the Issue, but we have implemented a workaround. If I come back to the problem and find a solution, I will let you know.

Best regards
Henrik