cancel
Showing results for 
Search instead for 
Did you mean: 

CAN reception

Manoj Hiwarkar
Associate III

Hi,

Sir I am trying to interface CRS ecu with STM32F303 Discovery. I have referred the example code of evaluation board also. But not able to receive anything.

I have attached my project folder. I

4 REPLIES 4

Get a CAN analyzer, make sure you have the baud rates set correctly, and the filters set to accept the messages of interest.

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

why transmit first ?

I see in the cube you didn't enable all the can interrupts,

you should write the interrupt routines.

ABOM should be enabled.

667nSeconds is ? 1.5MHz

Like @Community member​  said, you need a transmitter that you can control.

I used the CanDo unit, set to Tx a farme every second, worked on the receiver first.

Manoj Hiwarkar
Associate III

We have can analyzer the baud rate is 5Kbps.

For our ECU we have to transmit the command to get the response.

T J
Lead

do you have a scope ?

you need to check the bit rate.

You send a packet, do you see one coming back ? on the scope ?