2017-01-05 04:59 AM
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-2017-01-05 08:07 AM
Dear
Prieto_Castillo.Dani
,Have a look to the
and 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
andAN2606 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
2017-01-09 01:10 AM
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 Prieto2017-01-09 03:36 PM
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
2017-01-20 02:13 AM
Hi
DAHMEN.IMEN
, I discard problems with the HUB and the possible exchange of D + for D-, and the problem persists. I've done captures with USBview to see what kind of problem I have.STM32F103 working fine:
Now the STM32F107, with the communication problems.
I have tested by placing the pull-up resistor at 107, but that way it stops working the
I created the software with CubeMx in both micros, so I imagine the problem doesn't come from here.
Thank you in advance.
Daniel Prieto
2017-01-23 05:50 AM
Solved!
Isolating the problematic micro, and redoing the code again the tablet is detecting the micro 107, I will continue working on it.Thank you!