Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Will CanErrOverflowRead or CanErrOverflowFrame stop reading

Hi,
 
  After CanErrOverflowRead or CanErrOverflowFrame is returned in ncRead or ncReadMult , is it possible for CAN to continue reading as usual, or we should reset or stop the network interface object?
0 Kudos
Message 1 of 3
(3,355 Views)
Hi dot,

you can continue to read as usual, the CAN card/driver is not at a dead end. However, given that frames are lost any counting synchronization is now off, so depends on the type of application whether you need to restart your application or not. Also there might be circumstances where you want to discard everything in your buffers if you encounter one of the above mentioned errors. In those cases you could either flush the buffers (read all, but discard) or stop and restart the ports.

-B2k
0 Kudos
Message 2 of 3
(3,350 Views)
Thanks a lot 🙂
0 Kudos
Message 3 of 3
(3,344 Views)