Skip to main content
TMal.1035
Associate
November 9, 2019
Question

STM32H743 UART read/write to/from PC and MCU

  • November 9, 2019
  • 3 replies
  • 1835 views

Hey there,

I was wondering where I could find some resource materials for configuring UART to read and write to serial or if I could get a hand with it. Using CubeMX, I've enabled USART3, USB_OTG_FS, and and the USB CDC middleware, but still can't seem to get anything to transmit from MCU to PC. Have tried PC to MCU yet, as that seems a little more complicated. I've been searching for hours and haven't really found anything on what to enable and the process behind it. Any help would be greatly appreciated. Thanks!

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
November 9, 2019

What board are you using?

Using a NUCLEO/EVAL board with an ST-LINK an a VCP?

A full blown CDC device example? VCP outputting to physical USART?

STM32Cube_FW_H7_V1.5.0\Projects\STM32H743I-EVAL\Applications\USB_Device\CDC_Standalone

STM32Cube_FW_H7_V1.5.0\Projects\STM32H743I-EVAL\Examples\UART\UART_Printf

STM32Cube_FW_H7_V1.5.0\Projects\NUCLEO-H743ZI\Examples\UART\UART_TwoBoards_ComPolling

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TMal.1035
TMal.1035Author
Associate
November 11, 2019

Wow, had no clue those repos even existed. I'll dig through those for a while and see what I can make of them. Thanks!

Pavel A.
November 9, 2019

Please visit the online training page. Scroll down to USARTs.

Then try some UART examples from the Cube package .

USB will be much harder than UART, though.

-- pa