Skip to main content
Hugo Lin
Associate II
Apr 26, 2017 2:42 AM UTC
Solved

STM32F412 CDC feature fail from STM32CubeMx

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? 

    This topic has been closed for replies.
    Imen.DBest answer
    ST Technical Moderator
    Apr 26, 2017 4:21 PM UTC
    Posted on April 26, 2017 at 18:21

    Hi,

    Try increase heap and stack sizes in the CubeMx setting.

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

    2 replies

    Imen.DBest answer
    ST Technical Moderator
    Apr 26, 2017 4:21 PM UTC
    Posted on April 26, 2017 at 18:21

    Hi,

    Try increase heap and stack sizes in the CubeMx setting.

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Hugo Lin
    Hugo LinAuthor
    Associate II
    Apr 27, 2017 3:22 AM UTC
    Posted on April 27, 2017 at 03:22

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