Jump to content

MCP2515 problem


MikeBaxter

Recommended Posts

Hi, i want to connect a MCP 2515 (the small modules for arduino) to my tinkerboard "Armbian 22.02.1 Hirsute with bleeding edge Linux 5.17.5-rockchip"

I have enabled the SPI0 (and UART1) directly from armbian-config, I have disabled all the other peripherals.

The connections are these:

 

INT   -------------> pin 32

CLK -------------> pin 11

SI ----------------> pin 13

SO --------------> pin 15

CS --------------> pin 29

 

in /boot/armbianEnv.txt

 

i add this:

user_overlays=spi-mcp251x

 

but it don't work and i can't find a guide for this board

 

thanks a lot for your help

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

1 hour ago, Myron said:

Please provide the contents of the overlay you've added and also diagnostic information obtained using . . .

armbianmonitor -u

 

i change the armbianEnv:

verbosity=1
bootlogo=false
overlay_prefix=rockchip
overlays=spi0 spidev0 uart1
rootdev=UUID=0b9d8e40-3bf5-4cc1-a228-484d182cb585
rootfstype=ext4
##param_spidev_spi_bus=0
user_overlays=spi-mcp251x
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
 

 

and this is the result of armbianmonitor -u:

 

http://ix.io/3ZGL

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines