Skip to main content
Richard Peters
Associate II
July 16, 2015
Question

STM32F7 Discovery: Pins PA8 and PI0 are swapped on the Arduino header

  • July 16, 2015
  • 8 replies
  • 1907 views
Posted on July 16, 2015 at 08:39

I found that on the STM32F7 Discovery board there is a bug in the schematics: On the Arduino header, the PA8 and PI0 pins are swapped.

This is caused by a mixup in the netnames in the schematics. On the Arduino CN4 header, the PA8 pin is connected to net ARD_D5 and on the Arduino CN7 header, the PI0 pin is connected to net ARD_D10. However, on the microcontroller ARD_D10 is connected to PA8, and ARD_D5 is connected to PI0.
    This topic has been closed for replies.

    8 replies

    Tesla DeLorean
    Guru
    July 16, 2015
    Posted on July 16, 2015 at 18:48

    Good catch

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Nesrine M_O
    Associate
    July 22, 2015
    Posted on July 22, 2015 at 18:07

    Hi Richard,

    Thank you for bringing this issue to our attention.

    It is noted and will be fixed in coming release of the document.

    -Syrine –

    43161399
    Visitor II
    December 20, 2015
    Posted on December 20, 2015 at 19:19

    If only would have seen this before .... (I could have saved a few hours of debugging and not seeing any signal on pin D5).

    Please note that it is not only wrong in the schematics, but also in the ''Discovery kit for STM32F7 Series with STM32F746NG MCU'' (DocID027942 Rev 1), page 19.

    I think it would be helpful if there were a revision of the document or at least an errata sheet almost half a year after the mistake was detected.

    thomfischer
    Senior
    December 21, 2015
    Posted on December 21, 2015 at 20:02

    STMCubeMx 4.12 shows also wrong pins in PINOUT and generates wrong #defines

    in mxconstants.h

    //#define ARDUINO_PWM_CS_D10_Pin GPIO_PIN_0     // wrong

    //#define ARDUINO_PWM_CS_D10_GPIO_Port GPIOI

    #define ARDUINO_PWM_CS_D10_Pin GPIO_PIN_8

    #define ARDUINO_PWM_CS_D10_GPIO_Port GPIOA

    ...

    //#define ARDUINO_PWM_D5_Pin GPIO_PIN_8     // wrong

    //#define ARDUINO_PWM_D5_GPIO_Port GPIOA

    #define ARDUINO_PWM_D5_Pin GPIO_PIN_0

    #define ARDUINO_PWM_D5_GPIO_Port GPIOI

    Tesla DeLorean
    Guru
    March 22, 2016
    Posted on March 22, 2016 at 16:53

    This *still* isn't fixed!! Can ST please make fixing these sorts of thing a priority, as it is going to keep catching people out.

    https://community.st.com/0D50X00009XkZ5xSAF

     

    Edit: Fixed DEAD LINK, original post from Mar 22, 2016

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    AvaTar
    Senior III
    March 22, 2016
    Posted on March 22, 2016 at 17:13

    > This *still* isn't fixed!!

     

    This might cause one to speculate *what* ST's priorities actually are ...

    m8r-xuulk51
    Associate
    July 5, 2017
    Posted on July 05, 2017 at 07:48

    Dear ST Team,

    this bug is still present in STM32CubeMx 4.21.0

    The code generated for a STM32F746G-DISCO (chip STM32F746NGHx) the assignemt of these PIN labels to the actual pin (PA8, and PI0) are swapped.

    ARDUINO PWM/CS/D10

    ARDUINO PWM/D5

    Also the document UM1907 still contains the wrong Information.

    Please advise us of the timeline for fixing this bug.

    ST Technical Moderator
    July 21, 2017
    Posted on July 21, 2017 at 11:38

    Hello

    Ross.Mike

    ,

    The UM1907 is updated and defined with the correct assignment for PA8 and PI0.

    I checked the assignment in STM32CubeMx (from v4.20 -> 4.22) and it'is correct as defined in

    http://www.st.com/content/ccc/resource/technical/document/user_manual/f0/14/c1/b9/95/6d/40/4d/DM001904pdf/files/DM001904pdf/jcr:content/translations/en.DM001904pdf

    :

    • CN4 connector has ARD_D5 pinconnected with PI0

    • CN7 connector has ARD_D10 pinconnected with PA8

    The typo error is now in the STM32F746G-DISCO schematics pack and it will be fixed in coming release.

    Best 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