cancel
Showing results for 
Search instead for 
Did you mean: 

USB: After enumeration, In and Out don't generate interrupt

arnaud239955
Associate II
Posted on May 24, 2015 at 21:42

I am designing an USB device on the STM32L151CB micro-controller. I use the STM32Cube_FW_L1_V1.2.0 USB library.

My device enumerates correctly. I reach the point of sending an receiving data.

I implemented a class layer, but I can't manage to send and receive data to/from the host (a Linux PC with Libusb).

In fact, after investigation I found that after enumeration, whatever are commands sent by the Host, HAL_PCD_IRQHandler(&hpcd_USB_FS) is never called (no interrupt). I checked all USB registers which seem correctly configured. I see that USB GPIO pins are still in RESET state. Is it normal ? I changed their configuration to alternate functions, but it is the same.

I am totally stuck.  Any clue ?

Thanks a lot.

Zirco

#!bug
0 REPLIES 0