Skip to main content
Associate II
March 23, 2024
Solved

CAN Communication with STM32F103

  • March 23, 2024
  • 3 replies
  • 3153 views

I am starting working with STM32. I need to establish a CAN Communication Protocol of STM32F103 (a blue pill board essentially) with Texas Instrument TMS320F28234. I have already established and successfully tested the CAN Protocol at the TMS320F28234 side. Can anyone please share with me some example program for CAN Communication Protocol using STM32F103? Thanks in advance.

Best answer by mƎALLEm

As stated by @Tesla DeLorean the example is provided in STM32CubeF1 package downloadable from the github or as a complete zip file from here

Advice: if you will start a project from scratch, don't use HSI as clock source. 

3 replies

Tesla DeLorean
Guru
March 23, 2024
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
mƎALLEm
mƎALLEmBest answer
Technical Moderator
March 24, 2024

As stated by @Tesla DeLorean the example is provided in STM32CubeF1 package downloadable from the github or as a complete zip file from here

Advice: if you will start a project from scratch, don't use HSI as clock source. 

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
SramanAuthor
Associate II
April 1, 2024

Finally I have been able to establish CAN Communication with STM32F103. The problem I was having was entirely hardware based as I was connecting MCP2551 transreceiver to 3.3 Volt V_cc whereas in its datasheet it is clearly mentioned the V_cc should be 5 Volts.

Thanks @Tesla DeLorean , @mƎALLEm  for your help.