cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong USART3 pins on Nucleo-F756ZG

Kamil Duljas
Senior III

Hi,

On my Nucleo-F756ZG, when I generate code for USART3 that's by default connected to ST-LINK , Cube sets pins for morpho connector (PB10 PB11) instead of alternate function (PD8 PD9). I also use Nucleo-L476RG and for this board, Cube set alternate funtion pin for Usart2 default connected to ST-LINK.

Dudo
16 REPLIES 16
Ghofrane GSOURI
ST Employee

Hello @kamil Duljas​ 

First let me thank you for posting .

I checked with CubeMX 6.8.0 and this is what I got concerning USART3 pins on Nucleo-F756ZG


_legacyfs_online_stmicro_images_0693W00000bi1IHQAY.pngUSART3_TX-->PD8

USART3_RX-->PD9

Thx

Ghofrane

Kamil Duljas
Senior III

Sorry, i forgot mention that i set it in STM32CubeIde:


_legacyfs_online_stmicro_images_0693W00000bi1KwQAI.png

Dudo
Kamil Duljas
Senior III

Also in CubeMx, when you uncheck pd8 and pd9 pins and enable usart3 it set other pins


_legacyfs_online_stmicro_images_0693W00000bi1LaQAI.png

Dudo
Ghofrane GSOURI
ST Employee

Hello again @kamil Duljas​ 

By checking the datasheet ,and based on Table 10. STM32F756xx pin and ball definition (continued)


_legacyfs_online_stmicro_images_0693W00000bi1NRQAY.pngUSART3_TX-->PB10

USART3_RX-->PB11

Kamil Duljas
Senior III

I know and it is ok. I didin't say that the pins is completely wrong. I notice that on Nucleo L476 after choose USART2 CubeMx is setting pins connected to st-link, but on F756ZG Not. The User must find alternate funtion for USART3 there are connected with ST-LINK. In my opinion it is not consist and sure it is not user friendly

Dudo
Kamil Duljas
Senior III

My request is:

On Nucleo F756ZG,in CubeMx, by default the pins PD8 PD9 should be set, not PB10 and PB11

Dudo

Seems like a reasonable request, you'd think the tools would have a weighting based on the board specific pin usage.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Yes, for example board Nucleo L476 set pins connected with st link. It's very convenient

Dudo
Kamil Duljas
Senior III

@Ghofrane GSOURI​ any decision in this topic?

Dudo