2017-08-29 02:15 AM
Hi
I need to setup a can protocol demo where I send and receive CAN 1-2 simple CAN msgs. What is the cheapest HW to buy? What isw the quickest way to go? It has to be a STM32.
Can I use 2 STM324xG_EVAL boards?
STM324xG_EVAL costs around 300 euros. Anything cheaper?
2017-08-29 03:19 AM
Anything cheaper?
Probably not with the 'onboard' and 'cheap' requirements at once.
How about a Nucleo board, and an Arduino-compatible CAN add-on ('shield') ?
2017-08-29 08:39 AM
Hi,
Besides the canimplementation do you need anything else? (i.e., graphical interface), If dont, you can use the nucleo boards NUCLEO-F303K8
orNUCLEO-F103RB
, just 11 dollars each one.In addition , to make the CAN communication you have to buy a CAN bus chip as the SN65HVD230, I used it and works fine
http://www.uctronics.com/sn65hvd230-can-bus-transceiver-communication-module-for-arduino.html
, you have to buy one for any board that you'll use.For me, the quickest way to go was using CubeMX and System Workbench, there are examples of how to use the peripheral and in this post you can find some useful information:
https://community.st.com/thread/40495-stm32f3xx-can-controller-area-network-halcanreceive
2017-08-29 02:16 PM
Or, if it's just for a proof of concept, you can set up CAN communication without a transceiver like shown here:
2017-08-29 04:15 PM
Hello
Please see
http://www.keil.com/appnotes/docs/apnt_236.asp
This contains some simple CAN examples.
You can use the free Keil MDK toolkit (up to 32K) to create a simple example.
I need to update this soon....but for now.
In the later Keil examples available in the Pack Installer, there are newer examples for various boards including CAN FD.
Bob Boys
2017-08-29 05:35 PM
There is a jumper issue with the CAN but I've had these Rx/Tx from CAN1 to CAN2
2017-08-29 07:38 PM
,
,
CAN code and jumper info
,