Question
USART2 Switching TX and RX Pins
Posted on August 17, 2015 at 22:32
Hi,
I am currently working with an STMF103RB on a board I made. I am using the STMCube_FW_F1_V1.2.0 libraries. I am currently using USART2 to connect to a computer though an FTDI breakout board. Everything works fine however, I forgot to connect TX/RX of the STMF103RB to RX/TX of the FTDI breakout. Is there a way to switch in firmware which pins correspond to TX and RX of USART2? E.g. have PA3 be USART2_TX and PA2 be USART2_RX?Thanks!