Skip to content

RaspberryPi Pico(RP2040) with MCP2518FDClick #23

@rn-ksheer

Description

@rn-ksheer

Hi Pierre,

I was successful in using acan2517 lib on Arduino nano with MCP2518FDClick board as sender and UNO with MCP2515 as receiver. I am unable to do the same with pico development board, The program compiles and uploads without any errors but not receiving any frames at UNO side. I have read your pdf document and made the changes to use custom SPI pins, still no success. Please point the necessary settings required to make pico work with MCP2518FDClick.

`SPI.setRX(16);
SPI.setTX(19);
SPI.setSCK(18);
SPI.setCS(17);
SPI.begin();

ACAN2517Settings settings (ACAN2517Settings::OSC_20MHz, 500UL * 1000UL) ;
settings.mRequestedMode = ACAN2517Settings::Normal20B; // Select loopback mode`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions