Electronic – Serial port from PC not reaching the MCU

serialstm32uart

I'm trying to send some data from the PC to my STM32L432KC Nucleo board using UART.

Transmitting data to the PC works just fine, I'm receiving data through the STLink Virtual COM Port which I can see using any Serial Monitor like TeraTerm or others.

The problem is with RECEIVING the data from the PC. I've tried sending data using TeraTerm and Hercules and I also checked with Serial Data Monitor if the data is being sent and it looks like it is. But nothing shows up on the UART RX pin (checked with an oscilloscope)

For clarity – I'm not posting any code because the signal doesn't even reach the RX pin so it's not a problem with processing that data.

My process:

  1. Connect the board to PC:

enter image description here

  1. Board configuration in CubeMX:

enter image description here
enter image description here

  1. Sending data through COM3 using TeraTerm or Hercules software:

enter image description here

As I click "send" I'm checking with an oscilloscope if anything shows up on pin A2(PA3) (which is the UART RX pin) – nothing shows up there

Additional info: Sending data from the board to the board works just fine. The problem is with PC->Board

Best Answer

You are using the wrong pin.

The manual for Nucleo with L432KC says UART RX is PA15.

Related Topic