2019-11-08 04:35 PM
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!
2019-11-08 07:05 PM
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
2019-11-08 07:25 PM
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
2019-11-11 11:22 AM
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!