This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About identifying the USB device plugged into the PC or power bank or adapter

Hi,

I am using NRF52833 to develop a wireless and USB combo mouse.

My switch method is detecting VBUS to switch between USB mode or wireless mode.

But a problem is if I plug in power bank or adapter, the mouse will switch to USB mode. And I need to stay in wireless mode. 

I have read this, and realize the VBUS can't solve this problem.

Is there any USB API about D+ and D- or SOF probably can solve?

Best Regards

Parents Reply Children
Related