10.2 Interfacing with CAN

The SAMA7G54 SOM Series offers six Controller Area Network (MCAN) interfaces.

The MCAN performs communication according to ISO 11898-1:2015 and to Bosch CAN FD specification. Additional transceiver hardware is required for connection to the physical layer.

All functions concerning the handling of messages are implemented by the Rx Handler and the Tx Handler. The Rx Handler manages message acceptance filtering and transfer of received messages from the CAN core to the Message RAM and provides received message status information. The Tx Handler is responsible for the transfer of transmit messages from the Message RAM to the CAN core, as well as providing transmit status information.

Acceptance filtering is implemented by a combination of up to 128 filter elements, where each element can be configured as a range, as a bit mask, or as a dedicated ID filter.

For more information about the Controller Area Network features, refer to the SAMA7G5 Series SiP data sheet (see Reference Documents).

Table 10-35. CAN Interface Configurations
Interface InstanceIO SetPin No.Pin NameFunction
MCAN01119PA9CAN Transmit Line (CANTX)
120PA10CAN Receive Line (CANRX)
MCAN0220PD12CAN Transmit Line (CANTX)
21PD13CAN Receive Line (CANRX)
MCAN11123PA7CAN Transmit Line (CANTX)
122PA8CAN Receive Line (CANRX)
MCAN1222PD14CAN Transmit Line (CANTX)
19PD15CAN Receive Line (CANRX)
MCAN21127PA5CAN Transmit Line (CANTX)
124PA6CAN Receive Line (CANRX)
MCAN2224PD16CAN Transmit Line (CANTX)
23PD17CAN Receive Line (CANRX)
MCAN31125PA0CAN Transmit Line (CANTX)
130PA1CAN Receive Line (CANRX)
MCAN32111PD18CAN Transmit Line (CANTX)
110PD19CAN Receive Line (CANRX)
MCAN4229PD20CAN Transmit Line (CANTX)
26PD21CAN Receive Line (CANRX)
MCAN5227PD22CAN Transmit Line (CANTX)
28PD23CAN Receive Line (CANRX)