cancel
Showing results for 
Search instead for 
Did you mean: 

SPC560P50L5 CAN Module doesn't work successfully

Louie33
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

3 REPLIES 3
Louie33
Associate II

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.

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.

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.