Skip to main content
Adam Hamilton
Senior
May 9, 2018
Solved

STM32F412G-DISCO arduino pin assignment error

  • May 9, 2018
  • 2 replies
  • 1287 views
Posted on May 09, 2018 at 15:46

When I create a project in CubeMX 4.25.0 with the STM32F412G-DISCO board, the arduino pin assignments are all wrong.

I have attached a partial screenshot of the CubeMX project showing the incorrect assignment and a screenshot of the user manual's pin assignment.

0690X0000060B5pQAE.png0690X0000060B6jQAE.png

Is this likely to be corrected in a future update?

I don't think this is likely to cause problems as enabling the USART6 peripheral, for example, can't be set to D0 and D1 (PD14 & PD15) in CubeMX but it does cause a bit of confusion when trying to assign peripherals.

Kind regards

Adam Hamilton

    This topic has been closed for replies.
    Best answer by Adam Hamilton
    Posted on May 10, 2018 at 02:51

    I have found the source of confusion and it is not due to incorrect pin assignments but because the arduino connector has the labels marked as D0-D13 and the D0-D13 I was seeing infact belonged to the LCD - although maybe they should be marked as LCD_D0 etc... to avoid confusion for future updates.

    2 replies

    Adam Hamilton
    Adam HamiltonAuthorBest answer
    Senior
    May 10, 2018
    Posted on May 10, 2018 at 02:51

    I have found the source of confusion and it is not due to incorrect pin assignments but because the arduino connector has the labels marked as D0-D13 and the D0-D13 I was seeing infact belonged to the LCD - although maybe they should be marked as LCD_D0 etc... to avoid confusion for future updates.

    Houda GHABRI
    ST Employee
    May 16, 2018
    Posted on May 16, 2018 at 17:22

    Hi

    adam3hamilton

    ,

    Your requestis forwarded toour team and we will do our bestto

    implement it

    in futurereleases .

    I will keep you informed .

    regards,

    Houda