cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F412 CDC feature fail from STM32CubeMx

Hugo Lin
Associate II
Posted on April 26, 2017 at 04:42

I using STM32CubeMx generate code for STM32F412 USB CDC mode, but it's not work. However, I using STM32F072 MCU that it's work now.

Could anyone tell me what happened? 

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee
Posted on April 26, 2017 at 18:21

Hi,

Try increase heap and stack sizes in the CubeMx setting.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

2 REPLIES 2
Imen.D
ST Employee
Posted on April 26, 2017 at 18:21

Hi,

Try increase heap and stack sizes in the CubeMx setting.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on April 27, 2017 at 03:22

I try increase heap and stack sizes, it's work now.  Thanks a lot!