Library for passiv (BMC idle) USB-C power negotiation

virpio
Posts: 2
Joined: Mon Aug 26, 2024 1:42 am

Library for passiv (BMC idle) USB-C power negotiation

Postby virpio » Mon Aug 26, 2024 1:47 am

Does anybody know of a library that handles the passiv / BMC idle part of the USB-C protocol? The BMC idle version requires observing the CC1 and CC2 pins for its voltage which is easily doable with the ESP32's ADC. As far as I can see in the spec, in case of a change you have up to 60ms to respond to that and reduce your power consumption if necessary, so that should be observable with the ESP32 (C6 in my case)?

Basically what I want out of this is to know whether I can draw 3A, 1.5A or only the basic USB power. I don't need any of the higher modes that require active USB PD negotiation, so I was hoping I can get by without needing a separate USB controller.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 69 guests