cancel
Showing results for 
Search instead for 
Did you mean: 

USB Device function on the STM32Cube

yoshiokash
Associate
Posted on October 02, 2015 at 05:14

Hi, I'm making CDC device function on the STM32Cube and STM32F4Discovery.

(Using STM32CUBEMX)

But the USB communication between above and PC(Windows 7 32bit) is interrupted as ''STALL'' after GET_DESCRIPTER(DEVICE QUALIFIER) message and SET_CONFIGURATION message absolutely.

How can I avoid above errors?

Could you please give me any idea?

#discovery #stm32 #usb #device
1 REPLY 1
Amel NASRI
ST Employee
Posted on October 07, 2015 at 15:39

Hi yoshioka.shinichiro,

Did you increased the heap size after code generation?

Did you tried the CDC example that you may find in Cube package (for other boards, but you may easily port it to Discover board)? Ex: STM32Cube_FW_F4_V1.8.0\Projects\STM324xG_EVAL\Applications\USB_Device\CDC_Standalone.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.