2022-06-15 11:38 AM
2022-06-16 06:31 AM
Hi @olebenny ,
Many examples project that use Azure RTOS USBX are available in CubeIDE as shown in the below figure. For more explanation, I advise you to follow these links to know how to use the USBx for AzureRTOS applications:
Kaouthar
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.
2022-06-16 06:31 AM
Hi @olebenny ,
Many examples project that use Azure RTOS USBX are available in CubeIDE as shown in the below figure. For more explanation, I advise you to follow these links to know how to use the USBx for AzureRTOS applications:
Kaouthar
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.
2022-06-19 07:03 AM
Hello Kaouthar
Thank you for responding.
I am using STM32 Cube IDE v1.9.0 and STM32 Cube MX V 6.5.0.
If I select the USB example Ux_Device_DFU for NUCLEO-F429ZI I get the 'old' USB-code, that works with FREERTOS, not the Azure_RTOS + USBX.
Unfortunately, Azure_RTOS and USBX are not part of 'my' Cube MX for direct selection, I have to select it through 'Software Packs --> Select Components'.
Here I can select 'STMicroelectronics X-CUBE_AZRTOS-F4' and in that sub-tree, I can select 'RTOS ThreadX' and 'USB SUBX'.
I have already succeeded doing this with 'RTOS ThreadX' for NUCLEO-F429ZI as well as our own STM32F417 board by following this article:
How to create a Thread using AzureRTOS and STM32CubeIDE?
It describes in easy understanding steps what to do with Cube MX and Cube IDE.
Best regards
Ole
2022-06-20 12:32 PM
.
2022-06-20 01:29 PM
Hello AYEDMSTM
Your screenshot show exactly, what I selected under 'Software Packs --> Manage Software Packs'.
I then also under 'Software Packs --> Select Components' selected 'RTOS ThreadxX' and 'USBX', and I think I now got it imported to my project. Now I just have to figure out how to use it.
Please see attached screenshots.
Best regards
Ole
2022-06-21 12:11 AM
Hello AYEDMSTM
Thank you for your email, nice description. I will save it for future reference.
How do I tell USBX which USB-device on the STM32F407/417 to use ??
Best regards
Ole
2022-06-21 12:54 PM
@oblenny
You can follow this example :
2022-06-21 11:33 PM
Hello AYEDMSTM
Thank you for pointing this example.
And even better, I found an example for NUCLEO-F429ZI, which I happen to have 7 pcs of, as the STM32F429/439 are quite similar to STM32F407/417.
Best regards
Ole
Software Development, FAE
**Amended by Moderation, please, do not share personal contact details in the public feed**