cancel
Showing results for 
Search instead for 
Did you mean: 

Send data to PC without UART ( STM32 USB COM)

bngstskn
Associate III

Hi, I am using STM32-F767ZI Nucleo board. I trying send data to my PC without UART. My code is correct but data is not sending. In my opinion everything is true. But what is the problem ,I don't. My codes is in the photos.

2 REPLIES 2
MM..1
Chief III

On Nucleo you have simpler way use STLink UART ... USB Cable connected to stlink.

Your code need USB connected to 767 USB con and create more complicated sw as your example.

>>My code is correct but data is not sending.

That seems a bit of a reach..

The code is rather superficial and doesn't check if the interface is connected, or report or act on any errors or status returns.

I don't really see how the interface is serviced/pumped, probably interrupts

Perhaps walk one of the CDC examples for the F7 platform.

STM32Cube_FW_F7_V1.17.0\Projects\STM32F769I_EVAL\Applications\USB_Device\CDC_Standalone

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..