Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Product List
CANAPI-Slide11

To check the health of a CAN node, one can either poll for the Bus Status value, or use the CAN Error interrupt to check the Bus State. The Bus State is determined by the Tx and Rx error counters. Here the Error Poll function is shown. The return value is used to notify the user if the node is in a less than optimum state, for example Error Passive. If so, the user may wish to send warning messages, or light an LED. The handling of CAN errors is further discussed in the CAN Basics II training course, which can be viewed on Renesas Interactive (www.renesasinteractive.com).

PTM Published on: 2011-10-25