Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

STM32 as Host and CH340 based device as USB Device

Status
Not open for further replies.

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,252
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.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top