cancel
Showing results for 
Search instead for 
Did you mean: 

CAN bus on STM32F103

doantt53
Associate
Posted on June 25, 2016 at 03:09

Hi everybody, 

These days I'm starting a project based on STM32F103VET6 for which I have to use the CAN bus pheripheral to transmit and receive messages.  I'd like some support to start my work.

- Can bus 29 bit identifier.

- Are there any valid code example ready (Can bus 29 bit identifier) to download?

-Could someone post me some configuration example?

Thanks in advance! 

#can-bus
3 REPLIES 3
Posted on June 25, 2016 at 03:43

Review available documentation and examples, including multiple examples on the forum, for filtering, etc. The CAN peripheral is very similar across many STM32 family members.

STM32F10x_StdPeriph_Lib_V3.5.0\Project\STM32F10x_StdPeriph_Examples\CAN\Networking

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
doantt53
Associate
Posted on June 25, 2016 at 08:41

I want to connect the CAN SAE J1939 network (29bit, 250KB / s). I want a sample CAN 29 bit. STM32F10x_StdPeriph_Examples\CAN\ Networking is 29bit?

Help me. Thanks

Posted on June 25, 2016 at 15:58

The CAN peripheral can filter on the first 32-bits of the message, you will likely have to modify the examples to suit your specific needs. Start by understanding what you have, and then how you can get it to do what you need.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..