2019-10-24 5:33 AM
Hello,
We are facing the situation in which, we have to differentiate that USB charging is going through the PC or adapter. We are using STM32L4R5 controller.
We tried with the "HAL_PCDEx_BCD_VBUSDetect()" API but always getting call back for the "PCD_BCD_DISCOVERY_COMPLETED".
Also we have below queries,
Please proved the solution for the above queries
Regards,
Bhushan Bute
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.