Jump to content

Spidev issues on Orangepi Zero Lts


Go to solution Solved by campus03,

Recommended Posts

Posted
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.

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

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.

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines