AnsweredAssumed Answered

STM32F4 - Detection of USB Data Stick Plugged In

Question asked by roofie01 on Mar 19, 2016
Latest reply on Mar 29, 2016 by roofie01
Hi:

On an STM32F405, I am using ports PA9 through PA12 connected through to a USB Mini B connector. The intention is to use the port so I can plug in a USB stick and transfer data to it.
To drive USB power, I have a STMPS2141STR switch. I don't want the switch to be enabled unless the USB stick is plugged in. I do not understand the USB interface mechanism that would allow this detection to happen so the STMPS2141STR switch should be enabled only when the USB has a stick installed.

Can someone please explain?

Thank you.



Outcomes