6 years, 1 month ago.

How can I use UART2 on Mbed?( with F030R8)

Hi

I'm using Nucleo-F030R8. I want to use two UART port. (UART1 using GPS Unit, UART2 using BLE Device)

then I see dataseet, F030R8 has many UART1 port. but when it comes UART2, it has only UART2_RX(PA_15), there is no secondary UART2_TX. https://os.mbed.com/platforms/ST-Nucleo-F030R8/

I heard UART2 using as USB Serial Port and it couldn't use usually UART port. Somehow can I use two UART on this board?

thanks.

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F030R8T6 microcontroller.

1 Answer

6 years, 1 month ago.

Hello Sako-san,

According to chapter 5.7 "USART Communication" of the User Manual you can use also USART2 in your application:
If the communication between the target MCU PA2 (D1) or PA3 (D0) and shield or extension board is required, solder bridges SB62 and SB63 should be ON, SB13 and SB14 should be OFF.
However, that will disable the virtual serial port and because there are only two USART ports available on a NUCLEO-F030R8 you won't be able to send debug messages to the PC anymore.