2009-02-26 07:24 AM
UART5 Rx & Tx Pins
2011-05-17 04:03 AM
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. :o2011-05-17 04:03 AM
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. :)2011-05-17 04:04 AM
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...?