Skip to main content
LHerm.1
Associate II
February 16, 2021
Solved

Arduino serial Monitor / STM32 Nucleo equivalent ?

  • February 16, 2021
  • 3 replies
  • 3066 views

Hello everyone, I would like to know wath's the STM32 equivalent of the serial monitor on Arduino .. Wath's the simpliest way to display integer value like temp or number with a nucleoF401re stuff ?

Thank a lot for your responses !

This topic has been closed for replies.
Best answer by Javier1

With arduino you dont have access to all the cool debugger capabilities of stm32.

You can stop the code and create halt points, thats very handy.

  1. If you hate the debugger you can use a USB-UART converter
  2. if you need the mcu not to be interrupted you could use stmstudio (the debugger will try to fish in real time your variables directly from memory)
  3. if a console is what you need you could use printf() to the stm32cubeide console

3 replies

Peter BENSCH
Technical Moderator
February 16, 2021

The easiest way is the virtual COM port. It tunnels the connected UART from the target (here STM32F401) via USB and makes its data available to every terminal running on the host. These data could e.g. be sent from the target UART with printf.

Regards

/Peter

Javier1
Javier1Best answer
Principal
February 16, 2021

With arduino you dont have access to all the cool debugger capabilities of stm32.

You can stop the code and create halt points, thats very handy.

  1. If you hate the debugger you can use a USB-UART converter
  2. if you need the mcu not to be interrupted you could use stmstudio (the debugger will try to fish in real time your variables directly from memory)
  3. if a console is what you need you could use printf() to the stm32cubeide console
hit me up in https://www.linkedin.com/in/javiermuñoz/
LHerm.1
LHerm.1Author
Associate II
February 16, 2021

Thank for your responses. It helps me a lot !!