Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: lorraineray on July 12, 2024, 04:19:13 AM

Title: Cannot enable SPI2 on Olinuxino LIME 2
Post by: lorraineray on July 12, 2024, 04:19:13 AM
Hi All,

I'm trying to enable SPI2 on Olinuxino LIME2 board following the instruction of Armbian doc, and the README.sun7i... in the /boot/dtb/overlay directory.

It seems I have to enable an spi2 device, but the overlay for SPI2 of sun7i is not present.

The related section of armbianEnv.txt is the following:

 

overlays=i2c1 spi-spidev uart2 uart3 uart4 uart5 uart6 uart7
param_spidev_spi_bus=2
param_spidev_max_freq=10000000
 

What I'm doing of wrong?

Thanks!
Title: Re: Cannot enable SPI2 on Olinuxino LIME 2
Post by: LubOlimex on July 16, 2024, 09:40:41 AM
As far as I remember Armbian recommends using armbian-config utility to enable such peripherals.

For Armbian support better check their forums, there is higher chance to receive proper support there.

We recommend using Olimage with our boards:

https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf