K20 Can bus can not work, other functions are normal

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

K20 Can bus can not work, other functions are normal

781 次查看
songtao8940
Contributor I

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

0 项奖励
6 回复数

616 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

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

Regards

Daniel

0 项奖励

616 次查看
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 项奖励

616 次查看
danielchen
NXP TechSupport
NXP TechSupport

can you specify your chip?

Regards

Daniel

0 项奖励

616 次查看
songtao8940
Contributor I

MK20DX128VLH7

THANKS

0 项奖励

616 次查看
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 项奖励

616 次查看
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 项奖励