2015-07-15 11:39 PM
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.2015-07-16 09:48 AM
Good catch
2015-07-22 09:07 AM
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 –2015-12-20 10:19 AM
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.2015-12-21 11:02 AM
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 GPIOI2016-03-22 08:53 AM
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
2016-03-22 09:13 AM
> This *still* isn't fixed!!
This might cause one to speculate *what* ST's priorities actually are ...
2017-07-04 10:48 PM
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/D5Also the document UM1907 still contains the wrong Information.
Please advise us of the timeline for fixing this bug.
2017-07-21 04:38 AM
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
: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