cancel
Showing results for 
Search instead for 
Did you mean: 

How to interface CAN protocol with STM32F103

Ragavendra
Associate

Hi,

I am Ragavendra

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

2 REPLIES 2
STTwo-32
ST Employee

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 

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.

SofLit
ST Employee

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

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.