Send data to PC without UART ( STM32 USB COM)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Labels:
-
STM32F7 Series
-
UART-USART
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-14 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-10-14 9: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
Up vote any posts that you find helpful, it shows what's working..
