Connect USART2 to external device
I am trying to use the Nucleo-F411RE and connect to a UART device. As started, I am using the example from STM32Cube 'C:\stm32\STM32Cube_FW_F4_V1.15.0\Projects\STM32F411RE-Nucleo\Examples\UART'
I can see the message send to external UART device (terminal) by the 'RX' pin on ST-Link board.
Now, I try to map it to different PIN, so change the following in file
#if 0
#define USARTx_TX_PIN GPIO_PIN_2 // Original setting#define USARTx_RX_PIN GPIO_PIN_3#else#define USARTx_TX_PIN GPIO_PIN_8#define USARTx_RX_PIN GPIO_PIN_9#endifWhen I connect to D7 on CN9 on the board, I do not see the print out message.
Is there any limitation in which IO pin I could use ?? or there are additional code changes to configure the PINs, like Input/Output in the example code.
Are the Arduino pin are mapped to mcu by default, or some SB bridge need to be changed ?
Thanks for advice
