Flexcan Receiving a data Frame twice,one with the Full Code and One with the Empty Code.

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

Flexcan Receiving a data Frame twice,one with the Full Code and One with the Empty Code.

996件の閲覧回数
bhanuvats
Contributor I

Hello,

 

Greetings from my side.

 

I am using IMX 6.0 Controller's Board for the Development of a CAN Application.One another CAN node is continuously sending a Data Frame to the Board at Every 1 Second.But when the Board Recieves the Data,It is receiving

it twice. Interestingly The first Frame is having Code Value as 0x02 and the another Frame is having Code value as 0x04. The frame having the 0x04 ID is having the same ID but the data field comes receives some corrupted data or Null value.In my CAN Application we require to receive a Particular Set of frames(5-6 frames) having same ID in a defined order.But as the Board is receiving every data from a ID two times,so the CAN Application is not working.

Attached is my Driver code for Receiving the data.Please help me out in Resolving this Issue.

Original Attachment has been moved to: CAN_Recieve.txt.zip

タグ(1)
0 件の賞賛
返信
1 返信

903件の閲覧回数
alejandrolozan1
NXP Employee
NXP Employee

Hi,

Have you checked with an analyzer that the messages sent by the other node are correct?

The SDK contians a FlexCAN test that you may find useful. https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null&WT_TYPE=Software%...

Best Regards,

Alejandro

0 件の賞賛
返信