Resolved! How to differentiate USB Mass Storage and Battery charging mode: STM32L476
Posted on November 28, 2017 at 01:27Hello all,I'm using STM32L476 in a custom PCB board. Using USB OTG libary (from L4 cube examples), our code initialize USB Mass storage by following four lines of code upon USB connectivity (detected by a connecte...