2023-05-08 04:37 AM
Hello, I have some questions to you :), at first i am sorry for my bad english. But according to my question/problem. I have STM32F103CBT6 microcontroller, but i find that i can't use at the same time USB CDC and CAN interface, is this correct? I also can have the STM32F303CCT6 but i don't know if i can use CAN and USB in this MCU at same time together? Can someone anwser my question? If in this 2 MCUs can't i use CAN and USB, can you provide the MCU model where i can? Thanks for help :)
2023-05-08 04:50 AM - edited 2023-11-20 06:02 AM
Yes, it might've been more conspicuously displayed, especially in the "device features and peripheral counts" tables in related models' datasheets.
According to RM0316, the 'F303xC USB and CAN don't share RAM (in 'F303xD/xE they share a portion of RAM, but that shouldn't prevent from both USB and CAN to be used). I don't have personal experience with the 'F303xC USB/CAN.
JW
2023-05-08 06:14 AM
So, in STM32F303CCT6 ishouldn't have problem with use USB CDC and CAN together. In STM32F103CBT6 I also find information aboud shared SRAM memory between CAN and USB, but i want be sure so i decided to have discuss with somebody more expirienced. I'm total amateur :)