Hello,
I try to receive CAN messages from Volvo/MAN truck/bus. The high speed CAN bus in truck is 250kbit/s, but I from one car I was received valid messages... and from another one no messages was received.
I use SAMV71b microcontroller with 12MHz quartz mcan 1, and use these settings:
/*
* change in the conf_clock.h. Below is the default configuration. The
* time quanta is 30MHz / (5+1) = 5MHz. And each bit is (1 + NTSEG1 + 1 + NTSEG2 + 1) = 20 time
* quanta which means the bit rate is 5MHz/20=250KHz.
*/
/** Nominal bit Baud Rate Prescaler */
CONF_MCAN_NBTP_NBRP_VALUE = 5
/** Nominal bit (Re)Synchronization Jump Width */
CONF_MCAN_NBTP_NSJW_VALUE = 3
/** Nominal bit Time segment before sample point */
CONF_MCAN_NBTP_NTSEG1_VALUE = 10
/** Nominal bit Time segment after sample point */
CONF_MCAN_NBTP_NTSEG2_VALUE = 7
If I try communicate my two CAN module together, the communication is perfect, but from the truck....
Anybody has experience in this theme?
Thanks,
Boris