Skip to main content
Hugo Lin
Associate II
April 26, 2017
Solved

STM32F412 CDC feature fail from STM32CubeMx

  • April 26, 2017
  • 2 replies
  • 1013 views
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.
    Best answer by Imen.D
    Posted on April 26, 2017 at 18:21

    Hi,

    Try increase heap and stack sizes in the CubeMx setting.

    Imen

    2 replies

    Imen.DBest answer
    ST Technical Moderator
    April 26, 2017
    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
    April 27, 2017
    Posted on April 27, 2017 at 03:22

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