Skip to main content
Dani Prieto
Associate III
January 5, 2017
Question

USB problems

  • January 5, 2017
  • 5 replies
  • 840 views
Posted on January 05, 2017 at 13:59

Hello,

I use a TUSB2046BVF to connect a host (tablet) to 2 USB connectors and 2 micros, one is STM32F103 and the otherSTM32F107, and I can only operate the 103 when I remove the pull-up resistor at 107.

The other ports do not work, nor the 107 when I remove the pull-up to 103.

I'm stuck with this problem.

Thanks in advance.

#stm32f103-
This topic has been closed for replies.

5 replies

ST Technical Moderator
January 5, 2017
Posted on January 05, 2017 at 17:07

Dear

Prieto_Castillo.Dani

‌,

Have a look to the

http://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD001675pdf/files/CD001675pdf/jcr:content/translations/en.CD001675pdf

and

http://www.st.com/content/ccc/resource/technical/document/errata_sheet/8d/85/aa/39/f4/58/40/e8/CD00238pdf/files/CD00238pdf/jcr:content/translations/en.CD00238pdf

to check known limitationwith STM32F107 configuration which could be your problem if you have the same conditions.

Maybe this note can help you:

'For STM32F107xx line devices, PA9 pin (USB_VBUS) is used to detect the USB host connection. The initialization of USB peripheral is performed only if PA9 is high at detection phase which means that a host is connected to the port and delivering 5 V on the USB bus. When PA9 level is high at detection phase, more time is required to initialize and shutdown the USB peripheral.

'

Refer to t

he STM32F107xx

http://www.st.com/content/ccc/resource/technical/document/datasheet/e4/f3/1a/89/5a/02/46/ae/CD00220pdf/files/CD00220pdf/jcr:content/translations/en.CD00220pdf

and

AN2606 to make sure that you've configured the right pins in the right mode.

Please, keep us informed about your progress on this issue.

Best Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Dani Prieto
Associate III
January 9, 2017
Posted on January 09, 2017 at 09:10

Thank you

DAHMEN.IMEN

for your answer.

I do not use the PA9 as VBUS on the USB, should I use it? I used CubeMX and it gave me the option of not using it.

The tablet gives me an error with this device: 'Device Descriptor Request Failed', while detects the STM32F103 as 'STMicroelectronics Virtual COM Port', as they are configured.

Thanks you for your help

Daniel Prieto

ST Technical Moderator
January 9, 2017
Posted on January 09, 2017 at 23:36

Hello

Prieto_Castillo.Dani

‌,

C

heck if you have switched D+ and D-.

So, t

ry to connect these component:

D- =PA11 and

D+ =PA

Hope this

https://community.st.com/0D50X00009XkeKwSAJ

helps you.

Please keep me informed about your progress.

Best Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks