cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743 UART read/write to/from PC and MCU

TMal.1035
Associate

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!

3 REPLIES 3

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
Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Evangelist III

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

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!