Concurrent use of USB and CAN with STM32F103
ST Community
ST Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
on
2018-07-23
5:18 AM
- edited on
2023-12-07
5:53 AM
by
Laurids_PETERSE
Is it possible to use USB and CAN on STM32F1 devices at the same time?
No, unfortunately not.
In low, medium-, high- and XL-density devices, the USB and CAN share a dedicated 512-byte SRAM memory for data transmission and reception, and so they cannot be used concurrently: the shared SRAM is accessed through CAN and USB exclusively.
So the USB and CAN can be used in the same application but not at the same time on STM32F1.
However, for other (or newer) STM32 families, it is possible to use USB and CAN peripherals concurrently.
Labels: