K20 Can bus can not work, other functions are normal

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K20 Can bus can not work, other functions are normal

747 Views
songtao8940
Contributor I

K20 Can  bus can not work, other functions are normal,why?

0 Kudos
6 Replies

582 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

Can you detail your questions, including your hardware, and software , or debug console?

Regards

Daniel

0 Kudos

582 Views
songtao8940
Contributor I

Hello, I use my own painting PCB,The program is downloaded from the Internet.Now the situation is that the 485 communication can work, but the CAN bus to send and receive are not, with keil software debugging results as shown in Figure6Y{KPUX1CSNJMU]6ZN6OO4R.png

0 Kudos

582 Views
danielchen
NXP TechSupport
NXP TechSupport

can you specify your chip?

Regards

Daniel

0 Kudos

582 Views
songtao8940
Contributor I

MK20DX128VLH7

THANKS

0 Kudos

582 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

I think we need to check it is a hardware issue or software issue first. 

From your picture , I saw two results, one is correct , the other is wrong.  what is the difference, they run in the same board?

There are two can modules in this chip,  both of them can't work or only one?

If you only enable SIM , then check the register, what is the result.

Regards

Daniel

0 Kudos

582 Views
songtao8940
Contributor I

No, that part of the above is correct, that part of the following is wrong, two are not the same, now it seems to be the problem of the clock

0 Kudos