Skip to main content
Explorer
April 17, 2024
Solved

Unable to Use USB while using CAN in STM32F103

  • April 17, 2024
  • 1 reply
  • 876 views

 I am using CAN peripheral and for debugging I am using USB-CDC to receive the status of the CAN transfers and Reception. 

The issue I am facing is The USB was recognized as Virtual Port when Only USB was initialized and used but when Implemented with CAN the Virtual port had failed to get recognized.

Is there a way to overcome this problem?

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    You cannot use CAN with USB at the same time on STM32F103 devices as they are sharing the same RAM.

    From RM0008 / page 622:

    SofLit_0-1713353568626.png

     

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    April 17, 2024

    Hello,

    You cannot use CAN with USB at the same time on STM32F103 devices as they are sharing the same RAM.

    From RM0008 / page 622:

    SofLit_0-1713353568626.png