Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 11 months ago.
Is there any hardware changes required for configuring uart in STM32F302 nucleo board?
Hi
How to configure the Uart other than default one
1 Answer
7 years, 11 months ago.
Usually no hardware changes are required. However, the USART2 interface available on PA2 and PA3 can be connected to ST-LINK MCU, ST morpho connector or to Arduino connector. The choice can be changed by setting the related solder bridges (available on the backside of the board). By default the USART2 communication between the target STM32 and ST-LINK MCU is enabled, in order to support virtual COM port for mbed (SB13 and SB14 ON, SB62 and SB63 OFF). If the communication between the target STM32 PA2 (D1) or PA3 (D0) and shield or extension board is required, SB62 and SB63 should be ON, SB13 and SB14 should be OFF. In such case it is possible to connect another USART to ST-LINK MCU using flying wires between ST morpho connector and CN3. For instance on NUCLEO-F302R8 it is possible to use USART3 available on PC10 (TX) and PC11 (RX). Two flying wires need to be connected as follow:
- PC10 (USART3_TX) available on CN7 pin 1 to CN3 pin RX
- PC11 (USART3_RX) available on CN7 pin 2 to CN3 pin TX