cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement USB CDC ACM in standalone mode for STM32H563ZI board

Pranathi
Associate

Hello STM Community!,

I'm trying to implement USB CDC ACM in standalone mode(without using ThreadX) on STM32H563ZI board. I have tried this with ThreadX and got it working.

I have modified the Ux_Device_HID_CDC_ACM example project, by removing ThreadX, HID and UART part to make it CDC standalone for my requirement. But its not working.

I have referred to these links:
https://community.st.com/t5/stm32cubemx-mcus/usbx-standalone-on-stm32h5/td-p/705341

I'm having few issues in these lines of code, it's showing Macro usage error, syntax error...

can anyone explain the issue.

Pranathi_0-1734348014609.png

after the line 87, from ux_device_stack_tasks_run.c file, its going to hard fault...

Pranathi_1-1734348445395.png

as shown,

Pranathi_2-1734348568577.png

I would greatly appreciate it if anyone who can debug the mistake in this process and could guide the further steps to take.

Your insights and guidance would be invaluable to me. Thank you in advance for any assistance you can provide!

Please find the attached, project folder for further info.

 

 

0 REPLIES 0