06-09-2024, 01:01 PM
(This post was last modified: 06-09-2024, 01:03 PM by lepetitdiable.)
(06-07-2024, 10:51 PM)fdealexa Wrote: Hi Manuel,
With the OLED configurated as a spi device, could you please try to run
Code:sudo raspi-config
option 3 (interface), enable spi.
After that please give these commands:
Code:le -l /dev/spi*
lsmod | grep spi
And let us know the results.
Regards,
Francesco
P. S. The connection you showéd, seems correct.
Hi Francesco,
yes, I had already activated SPI in config.txt (to be on the safe side, I activated it again as desired and rebooted)
Oh dear, now you've caught me out cold: my Linux knowledge is pathetic.
Unfortunately, my system (and I ;-) ) can't do anything with the command ‘le -l’:
Code:
mg@moode:~ $ le -l /dev/spi*
-bash: le: command not found
I was so bold as to assume a spelling mistake and simply entered ‘ls -l’, that's what I got:
Code:
mg@moode:~ $ ls -l /dev/spi*
crw-rw---- 1 root spi 153, 1 Jun 9 14:34 /dev/spidev0.0
crw-rw---- 1 root spi 153, 2 Jun 9 14:34 /dev/spidev0.1
crw-rw---- 1 root spi 153, 0 Jun 9 14:34 /dev/spidev10.0
- and for the last command I got this answer:
Code:
mg@moode:~ $ lsmod | grep spi
spi_dw_mmio 49152 0
spidev 49152 0
spi_dw 49152 1 spi_dw_mmio
spi_bcm2835 49152 0
Hope It helps ...
Thank you !
Manuel