2024-07-07 04:52 AM - edited 2024-07-07 04:59 AM
Hello forum,
I'm trying to setup my B-U585I-IOT02A as a USB host.
Ive turned on the following:
to initiate I've used these in my main:
MX_USB_OTG_FS_HCD_Init();
ux_host_stack_hcd_register(_ux_system_host_hcd_stm32_name,_ux_hcd_stm32_initialize, (ULONG)USB_OTG_FS,(ULONG)&hhcd_USB_OTG_FS);
It seems I don't get the any power out to my USB flash drive, and the USB event callback doesn't work.
am I doing something wrong? am I missing something? thanks in advace
2024-07-13 03:21 AM
@Nicolas P. Im adding the .ioc file
and yes its the same project.
after a lot of debugging the searching I've finally managed to compile successfully everything but the USB and the UCPD software still doesnt work
2024-07-15 07:07 AM
You may need to share the full project. According to your IOC, you are using full stack configuration for USB PD application not type C only as you mentioned in initial post.
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-07-17 02:48 AM
@FBL its because I kept trying to make it work, after a couple of days of trying to make everything compile I succeeded but the "ux_host_event_callback" doesn't activate, and the UCPD software still doesn't recognize the board/app
2024-07-17 05:04 AM
Would you please share your full project to reproduce on my end?
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-07-18 11:21 AM
is there a way to send it privately and not put it here publicly?