cancel
Showing results for 
Search instead for 
Did you mean: 

USB HS in STM32U5A5

inancmert
Associate II

Hello,

We are thinking of switching from STM32F446 MCU to STM32U5A5 MCU in our device which is still in R&D.

We are coding as bare metal. Since we are working with battery, low power is important for us. Also, our Quad SPI and USB HS work is critical and necessary.

We have a problem. ST was giving the driver as USB_Device in STM32F446. However, ST does not give a ready driver in STM32U5A5. For this reason, there are a few things we do not understand.

1) Do we have to use Azure RTOS to work with USB HS?
2) Can we work with USB HS as bare-metal?
3) Doesn't ST really have a driver for USB HS?
4) How should the configurations for USB HS CDC be made in the .ioc file?
5) Do we need to write the driver ourselves?

Can you give us detailed information on the subject?

Thank you for your help?

6 REPLIES 6
FBL
ST Employee

Hi @inancmert 

You don't need to use ThreadX and USBX to control USB; the classic core middleware can be used instead. However, CubeMX does not support configuring the classic middleware. You also don't need to rewrite any drivers. USBX standalone examples (without RTOS) are available and can be ported to your target.

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.


Merhaba  @FBL 

 

 
 

Hi @FBL
I use STM32A5U5 development board, but classic core middleware include a just STM32A575 developmant board.

Can I run this  classic core middleware on the STM32A5U5 development board? If so, how can I run it?
I need to work with bare-metal and CDC.
How do I configure the .ioc file?

Can you give me more information?

Hi @inancmert 

You can port the example to U5A5. You can compare U5A5 nucleo schematics and U575 nucleo schematics or using CubeMX. If facing any issues you can come back and open a new discussion.

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.


Hi @FBL ,

There was only STM32U575 development board in classic core middleware and you said you can try to transfer it to me. But STM32U5A5 dev board works HS while STM32U575 FS works. Therefore, it will be very difficult to port the code. Also, there are incompatibilities in libraries.

Is there no other way? An easier way?

I am using STM32U5A5 dev board and I want to work with bare-metal CDC.
Is there somewhere else I can look? Or anything else you can tell me?

 
 

Hi @inancmert 

You can find my suggestion in the thread.

If your initial questions are answered, close this thread by selecting Accept as solution.

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.