Hi all, I enabled USB on 407 controller in MS Class and through program I am enabling (MX_USB_DEVICE_Init();) and disabling (MX_USB_DEVICE_DeInit ();) it. Once enabled, it looks as though the controller gets stuck in a loop. It does not execute
other functions and just hangs. I am suspecting some interrupt flag not being cleared. Strangely it works on my laptop but not on a PC. An earlier version is working without getting stuck and shows SD card content. Any suggestions please?