2023-03-14 02:16 AM
I'am looking for a working example of using the legacy USB driver found here (https://github.com/STMicroelectronics/stm32u5-classic-coremw-apps) for the STM32u585 preferabley in the STM32CubeIDE. I'm not able to use USBPD which is found in the examples folder. Therefore i'am asking for a minimal working example for this. Thank you.
2023-03-14 02:49 AM
Hello @LBorg.2 and welcome to the community :smiling_face_with_smiling_eyes:,
I recommend you the USBPD_SNK_UX_Device_HID_CDC_ACM example, this example runs on STM32U585xx devices and with STM32CubeIDE.
Also, this wiki USB Power Delivery can help you to create your USB-PD project by using STM32CubeIDE software.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
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.
2023-03-14 02:56 AM
Sorry i didn't make myself clear ;)
I don't want to use the USBPD and i don't want USBX or RTOS!
I'am looking just for a plain and simple example of using the STM32U585 as USB CDC Device only. All the examples i've seen always include the USBPD which i explicitly don't want! Any suggestions as to where i can find such a simple example?
2023-03-22 07:03 AM
Hi @LBorg.2 , you can refer to this application to stm32h7 cdc example: https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H743I-EVAL/Applications/USB_Device/CDC_Standalone
2023-03-29 06:21 AM
Hi @LBorg.2 ,
I believe that you will find the answer to your request in this Github repository provided by ST: stm32u5-classic-coremw-apps: Provide a set of applications for STM32U5xx series based on the STM32 Classic Core Middleware libraries.
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.
2023-04-03 02:43 AM
Since we also didn't want to use Azure, for our projects we found tinyusb to be an attractive alternative