K20 Can bus can not work, other functions are normal

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

K20 Can bus can not work, other functions are normal

780件の閲覧回数
songtao8940
Contributor I

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

0 件の賞賛
6 返答(返信)

615件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi

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

Regards

Daniel

0 件の賞賛

615件の閲覧回数
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 件の賞賛

615件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

can you specify your chip?

Regards

Daniel

0 件の賞賛

615件の閲覧回数
songtao8940
Contributor I

MK20DX128VLH7

THANKS

0 件の賞賛

615件の閲覧回数
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 件の賞賛

615件の閲覧回数
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 件の賞賛