cancel
Showing results for 
Search instead for 
Did you mean: 

UART5 Rx & Tx Pins

charles2399
Associate II
Posted on February 26, 2009 at 16:24

UART5 Rx & Tx Pins

3 REPLIES 3
charles2399
Associate II
Posted on May 17, 2011 at 13:03

I'm trying to verify the UART5 Rx & Tx pins. The sample code in USART\printf, implies that they are PC2 and PC12. In RM8000 I can not find any reference to UART5 GPIO pins. Another document which list the pins for STM32F103XE indicates that for UART5 RX is PD2 and TX is PC12.

Can anyone guide me to the correct mapping?

If RX is PD2 then the sample code is wrong.

If RX is PC2 then the pin out documentation is wrong.

Any guidance would be appreciated. :o

charles2399
Associate II
Posted on May 17, 2011 at 13:03

I have UART5 working.

It turns out that the Rx port is PD2 and not PC2 that the example code has.

The example in USART\printf is in error!!

The example assume that both Rx and Tx pins are on the same GPIO port. They all are except UART5 with has the Tx on GPIO C and Rx on GPIO D.

🙂

st3
Associate II
Posted on May 17, 2011 at 13:04

Quote:

It turns out that the Rx port is PD2 and not PC2 that the example code has.

The example in USART\printf is in error!!

Are you sure it's an error - or does the example just have the pins re-mapped...?