Connect with us

How to do this USB transfer?

Discussion in 'Microcontrollers, Programming and IoT' started by wounder, Jul 8, 2019.

Scroll to continue with content
  1. wounder


    Jun 15, 2019
    I have a scenario that,

    when receiving data through UART (STM32) ,same time the data is displayed in the notepad(opened in PC)

    how can I implement this?

    I am using stm32 micro controller

    Figure below


    [Mod edited to put image inline]
    Last edited by a moderator: Jul 8, 2019
  2. Harald Kapp

    Harald Kapp Moderator Moderator

    Nov 17, 2011
    Use a UART-USB Bridge (e.g. from FTDI), available as module (example). Connect RX (left side of controller) to RX of the module, connect USB side of the module to the PC. On the Windows side the data is accessible via a virtual COM port. The required driver is usually automatically installed by Windows upon connection to such a module. In some cases manual installation of the matching driver software is required.

    However, you will not be able (at least not in a simple manner) to display data within notepad (that would require additinal programming). A terminal emulator is the usual way to display UART data on a PC.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day