Jump to content

Spidev issues on Orangepi Zero Lts


campus03

Recommended Posts

Armbianmonitor:

Hi,

As you can see in the armbianmonitor output, an error prevents from using the Spi with the Orange pi Zero board using a newly downloaded Armbian image.

The output refers to the Armbian-Hirsute image (the last one tested) but the same error also occurs with the Buster and Focal images.

 

Unfortunately I don't have the knowledge to correct the following error myself:

[3.349869] sun6i-spi 1c68000.spi: chipselect 0 already in use

[3.349901] spi_master spi0: spi_device register error / soc / spi @ 1c68000 / flash @ 0

[3.349953] spi_master spi0: Failed to create SPI device for / soc / spi @ 1c68000 / flash @ 0


The only commands executed in a fresh image are:
1) armbian-config to activate spidev and
2) added two Spi parameters in the armbianEnv.txt file .

 

I hope that someone more experienced than me (and there are many in the forum!) Will suggest the way to avoid this issue or that with the next Armbian release it won't show up anymore.

 

Thank you all.

Link to comment
Share on other sites

  • Werner changed the title to Spidev issues on Orangepi Zero Lts

I solved the problem myself. Armbian images are perfect!

 

The problem was that I tried to use /dev/spidev0.0, but the first available is /dev/spidev1.0,

contrary to the i2c which is /dev/i2c-0.

 

So the right parameter is param_spidev_spi_bus=1 ... with /dev/spidev1.0 things work great!

 

I am very sorry for disturbing the community ... I had to be more careful!

 

Friendliness to all.

 

 

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