Giter Club home page Giter Club logo

mcp2518fd's Introduction

MCP2518FD

A #![no_std] Rust driver library for interacting with MCP2518FD CAN FD controller chips. Platform agnostic, specifically tested using the MCP251863 chip (MCP2518FD controller with integrated CAN FD transceiver).

This driver attempts to improve on previous such crates and strives to expose as much functionality as possible while making it easy to use for the majority of common use cases.

Cargo Features

All features are disabled by default.

  • defmt - Implements defmt::Format for most public types so they can be printed using defmt::info!() and relatives

Examples

Examples for the Raspberry Pi Pico (rp2040 microcontroller) are available in the examples/ folder.

Current Limitations

The driver does not currently have full support for the usage of the RRS bit in CAN FD standard frames as SID11. This is not a priority since it deviates from the ISO 11898-1:2015 specification. Not supporting this also lets us use the Id enum from the embedded-can crate instead of implementing one ourselves.

The driver does not currently support graceful abortion of message transmission or resetting FIFOs.

The driver does not currently support a nice way to configure bit timing which is important in order to support a larger amount of use cases. Registers can still be configured manually if this is desired.

The driver does not currently support a convenient way to configure the various types of interrupts. Registers can still be configured manually if this is desired.

Credits

This driver is loosely based on a previous driver crate for the MCP2517FD which can be found here, but has been significantly reworked, extended, and updated for embedded-hal v1.0.

mcp2518fd's People

Contributors

wowkster avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.