Skip to main content
gbigden
Associate III
January 6, 2016
Question

Any CANBus examples for STM32F303x?

  • January 6, 2016
  • 4 replies
  • 738 views
Posted on January 06, 2016 at 18:06

As the title says, I am looking for working code examples

#stm32 #can
This topic has been closed for replies.

4 replies

Nesrine M_O
Associate
January 6, 2016
Posted on January 06, 2016 at 18:32

Hi bigden.gary,

I'd highly recommend you to start from CAN example under STM32Cube F3 package: STM32Cube_FW_F3_V1.4.0\Projects\STM32303C_EVAL\Examples\CAN\CAN_Networking

This example shows how to configure the CAN peripheral to send and receive CAN frames in normal mode.

-Syrine-

Tesla DeLorean
Guru
January 6, 2016
Posted on January 06, 2016 at 21:43

Is it remarkably different from any of the other STM32 instantiations?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
January 7, 2016
Posted on January 07, 2016 at 01:02

Several additional examples in the SPL,

STM32F30x_DSP_StdPeriph_Lib_V1.0.0\Project\STM32F30x_StdPeriph_Examples\CAN\CAN_DualFIFO\main.c

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
gbigden
gbigdenAuthor
Associate III
January 7, 2016
Posted on January 07, 2016 at 10:23

Thanks for all the help guys, because it was all helpful!