2025-06-20 7:46 AM
Hello,
I am working on USB device CDC ACM for STM32N655L0.
I found an example about "Ux_Device_CDC_ACM" for NUCLEO-N657X0-Q. Can I use this example for my mcu? How can I find ioc configuration of this example?
I also tried to implement this example to my project but when I change some configuration from ioc, new code is not match with this example. On the other hand, I did everything as inside of example but I am getting error during clock initalization.
Best Regards,
Basri KAYA
2025-06-20 9:35 AM
Hi @B.Kaya
According to datasheet, the only difference should be = No neural ART option (artificial intelligence)
So the example firmware should be functional if you have the same hardware configuration as in nucleo board.
You can attach ioc file.
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.
2025-06-20 9:41 AM
Hi,
Thanks for quick response.
I wanted to access to ioc file of Ux_Device_CDC_ACM example to check my configurations. If you can not share it, can you confirm that my configuration is same as example?
I will share it asap.
Best Regards.
2025-06-21 2:36 AM
Hello,
I followed example application but I am getting error and could not fix it. There is hard fault error after this step.
My hardware configuration is same with nucleo.
I have a few questions:
1) USPD files which is generated from ioc is not matching with in the example. They are very different and I guees that there is a version difference between them. Therefore, I changed them. Is this ok?
2) HAL_PCD_MspInit is not also same with my project. I did not understand that ST R&D is fixed it for example and should I change my function too?
Best Regards.
2025-07-04 3:56 AM
Hi @B.Kaya
The issue appears to be related to your PCB design, as the HSE might not be directly connected as the USB clock source. Please verify your implementation against the N6 Nucleo schematics MB1940.
Regarding your question, you can use CubeMX to check the pinout compatibility with your MCU and determine if any hardware modifications are necessary.
Could you please provide more details on what exactly is missing in the HAL_PCD_MspInit() generated API?
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.