2021-09-21 05:11 AM
I wonder if the STM32_USB_Device_Library middleware is compatible with STM32U5?
I can see that the USBX has been included in the Cube as the host/device library for U5 but since we want to migrate from STM32L5 to STM32U5 and we have already our usb communication based on STM32_USB_Device_Library, that might be great to see if STM32_USB_Device_Library could be ported or used on STM32U5? Otherwise we have to refactor our usb communication to use USBX library
Thank you in advance
Solved! Go to Solution.
2021-10-07 09:29 AM
Dear @Ramin ,
I'm pleased to announce you that the STM32U5 Classic Core Middleware (CoreMW) MCU Firmware Package is now available on GitHub :).
Thank you once again for your patience and for your contribution.
Imen
2021-09-22 02:33 AM
Hello @Ramin and welcome to the Community :)
In the STM32U5 there is now USBX (AzureRTOS) and the device legacy ST lib is still compatible with all available MCUs.
You can get latest tags from github or use the one of STM32L5, this is HW independent.
However, there will be examples supporting STM32_USB_Device_Library in Github (but I can't give you any target date for the moment).
There is also an AN5371 Application note "STM32L5 Series to STM32U575/585 migration guide" it may help you on the migration.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2021-09-22 03:02 AM
Thank you Imen for getting back to me.
On which Github repo shall we expecting this example and is there any worst case estimation about the time there?
I think we should adapt and replace the usbd and usb_conf templates(h and c) for STM32U5 and that would do the trick, right?
Best Regards,
Ramin
2021-09-22 06:29 AM
Here is the link for the USB device lib Middleware.
For sure you need to adapt the usbd_conf for OTG IP.
Let me check back with the team about the expected delivery date, and I will come back to you with update.
Imen
2021-09-22 06:34 AM
Appreciate your help, actually we will be using U5 as a device only, not host.
That would be great to see if by when we will be having that example in the github repo. I look forward to receving your feedback.
Ramin
2021-09-22 07:03 AM
I have the pleasure to inform that the STM32U5 Classic CoreMW package will be available on GitHub in few days :) .
So, keep an eye out for the coming update.
Imen
2021-09-22 07:21 AM
Wow, that is a great news for us, on the same repo here https://github.com/STMicroelectronics/stm32_mw_usb_device? or somewhere else?
2021-09-22 07:24 AM
I'll make sure to post the announcement here with the GitHub link, as soon as I have more details.
2021-09-22 07:26 AM
I do appreciate your support,
Ramin
2021-10-04 01:32 AM
Dear @Imen DAHMEN ,
I wonder if you might already have any update for me on this regard? We are eager and have to start the usb library integration this week.
Thank you in advance,
Ramin