Cover image
Try Now
2025-03-18

MCP2517FD, MCP2518FD y MCP251863 Conductor

3 years

Works with Finder

4

Github Watches

6

Github Forks

39

Github Stars

MCP251XFD

MCP251XFD is a fully hardware independant Driver primarily aimed at embedded world

Presentation

This driver only takes care of configuration and check of the internal registers and the formatting of the communication with the device. That means it does not directly take care of the physical communication, there are functions interfaces to do that. By doing this, the driver can control a MCP2517FD through a I2C to SPI converter without any change, the transformation will be done in the interface functions. Each driver's functions need a device structure that indicate with which device it must threat and communicate. Each device can have its own configuration.

Feature

This driver has been designed to:

  • Be fully configurable (all features of the MCP2517FD, MCP2518FD and MCP251863 are managed)
  • Detect which one of the MCP2517FD or the MCP2518FD (MCP251863 have a MCP2518FD inside) is connected
  • Take care of the CRC communication or Safe write if configured for the device
  • Manage all Sleep modes
  • Have no limit of configuration except the ones imposed by the device
  • Manage devices completely independently
  • Have an automatic CAN bit time setting
  • Prevent all configuration errors

Usage

Installation

Get the sources

Get and add the 4 following files to your project

MCP251XFD.c
MCP251XFD.h
Conf_MCP251XFD_Template.h
ErrorsDef.h

Copy or rename the file Conf_MCP251XFD_Template.h to Conf_MCP251XFD.h... Et voila!

Others directories

Tests\ directory

The Tests folder contains an example of use on the SAMV71 Xplained Ultra board See the Main_Synchronous.c for the hardware setup.

Tests\UnitTest\ directory

The Tests\UnitTest folder contains unit test for Visual Studio 2017 and are not required.

Configuration

To set up one or more devices in the project, you must:

  • Configure the driver (Conf_MCP251XFD.h) which will be the same for all devices but modify only its behavior in the project
  • Create and define the configuration of as many device structures as there are devices to use
  • Create and define controller and CAN controller configuration for each device. Multiple devices can share the same configuration
  • Initialize the device with the configuration structure previously defined

All is explained in the MCP251XFD driver library guide

Driver usage

All is explained in the MCP251XFD driver library guide

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • Mintplex-Labs
  • La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.

  • chongdashu
  • Habilite clientes asistentes de IA como Cursor, Windsurf y Claude Desktop para controlar el motor irreal a través del lenguaje natural utilizando el Protocolo de contexto del modelo (MCP).

    Reviews

    1 (1)
    Avatar
    user_Al04pFHy
    2025-04-17

    The MCP251XFD by Emandhal is a fantastic tool for anyone working with CAN bus systems. It's highly reliable and integrates seamlessly with your projects. I've been using it for several months, and it has significantly improved the efficiency and stability of my applications. You can find more about this excellent product on its GitHub page. Highly recommended!