Skip to main content
Visitor II
July 13, 2020
Question

How do you test the VCP uart port of the nucleo 32 board in linux?

  • July 13, 2020
  • 2 replies
  • 920 views

I am using STm32 nucleo -32 F303K8 board. I see it has the ability to re-route uart2 to st-link to give a virtual com port. However, I see nothing on it. How do I validate the vcom port on linux cube ide? Is there a demo code?

    This topic has been closed for replies.

    2 replies

    Graduate II
    July 13, 2020

    run "dmesg -w" and un- and replug the device. You should see some ttyUSBx appear. Open the device in some terminal emulator, short the RX/TX jumper and you should see echoed what you type. Remove the jumper and the echo should disappear. No write some test programm for the the target to write something on the port.

    PRedd.111Author
    Visitor II
    July 13, 2020

    its actually tty/ACM0. I am able to tx but rx doesn't work at all. I have attached my simple barebones project.