cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX 6.4.0 bug - Unable to set up any UART1 mode if none TX pin is free

I've planed use UART1 in "only receive" mode and i used all possible UART1_TX pins for another purposes. In that case UART1 config is bocked and user can't config single wire modes, like "only receive" or "single-wire half duplex " (possible thanks RX/TX Swap).

There are few workarounds:

1) give up UART1 config by cubeMX and write your own code (possible best way)

2) prevent that situation by configuring UART first, before blocking UART1_TX pins by other peripherals

0693W00000Lvhx4QAB.png

1 ACCEPTED SOLUTION

Accepted Solutions
Kraal
Senior III

Hi,

See my question https://community.st.com/s/question/0D53W00000GXETISA5/cubemx-does-not-handle-io-alternate-functions-and-peripherals

I'm not a CubeMX user, so I prefer to write my own code, based on a careful read of both the datasheet, the reference manual and the errata sheet.

Best regards,

Kraal

View solution in original post

1 REPLY 1
Kraal
Senior III

Hi,

See my question https://community.st.com/s/question/0D53W00000GXETISA5/cubemx-does-not-handle-io-alternate-functions-and-peripherals

I'm not a CubeMX user, so I prefer to write my own code, based on a careful read of both the datasheet, the reference manual and the errata sheet.

Best regards,

Kraal