Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Microchip CAN-FD MCP251xFD drivers #59968

Merged
merged 4 commits into from
Oct 1, 2023

Commits on Sep 29, 2023

  1. drivers: can: Implement MCP25xxFD driver

    Implementation for Microchip MCP2517FD/MCP2518FD SPI based CAN-FD
    controller.
    
    Signed-off-by: Abram Early <abram.early@gmail.com>
    legoabram authored and talih0 committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    533795f View commit details
    Browse the repository at this point in the history
  2. drivers: can: mcp251xfd: Add driver

    This continue PR zephyrproject-rtos#31270. The updated changes are:
    - Updated to work with latest zephyr
    - Inplace reads/writes of registers
    - Batch read of RX messages when multiple messages can be read
    - FIFO abstraction of RX/TEF queues
    - Handle ivmif errors
    - Use READ_CRC for register reads
    - Use bitmasks instead of bitfield members
    - Rename mcp25xxfd to mcp251xfd
    - General cleanups
    
    Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
    talih0 committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    37dc289 View commit details
    Browse the repository at this point in the history
  3. shields: Add CAN-FD MikroElektronika mcp2518fd click shield

    Adds MikroElektronica click shield for the Microchip
    MCP2518FD CAN-FD controller.
    
    Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
    talih0 committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    ef3c962 View commit details
    Browse the repository at this point in the history
  4. tests: drivers: build_all: can: Add mcp251xfd test case

    Adds build test case for mcp25xxfd with arduino_uno_click and
    mikroe_mcp2518fd_click shield.
    
    Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
    talih0 committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e903aba View commit details
    Browse the repository at this point in the history