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).
| Interface Instance | IO Set | Pin No. | Pin Name | Function |
|---|---|---|---|---|
| MCAN0 | 1 | 119 | PA9 | CAN Transmit Line (CANTX) |
| 120 | PA10 | CAN Receive Line (CANRX) | ||
| MCAN0 | 2 | 20 | PD12 | CAN Transmit Line (CANTX) |
| 21 | PD13 | CAN Receive Line (CANRX) | ||
| MCAN1 | 1 | 123 | PA7 | CAN Transmit Line (CANTX) |
| 122 | PA8 | CAN Receive Line (CANRX) | ||
| MCAN1 | 2 | 22 | PD14 | CAN Transmit Line (CANTX) |
| 19 | PD15 | CAN Receive Line (CANRX) | ||
| MCAN2 | 1 | 127 | PA5 | CAN Transmit Line (CANTX) |
| 124 | PA6 | CAN Receive Line (CANRX) | ||
| MCAN2 | 2 | 24 | PD16 | CAN Transmit Line (CANTX) |
| 23 | PD17 | CAN Receive Line (CANRX) | ||
| MCAN3 | 1 | 125 | PA0 | CAN Transmit Line (CANTX) |
| 130 | PA1 | CAN Receive Line (CANRX) | ||
| MCAN3 | 2 | 111 | PD18 | CAN Transmit Line (CANTX) |
| 110 | PD19 | CAN Receive Line (CANRX) | ||
| MCAN4 | 2 | 29 | PD20 | CAN Transmit Line (CANTX) |
| 26 | PD21 | CAN Receive Line (CANRX) | ||
| MCAN5 | 2 | 27 | PD22 | CAN Transmit Line (CANTX) |
| 28 | PD23 | CAN Receive Line (CANRX) |
