Skip to main content
Graduate
June 20, 2025
Question

USB Device CDC ACM

  • June 20, 2025
  • 3 replies
  • 549 views

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.

BKaya_0-1750430697260.png

Best Regards,
Basri KAYA




    This topic has been closed for replies.

    3 replies

    Technical Moderator
    June 20, 2025

    Hi @B.Kaya 

    According to datasheet, the only difference should be = No neural ART option (artificial intelligence)

    FBL_0-1750437000538.png

    So the example firmware should be functional if you have the same hardware configuration as in nucleo board.

    You can attach ioc file.

    B.KayaAuthor
    Graduate
    June 20, 2025

    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.

    Technical Moderator
    July 4, 2025

    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?