2025-01-04 01:14 PM
Hi,
I am currently working on a project for the STM32H523 microcontroller. In the project I want to use AZURE RTOS to support a pendrive connected to the USB port. I know that I have to use the THREADX, USBX (host mode) and FILEX packages. Unfortunately, I have a lot of problems with running this, so I would like to ask if anyone knows if there is an example of a similar application somewhere that I could use in my project?
So far I have tried to use the information available here:
https://wiki.st.com/stm32mcu/wiki/Introduction_to_USBX
However, they are too rudimentary for me. I also tried to be guided by examples written for the H7 microcontroller:
https://github.com/STMicroelectronics/x-cube-azrtos-h7
However, I ran into problems in that this microcontroller has a USB_HS_OTG library, not a USB one, and therefore the names and LL files are different.
It doesn't make things any easier that I'm a beginner with AZURE RTOS and I don't even have the exact knowledge of how much needs to be added beyond the classic code generation with CubeMX, so I'm looking for an example that could make it easier for me.
I would be grateful for any help and support.
Regards,
Slawomir Z