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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-04 1:10 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-05 9:01 AM
​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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-04 1:30 AM
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
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-04 1:35 AM
I test it, USB work fine if bxCAN disabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-05 9:01 AM
​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
Thanks
Imen
