Mithun_K_Das
Advanced Member level 3
- Joined
- Apr 24, 2010
- Messages
- 899
- Helped
- 24
- Reputation
- 48
- Reaction score
- 26
- Trophy points
- 1,318
- Location
- Dhaka, Bangladesh, Bangladesh
- Activity points
- 8,254
I was working on a project to use STM32F105RBT6 as a USB Host and another device which is CH340 based acting as a device. Now, using the STM32CubeMx, I have generated the code for the USB host that can detect if there is anything in the USB port, can detect if it is disconnected.
While debugging, I can see, that the host side is working fine. At the same time, the device is ok if I test with a PC. But when plugging into the USB HOst circuit with STM32, it is either in Ideal mode or in Starting mode.
I did not use STM32 as a host before. So, if anyone has the same experience please share your suggestions with me.
While debugging, I can see, that the host side is working fine. At the same time, the device is ok if I test with a PC. But when plugging into the USB HOst circuit with STM32, it is either in Ideal mode or in Starting mode.
I did not use STM32 as a host before. So, if anyone has the same experience please share your suggestions with me.