Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing Frame on CAN bus

Hello,

 

I am using NI-8473 CAN to USB for my application. 

I have a SM470 controller which is sending 8 Frames (1 Packet) at interval of 800us.

my expected packets are as shown below:

Packet 1

IDE,DL,Data

745,5,01 00 00 00 00

745,5,02 00 00 00 00
745,5,03 00 00 00 00
745,5,04 00 00 00 00
745,5,05 00 00 00 00
745,5,06 00 00 00 00
745,5,07 00 00 00 00
745,5,08 00 00 00 00

Packet 2

745,5,01 01 00 00 00
745,5,02 01 00 00 00
745,5,03 01 00 00 00
745,5,04 01 00 00 00
745,5,05 01 00 00 00
745,5,06 01 00 00 00
745,5,07 01 00 00 00
745,5,08 01 00 00 00...... So on

 

But at actual I am missing some frames from each packets and sometimes whole packet is missing.

I have set my system and firmware baudrate at 1Mbps. For your reference I have also attached my test VI.

So any one can help me to do some advance setting to achieve this faster rate data acquistion?

I did some calculation based on baudrate that If I go with 1Mbps then I can expect 125bytes/msec, here I am receiving 105bytes/msec. So why I am loosing the data?

I whould like to appreciate if some guide me.

Vinal Gandhi, CLA
0 Kudos
Message 1 of 2
(5,181 Views)
What is your wiring setup? Is there other CAN devices on the bus? Where are the terminating resistors? If you lower the baud rate does it improve?
0 Kudos
Message 2 of 2
(5,162 Views)