Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Spidev issues on Orangepi Zero Lts

Featured Replies

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.

Solved by campus03

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

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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.