Skip to main content
Associate
November 15, 2024
Solved

SPC560P50L5 CAN Module doesn't work successfully

  • November 15, 2024
  • 1 reply
  • 1095 views

Hello everyone.
Because I need to test a newly purchased SPC560-DISP, I tested several commonly used modules

And these is my test devices:

Devices Used:

  • MCU: SPC560P-DISP
  • CAN: Kvaser Leaf LightV2

I conducted tests on several commonly used modules:

  1. PIT
  2. EIRQ
  3. PWM
  4. ADC

The test results for the above modules showed no issues. However, when testing the data transmission functionality of the CAN module:

  1. Loaded my own test program onto the development board.
  2. Kvaser and BUSMASTER were successfully connected.

Yet, I couldn't observe any data in BUSMASTER.

So, I replaced the SPC560P-DISP with another board of the same model that I had already and repeated the same steps in the same environment. Sadly, I could observe the values I intended to transmit in BUSMASTER.

What settings might I have overlooked that could cause this abnormal behavior? Or could the development board might be damaged?

 

Thanks

Louie

Best answer by mƎALLEm

Hello @Louie33 ,

I'm not expert of Automotive MCUs, but:

1- check if JP10 is fitted to enable the 120 ohm terminating resistor.

SofLit_0-1731940579273.png

2- Check also the position of JP22 and JP23 and if they are in the correct position.

Compare them to what you have on the old board.

 

1 reply

Louie33Author
Associate
November 18, 2024

Today, I tried using an oscilloscope to measure the CANH waveform.

Below are the oscilloscope waveforms from the SPC560P-DISP I already had:

Louie33_1-1731914181729.png

The waveform generate normally.

Next, I test the newly purchased SPC560P-DISP:

Louie33_0-1731914151265.png

Then no waveform was generated on CANH.

mƎALLEm
mƎALLEmBest answer
Technical Moderator
November 18, 2024

Hello @Louie33 ,

I'm not expert of Automotive MCUs, but:

1- check if JP10 is fitted to enable the 120 ohm terminating resistor.

SofLit_0-1731940579273.png

2- Check also the position of JP22 and JP23 and if they are in the correct position.

Compare them to what you have on the old board.

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Louie33Author
Associate
November 19, 2024

Thank you. I previously not consider this is a hardware-related issue. After checking JP22 and JP23, I discovered that their positions were both set to the pins for CAN channel 1, which caused data transmission on CAN channel 0 to fail.