Skip to main content
mov
Associate II
March 4, 2021
Solved

I have trouble to get working USB and bxCAN, device STM32F103RC (STM32CubeIDE v1.4), if bxCAN is not configured, USB work fine, together does not work - error "usb 1-1.3: device descriptor read/64, error -32". What I'm doing wrong?

  • March 4, 2021
  • 3 replies
  • 955 views

..

This topic has been closed for replies.
Best answer by Imen.D

​Hi @Community member​ ,

After check, the USB and CAN can be used in the same application, but not at the same time on STM32F1 serie.

I recommend you the following FAQ which answer your question: Concurrent use of USB and CAN with STM32F103

Please mark my answer as best by clicking on the "Select as Best" button if it fully answered your question. This will help other users find this solution more quickly.

Imen

3 replies

ST Technical Moderator
March 4, 2021

Hello @Community member​ ,

May be the issue is related to the VBUS, and check if USB D+/D- is not swapped.

I will wait for your update/progress on this.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
mov
movAuthor
Associate II
March 4, 2021

I test it, USB work fine if bxCAN disabled.

Imen.DBest answer
ST Technical Moderator
March 5, 2021

​Hi @Community member​ ,

After check, the USB and CAN can be used in the same application, but not at the same time on STM32F1 serie.

I recommend you the following FAQ which answer your question: Concurrent use of USB and CAN with STM32F103

Please mark my answer as best by clicking on the "Select as Best" button if it fully answered your question. This will help other users find this solution more quickly.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks