Menu

MCP2518FD Click Board™

Product Code: MIKROE-3060

The physical layer is implemented by using a separate IC, which provides increased robustness, required for the automotive applications. It features three operating modes, remote wake-up via the CAN, and offers ideally passive behavior on the CAN bus when it is powered off. These features allow the MCP2518D Click Board™ to be used for the development of a wide range of automotive diagnostic applications, even on MCUs that do not natively support CAN interface. How Does The MCP2518D Click Board™ Work? The MCP2518D Click Board™ consists of a transceiver IC, a low-level physical layer IC (PHY) which provides a physical connection with the CAN bus itself, and a CAN controller IC, which is used as an interface between the MCU and the PHY IC. The MCP2518D Click Board™ uses the ATA6563, a high-speed CAN transceiver with Standby mode, and the MCP2518FD, CAN FD controller with the SPI interface, both ICs by Microchip. The role of the CAN bus controller is to provide arbitration, message framing, message validation, error detection, message filtering, and so on.
Among all other tasks - it is used to provide clearly formatted CAN data for the application layer, running on the host MCU. CAN TRANSCEIVER As the physical layer (PHY) IC, the ATA6563, a high-speed CAN transceiver with Standby mode, by Microchip. This IC provides the physical connection with the CAN bus and as such, it provides high resistance to electrostatic discharge and other electromagnetic phenomena, with its bus pins protected against transients, often encountered in the automotive environment. It allows communication speed up to 5Mbps. For the CAN bus device, it is important not to block the entire bus by permanently setting itself as the dominant node. For this reason, the PHY IC has the TX time-out function. It is also important to have defined bus pin states of nodes at all times. The ATA6563 PHY IC has its functional behavior predictive under all supply conditions. The ATA6563 is powered directly from the mikroBUS™ 5V power rail. This IC can work in several modes: Normal mode is engaged when the STBY pin is at the logic LOW level, while the TXD pin is held to a HIGH logic level. While in the Normal mode, bus biasing is set to half the supply voltage, and the data can be transmitted and received via the CANH and CANL bus lines. If the STBY pin of the ATA6563 is set to a HIGH logic level, the PHY IC will enter the Standby mode. While in Standby mode, the device is not able to transmit or correctly receive any data. The internal TX and HSC (high-speed comparator) sections are turned off, reducing the power consumption. Also, the bus lines are biased to the GND level. While in Standby mode, the device actively listens to the CAN bus traffic, looking for a valid wake-up pattern. Since the STBY pin directly controls the operating mode of the PHY IC, it is routed to the onboard SMD jumper labeled as the STBY, allowing more than one way of control. This SMD jumper allows choice between connecting the STBY pin to the GND directly (LOW logic level), or allowing it to be controlled via the source selected by yet another SMD jumper, labeled as STBY SEL: control via the AN pin of the mikroBUS™, or the INT0/GPIO pin of the CAN control module IC. CAN BUS CONTROLLER The MCP2518FD, CAN FD controller with the SPI interface, also by Microchip, is used to control and shape the CAN bus data traffic. While the PHY IC provides CAN communication on a basic - physical level, the MCP2518FD takes care of all the communication and data formatting. It manages the proper decoding and encoding of messages, data arbitration, message transmission prioritizing and filtering, provides the FIFO buffer for the messages, and so on. This IC can even provide a clock source to the host MCU, reducing the number of needed components to a minimum. On one end, it uses the SPI to communicate with the host MCU, while on the other end, it uses RXCAN and TXCAN pins to communicate with the PHY layer IC. The MCP2518FD supports CAN frames in classic format (CAN2.0B), as well as the CAN Flexible Data Rate format (CAN FD), as specified in ISO11898-1:2015. CAN FD controller IC contains 2K of integrated RAM, which is used as the message buffer. Besides this, it also contains a number of SFR registers, used to configure and operate the controller IC, including the configuration of the INT/GPIO pins, their direction and polarity, configuration of the clock section, operating mode (including the Low Power mode for the MCP2518FD IC), FIFO control and message filtering, and so on. All the registers are 32bit wide. The datasheet of the MCP2518FD IC can be consulted for a comprehensive list of all the SFR registers and their functions. However, the provided library contains functions which can be used with MikroElektronika compilers. The included example application demonstrates the use of these functions, and it can be used as a reference for custom development. There are three interrupt pins

Visit the Debug Store website for more information on MCP2518FD Click Board™

ENQUIRY FORM

More Products

  • Sunny Computer Wall Power Supplies - SYS1541 - 15V 1.6A

  • Sunny Computer Wall Power Supplies - SYS1541 - 18V 1.4A

  • Sunny Computer AC Plug - China (SYS1541 Series)

  • Sunny Computer Wall Power Supplies - SYS1541 - 12V 2A