Skip to main content
Visitor II
January 18, 2024
Question

How to interface CAN protocol with STM32F103

  • January 18, 2024
  • 2 replies
  • 1310 views

Hi,

I am Ragavendra

how to interface CAN protocol with STM32F103rct6tr  if it is possible just give any documentation

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    January 18, 2024

    Hello @Ragavendra  and welcome to the ST Community .

    As you can see in the DS5792, you can interface CAN with the STM32F103rct6tr using the CAN_RX and CAN_TX pins (PA11 and PA12 but it can be remapped by software to some other port pins such as PB8 and PB9 or PD0 and PD1).

    STTwo32_1-1705561006483.png

    To understand more about how to configure and use the can use the CAN protocol on this MCU, take a look at the chapter 24 of the STM32F10xxx reference manual.

     

    Best Regards .

    STTwo-32 

    Technical Moderator
    January 23, 2024

    Hello @Ragavendra ,

    Apart of the documentation, you can use CubeMx to configure the CAN peripheral and inspire from the example provided in STM32CubeF1 under https://github.com/STMicroelectronics/STM32CubeF1/tree/master/Projects/STM3210E_EVAL/Examples/CAN/CAN_Networking