AnsweredAssumed Answered

Can network communication

Question asked by guo chunhua on Dec 18, 2016

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

Outcomes