cancel
Showing results for 
Search instead for 
Did you mean: 

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

Richard Peters
Associate II
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.
8 REPLIES 8
Posted on July 16, 2015 at 18:48

Good catch

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Nesrine M_O
Lead II
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
Associate
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
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

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 Up vote any posts that you find helpful, it shows what's working..
AvaTar
Lead
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 II
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.

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen