Microcontroller USB clarification

electronicsLearner77

Jul 2, 2015
306
Joined
Jul 2, 2015
Messages
306
I am referring to an NXP microcontroller which supports USB 2.0 OTG, i understood that OTG supports both as host and device. So, for the hardware board design, i need to provide connector of USB Type B for it to work as device
upload_2022-7-21_20-38-18.png
and also of USB type A connector for it to work as host
upload_2022-7-21_20-39-36.png
Is my understanding correct?
upload_2022-7-21_20-46-34.png
What happens if both Type A and Type B are connected at the same time? I need to do protection?
 

Attachments

  • upload_2022-7-21_20-3-50.png
    upload_2022-7-21_20-3-50.png
    13.1 KB · Views: 1
Last edited:

Nanren888

Nov 8, 2015
622
Joined
Nov 8, 2015
Messages
622
The devices I have used that do this, such as my phone or a pi, have a single connector and you use a cable to adapt when you want OTG. This, way it is one at a time.
.
Not that many devices use "B" anymore.
 
Top