2022-10-14 12:45 AM
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.
2022-10-14 07:49 AM
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.
2022-10-14 09:54 AM
>>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