3.2.5.1 DIAG_CAN_CRCCheck

Returns the status of the CAN_CHECKSUM diagnostic

This function verifies that a message with a 1 in alternating bit positions, plus a 16-bit CRC is received correctly.

DIAG_STATUS
DIAG_CAN_CRCCheck
(
    DIAG_CAN_PERIPHS can_periph, 
    bool use_sw_crc
);

Diagnostic verifies the following faults do not exist

  • Communication failure due to bus

Operating Mode

  • Interface can be used at POST
Precondition
  • none

Parameters

  • can_periph - con instance,
  • use_sw_crc - use software checksum

Returns

  • DIAG_STATUS