Skip to main content
charles2399
Associate III
February 26, 2009
Question

UART5 Rx & Tx Pins

  • February 26, 2009
  • 3 replies
  • 798 views
Posted on February 26, 2009 at 16:24

UART5 Rx & Tx Pins

    This topic has been closed for replies.

    3 replies

    charles2399
    Associate III
    May 17, 2011
    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.

    :)

    charles2399
    Associate III
    May 17, 2011
    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

    st3
    Associate III
    May 17, 2011
    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...?