2024-09-03 12:08 AM - last edited on 2024-09-03 05: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.
2024-09-03 04:43 PM
I think that you need to remove the ux_app_MsgQueue
2024-09-03 05: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.
2024-09-03 05:33 AM
2024-09-03 04: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.
2024-09-03 04:19 PM - edited 2024-09-03 04: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.
2024-09-03 04:43 PM
I think that you need to remove the ux_app_MsgQueue
2024-09-03 05:07 PM - edited 2024-09-03 06:00 PM
Hi @Mohamed_AYED ,
I think I found what the problem was. I needed to revert some changes.
Kind Regards.