Can network communication

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

Can network communication

592 Views
guochunhua
Contributor II

Dear sir

      execuse me, I designed and made two PCB boards,one is transmitter of Can, the other is receiver of Can, the code is made by PE in codewarrior 10.7, but the transmitter wave of oscilator is not right, and the waves are  transmitted continuely and they are  same, the error has not been found. can you give me an example in C language of can network communication using PE in codewarrio 10.7, the MCU is 56f8789, if the transmit code and receive code can be made respectively,it is best for me. thank you very much.

    我制作了两个板子,一个can通信发送,另一个can通信接收,在codewarrior10.7的环境下,使用专家系统写了can通信的发送程序,但是示波器上看到的发送波形不正确,并且连续发送,每次发送波形一样,也没找到原因,也不能被正常接收,你们能给我提供一份用c语言编写的can网通信程序吗?使用环境是codewarrior10.7,MCU是56f84789,使用专家系统的例子程序,最好发送例子程序和接收例子程序分开。谢谢!

 

 

Best regards.

Guo chunhua

Labels (1)
0 Kudos
1 Reply

413 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

This is a FlexCAN example based on MC56F84789, hope it can help you

BR

Xiangjun Rong

0 Kudos