stm32u585 ux_device_hid example without USBPD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 12:08 AM - last edited on ‎2024-09-03 5:14 AM by FBL
I can open, regenerate, build and flash B-U585I-IOT02A -> Ux_Device_HID example successfully.
But when I try disable USBPD (we don't have usbpd on our board. just the D+ and D- pins) and regenerate the project, so many many unrelated files are being removed or added from the project and it becomes very hard to compile it and use it.
Is there any example for stm32u585 without USBPD?
Solved! Go to Solution.
- Labels:
-
STM32Cube MCU Packages
-
USB
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 4:43 PM
I think that you need to remove the ux_app_MsgQueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 5:20 AM
@miladmohtashamirad wrote:
But when I try disable USBPD (we don't have usbpd on our board. just the D+ and D- pins)
Do you mean without Type C connector? You can check examples provided stm32u5-classic-coremw-apps/Projects/NUCLEO-U575ZI-Q/Applications/USB_Device/HID_Standalone at main · STMicroelectronics/stm32u5-classic-coremw-apps (github.com)
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 5:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 4:18 PM
Hi @Mohamed_AYED .
The ioc file is exactly as the original B-U585I-IOT02A -> Ux_Device_HID example. only USBPD in connectivity and middleware and it's dma channels are disabled and then regenerated. I've attached the project here.
One of the odd things to see is USBX\App\ux_device_descriptors.c that is malformed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 4:19 PM - edited ‎2024-09-03 4:42 PM
Hi @FBL .
yes. I'm trying to get usb working on type C connector without USBPD.
This project is also using USBPD. ( I might be wrong, but in the main loop and in the source code I can see USBPD stuff).
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 4:43 PM
I think that you need to remove the ux_app_MsgQueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-09-03 5:07 PM - edited ‎2024-09-03 6:00 PM
Hi @Mohamed_AYED ,
I think I found what the problem was. I needed to revert some changes.
Kind Regards.
