View: 13388|Reply: 3

Enable SPI device on OrangePi 4b (RK3399)

[Copy link]

3

threads

10

posts

37

credits

Novice

Rank: 1

credits
37
Published in 2020-8-15 18:42:51 | Show all floors |Read mode
Edited by Emrius at 2020-8-25 18:25

Hi,
I'm trying to enable the SPI sysfs device. I downloaded the Ubuntu and Debian images from the downloads section of orangepi. I found several `/dev/i2c` devices but the `/dev/spi` device is not loaded per default. When I append `spi_rockchip` and `spidev` to `/etc/modules` to load them explicitly I find the following journalctl log:

  1. Aug 15 10:32:31 orangepi4 systemd-modules-load[194]: Module 'spi_rockchip' is builtin
  2. Aug 15 10:32:31 orangepi4 systemd-modules-load[194]: Module 'spidev' is builtin
Copy code


However, the according sysfs devices are still not added to `/dev/`. I also tried the available armbian image but that gave me a pain in the a**. It's very unstable and refused to reboot a couple of times on my OrangePi 4b.

Has anybody achieved to load the SPI device?
Regards


Published in 2024-2-18 21:24:20 | Show all floors
Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info.        Право на получение индийской электронной визы граждане Лихтенштейна

1

threads

258

posts

1217

credits

Gold member

Rank: 6Rank: 6

credits
1217
Published in 2024-3-3 21:50:37 | Show all floors
It's a very good guide, Bless you designed for issuing all of us this post. Continue advertisment.        PFA Testing In Long Island
Published in 2024-5-12 19:04:55 | Show all floors
Thanks for your insight for your fantastic posting. I’m glad I have taken the time to see this.        윈조이머니상
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list