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

mcp25xxfd: Using SPI1.0 and SPI1.1 error #10

Open
skpang opened this issue Aug 20, 2019 · 6 comments
Open

mcp25xxfd: Using SPI1.0 and SPI1.1 error #10

skpang opened this issue Aug 20, 2019 · 6 comments

Comments

@skpang
Copy link

skpang commented Aug 20, 2019

I'm trying to use SPI1 instead of SPI0. I'm using the mcp2517fd-spi1.0-can2-overlay but dmesg is giving me CRC errors.

pi@raspberrypi:~ $ dmesg |grep spi
[ 4.065147] mcp25xxfd spi1.0: CRC read error: computed: ec03 received: 0000 - data: be 00 04 00 00 00 00
[ 4.065163] mcp25xxfd spi1.0: CRC read of clock register resulted in a bad CRC mismatch - hw not found
[ 4.065180] mcp25xxfd spi1.0: Probe failed, err=84
[ 4.065243] mcp25xxfd: probe of spi1.0 failed with error -84

Any idea of how to fix this ?

@houaq
Copy link

houaq commented Apr 25, 2020

Hi, skpang!
I got the same issue, did you figured it out?

@vsi5004
Copy link

vsi5004 commented Apr 27, 2020

I am also recieving this error - any updates would be appreciated!

@amostafa9
Copy link

I had the same issue, was anyone able to find a fix?

@calvinchengx
Copy link

calvinchengx commented Jun 4, 2020

LOL. Ditto! Having the exact same error.

Anyone has any luck resolving this?

@amostafa9
Copy link

So I'm currently Using a Raspberry Pi Zero W and I'm using the MCP2517FD controller on this board:
https://www.waveshare.com/wiki/2-CH_CAN_FD_HAT
I went ahead and just reinstalled all the drivers using the walkthrough on that site and the issues were resolves when I did that.

Even if you aren't using that same exact development board, you might still be able to that walkthrough as long as you're using the MCP2517FD. That tutorial also works for the MIKROE-2379 Click board which also has the MCP2517FD.

@calvinchengx
Copy link

So I'm currently Using a Raspberry Pi Zero W and I'm using the MCP2517FD controller on this board:
https://www.waveshare.com/wiki/2-CH_CAN_FD_HAT
I went ahead and just reinstalled all the drivers using the walkthrough on that site and the issues were resolves when I did that.

Even if you aren't using that same exact development board, you might still be able to that walkthrough as long as you're using the MCP2517FD. That tutorial also works for the MIKROE-2379 Click board which also has the MCP2517FD.

Toggling to B mode works for me.

That appears to be the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants