cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Use USB while using CAN in STM32F103

deepakelango05
Associate II

 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?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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

 

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.

View solution in original post

1 REPLY 1
SofLit
ST Employee

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

 

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.