STM32H723 USB Example
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-30 8:19 AM
I was trying to use the usb cdc acm example from STM32CubeMx for a Nucleo-H723ZG board. When i run the example, the device doesn't get detected at by my computer.
- Labels:
-
STM32CubeMX
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-30 8:53 AM - edited ‎2024-08-30 8:54 AM
Hello @jasd33p ,
Make sure to update and use latest release of STM32CubeMX. Maybe you have the same issue described in these posts and which is fixed in the CubeMX 6.11.0 version.
- Solved: USBx CDC-ACM (VCP) not enumerating on Nucleo-L452R... - STMicroelectronics Community
- Solved: STM32H573 USBX CDC ACM(DEVICE) - STMicroelectronics Community
This article may help you on your application: How to implement a dual CDC ACM USB device using t... - STMicroelectronics Community.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-30 10:14 AM
Hi.
I noticed in the main.c that only dma and gpio init are called but nothing for the usb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-31 7:01 PM
Nucleo-H723ZG examples do not include CDC.
Probably you're using some other source, and we don't know which.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 7:23 AM
I was using the stm32cubemx and the cdc example is there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 12:18 PM
The USB is initialized when MX_ThreadX_Init is called.
Hopefully you're using the USB connector at the bottom edge of the board. Make sure you have a good USB cable with data signals and not a charging cable only cable.
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 1:34 PM
I only see tx_kernel_enter() in Mx_ThreadX_Init. Do i have to add the USB code myself for the example?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 2:06 PM
No, you can see the USB files/folders that were added. With some referencing, starting with usb_otg.c, you can work backwards starting with MX_USB_OTG_HS_HCD_Init and see what function calls it, then the function before that and so on until MX_ThreadX_Init
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
