Skip to main content
Balaraju Arror
Associate II
July 4, 2017
Solved

Warning in CUBE file

  • July 4, 2017
  • 2 replies
  • 863 views
Posted on July 04, 2017 at 10:45

Hello Team,

While generating drivers for STM32F7 disco board with STM32CUBEMX tool I have faced the error saying THe HAL timebase source can e changed from the pinout tab under SYS.  Please below picture.  Can I still generate code or is it mandatory to change as per the warning and what would be the impact.

0690X00000607PvQAI.png

Thank you,

    This topic has been closed for replies.
    Best answer by Imen.D
    Posted on July 04, 2017 at 12:34

    Hello

    Arror.Balaraju

    ,

    You need to use other HAL time base than Systick and keep Systick as only FreeRtos Timer base to prevent dead lock issue.

    I recommend to have a look to ' 4.6Setting HAL timebase source' inside the STM32CubeMX User manual

    /external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Fuser_manual%2F10%2Fc5%2F1a%2F43%2F3a%2F70%2F43%2F7d%2FDM001047pdf%2Ffiles%2FDM001047pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM001047pdf

    .

    Regards

    Imen

    2 replies

    Imen.DBest answer
    ST Technical Moderator
    July 4, 2017
    Posted on July 04, 2017 at 12:34

    Hello

    Arror.Balaraju

    ,

    You need to use other HAL time base than Systick and keep Systick as only FreeRtos Timer base to prevent dead lock issue.

    I recommend to have a look to ' 4.6Setting HAL timebase source' inside the STM32CubeMX User manual

    /external-link.jspa?url=http%3A%2F%2Fwww.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Fuser_manual%2F10%2Fc5%2F1a%2F43%2F3a%2F70%2F43%2F7d%2FDM001047pdf%2Ffiles%2FDM001047pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM001047pdf

    .

    Regards

    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
    Balaraju Arror
    Associate II
    July 4, 2017
    Posted on July 04, 2017 at 15:29

    Hello,

    I have gone through the document. I got answer to my question.

    Thank you,