CAN TX Error
Hi,
I am new to ST, trying CAN TX RX Code.
Every time I Transmit Error frame is getting generated instead of Data .
Please suggest what i am doing wrong in the below code.
I am sharing my main file
Thanks
Hi,
I am new to ST, trying CAN TX RX Code.
Every time I Transmit Error frame is getting generated instead of Data .
Please suggest what i am doing wrong in the below code.
I am sharing my main file
Thanks
Hello,
These are bad configurations and not recommended values as they are too low.
Need to increase BS1 and BS2 as match as possible where sample point is around 75% to 85%.
I'm proposing these values: Prescaler=4, BS1=14, BS2=3.

If still having issues you need to share your schematics especially the CAN part including the transceiver and the terminating resistors.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.