MCP251863 Click Board™
Product Code: MIKROE-4955
How Does The MCP251863 Click Board™ Work? The MCP251863 Click Board™ as its foundation uses the MCP251863, an IC representing a compact solution containing a CAN FD controller with an SPI interface and a high-speed CAN transceiver from Microchip. The high-speed CAN transceiver provides a physical connection with the CAN bus itself, while the CAN controller represents an interface between the MCU and the transceiver. The role of the CAN controller is to provide arbitration, message framing, message validation, error detection, message filtering, and more. Among all other tasks, it offers formatted CAN data for the application layer, running on the host MCU. The MCP251863 communicates with MCU using the SPI interface, allowing communication speeds up to 5Mbps and supporting Normal and Standby operational modes. Normal mode is engaged when the STB pin, routed on the AN pin of the mikroBUS™ socket, is at the logic low level, while its transmit pin is held to a high logic level. While in the Normal mode, the data can be sent and received via the CAN H/L bus lines.
The mode selection can be performed by positioning the SMD jumper labelled as STBY to an appropriate position marked as STBY or ON. In Standby mode, if the STBY jumper is set to the STBY position, the user has the option of activating the Standby mode in two ways, where the selection is made by positioning the SMD jumper labelled as STBY SEL to an appropriate position marked as STBY or INT0. This way, the Standby mode can be activated via STB pin from the mikroBUS™ socket or by the MCP251863 interrupt signal IN0 routed to the TX pin of the mikroBUS™ socket (the IN0 pin can also be used to alert the MCU about the TX events).
In addition, the MCP251863 Click Board™ also uses several pins of the mikroBUS™ socket. The CLK pin from the MCP251863 routed to the PWM pin of the mikroBUS™ socket can provide the clock output for the host MCU or represent the start of the frame signal. It is derived from the input clock generated by the onboard chip oscillators, where the onboard SMD jumpers allow frequency selection between 20MHz and 40MHz. Besides, it also uses two interrupt pins, INT and INT1 routed to the INT and RX pins of the mikroBUS™ socket, respectively. While the INT pin is always an interrupt pin, used to alert the MCU of the enabled interrupt event, the INT1 pin alert the MCU about the RX events (if these interrupts are enabled).
In addition, the user can connect the external TX/RX signals to the CAN FD transceiver and CAN bus signals directly through the onboard headers on the left and right sides of the board. This Click board™ comes equipped with the standard DB-9 connector, making interfacing with the CAN bus simple and easy.
The MCP251863 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VIO SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type
CAN,CAN FD
Applications
The MCP251863 Click Board™ be used for developing a wide range of automotive diagnostic applications, even on MCUs that do not natively support CAN interface
On-board modules
MCP251863 - CAN FD controller with an SPI interface and a high-speed CAN transceiver from Microchip
Key Features
Expands the existing MCU with the reliable and robust CAN connectivity option, support for both CAN 2.0B and CAN FD frames, high speed CAN communication up to 5 Mbps, integrated DE-9 connector, and more
Interface
GPIO,PWM,SPI
Compatibility
mikroBUS
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
PINOUT DIAGRAM
This table shows how the pinout of the MCP251863 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
Standby Control
STB
1
AN
PWM
16
SYN
External sync
NC
2
RST
INT
15
INT
Interrupt
SPI Chip Select
CS
3
CS
RX
14
IN0
TX Interrupt
SPI Clock
SCK
4
SCK
TX
13
IN1
RX Inte
Visit the Debug Store website for more information on MCP251863 Click Board™