cancel
Showing results for 
Search instead for 
Did you mean: 

USB OTG not working on STM32L4

MCost.4
Associate II

Hi,

I am trying to configure the USB OTG of my Nucleo-L4R5ZI board to host-only mode, but I am facing some issues. In the user manual is said that "A green LED LD8 lits up in one of these cases: (1) Power switch (U12) is ON and STM32 Nucleo-144 board works as a USB host". I have activated the VBUS sensing, configured the FAT file system, and set the PG6 as the USB Power Switch, as referred to in the user manual. Nevertheless, the LED LD8 never lights up and the USB stick is never detected. How can I fix this?

P.S.: I attached the STM Cubed project.

0 REPLIES 0