2020-12-29 07:47 AM
Hi,
I am trying to setup CAN communication in the SPC570S-DISP dev board. I started with the example available in the SPC5Studio. In the example, internal loopback is enabled, so I disabled it to allow external transmit. I did not change any other settings, as they looked okay to me. In the timing setup section, according to the values that were already set in the example, it has a bit rate of 500 kbps. However, after uploading the code to dev board, and monitoring from a CAN analyzer, no messages seem to be come and the analyzer shows an error. I would like if someone can help me in this matter. I have attached screenshots of the settings and timing setting.
Thank you.
Nisal
According to the clock settings, the CAN clock is set at 40 MHz,
Solved! Go to Solution.
2021-01-07 01:30 AM
Hello ,
Which CAN Analyzer do you use ?
there is a Jumper JP7 on the board have you enable it ?
Best regards
Erwan
2021-01-07 01:30 AM
Hello ,
Which CAN Analyzer do you use ?
there is a Jumper JP7 on the board have you enable it ?
Best regards
Erwan
2021-01-07 02:45 AM
Hi Erwan,
I am using the Mircochip CAN bus analyzer. I have enabled the J7 jumper. Any other things I should check ?
Nisal
2021-01-15 04:03 AM
Hi Erwan,
Attached here is an image seen from the oscilloscope of the signals CANH and CANL. Please be kind enough to take a look at it.
Nisal
2021-01-15 04:06 AM
Here is capture of the CAN RX and CAN TX signals.