2020-06-29 03:16 AM
I can not use CANBUS and USB together. I configurated USB and CAN together but PC does not recognise the STM32F103C8 as an USB driver.
When I use only USB without CAN configuration then USB work properly and recognise it as an USB driver.
When I add CAN configuration from different pins (PB8 and PB9) then CANBUS works on these pins but USB not.
How can I recognise the STM32F103C8 as an USB drive to my PC with using CANBUS together? Could you help me about this please?
2020-06-29 04:57 AM
Hi @UUrcan ,
Unfortunately, you cannot use USB & CAN at the same time for the selected device. To know more about this and the why reason, please refer to this article: https://community.st.com/s/article/FAQ-Concurrent-use-of-USB-and-CAN-with-STM32F103.
Don't forget to answer the question "Was this article helpful?" from article page.
-Amel
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.
2020-06-29 05:10 AM
OK Amel. Thanks for your reply.
But which devices can use both of them (USB and CAN) together at the same time?
2020-06-30 09:54 AM
hi @UUrcan ,
This is applicable for low, medium-, high- and XL-density STM32F1 devices as precised in the article.
So you can select any other STM32F1 device or a device belonging to other families.
As explained in RM0008:
-Amel
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.