Maker Pro
Maker Pro

How to do this USB transfer?

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

Clipboard01.jpg

[Mod edited to put image inline]
 
Last edited by a moderator:

Harald Kapp

Moderator
Moderator
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.
 
Top