To understand how Wake Up Frames (WUF) are used in
CAN partial networking, it is important to first understand the structure of a CAN
frame. In Figure 3-1, a high signal represents the CAN bus is recessive (logic 1), while a low signal
represents the CAN bus is dominant (logic 0).
There are two formats used which are based upon
the number of ID bits. As shown in Figure 3-1 there is an 11-bit ID format known as Classic Base Frame Format (CBFF) and a
29-bit ID format know as Classic Extended Frame Format (CEFF). The following is a
list of the names and description:
IDLE – When the CAN bus is in an idle state, the bus will be recessive, or ‘1.’
SOF – Start of Frame, a dominant bit, or ‘0.’
ID[10:0], the Base ID in CBFF, or EXT_ID[28:18], the first 11 bits of the Extended ID in CEFF. These share the same configuration bits.
EXT_ID[17:0], the remaining 18 bits of the Extended ID in CEFF
RTR – Remote Transmission Request. A ‘1’ indicates a remote frame (will have a zero length DLC). A ‘0’ indicates a data frame. For a WUF, this bit must be ‘0.’
IDE – Identifier. A ‘1’ indicates CEFF (extended ID), while a ‘0’ indicates CBFF (base ID)
FDF – FD Format indicator which states whether the frame is classic CAN,(0), or CAN FD (1). For a WUF, this bit must be ‘0.’ Note that for CAN-FD frames, the structure following this FDF bit is different from either Classical CAN frame, and is not described here.
DLC – Four-bit Data Length Code states how many data bytes are in the frame. Values of 8-15 will be interpreted as 8 bytes
SRR – Substitute RTR. Will always be a ‘1.’
r1 – Reserved bit. Will always be a ‘0.’
CRC – 15-bit Cyclic Redundancy Check which is used to determine the integrity of the information
Del – Delimiter bits. Will always be ‘1.’
ACK – Acknowledge. The sender of the CAN frame will transmit a ‘1,’ while all of the receivers of the CAN frame will transmit a ‘0’ if the CRC is correct, or a ‘1’ if the CRC is incorrect