07-14-2021, 09:24 AM
Hi Lucius
That suggests the problem does not relate to the mpd_oled code for SPI and the OLED driver.
I recommend a quick check again that you have 'dtparam=spi=on' in /boot/config.txt, as this version needs it. Perhaps you could post the file here in case it includes anything that suggests a conflict. Perhaps you could also post the output of the following command to see what services might be in conflict
I don't think it should make a difference, as cava isn't run until audio is playing, but you could try running mpd_oled without the -c option, in order to discount that it is an ALSA issue (this will stop the spectrum from displaying)
If you get the same result then you can add the -c option back in, and next try connecting your display like
http://moodeaudio.org/forum/showthread.p...35#pid9235
Which is the same (only differing in the choice of power and ground pins) as
https://github.com/antiprism/mpd_oled/bl...ng_spi.png
Adrian.
That suggests the problem does not relate to the mpd_oled code for SPI and the OLED driver.
I recommend a quick check again that you have 'dtparam=spi=on' in /boot/config.txt, as this version needs it. Perhaps you could post the file here in case it includes anything that suggests a conflict. Perhaps you could also post the output of the following command to see what services might be in conflict
Code:
systemctl status | cat
I don't think it should make a difference, as cava isn't run until audio is playing, but you could try running mpd_oled without the -c option, in order to discount that it is an ALSA issue (this will stop the spectrum from displaying)
Code:
sudo mpd_oled_service_edit -o -o SSD1306,128X64,SPI,dc=27,reset=24,rotation=2 -b 21 -g 1 -f 15
If you get the same result then you can add the -c option back in, and next try connecting your display like
http://moodeaudio.org/forum/showthread.p...35#pid9235
Which is the same (only differing in the choice of power and ground pins) as
https://github.com/antiprism/mpd_oled/bl...ng_spi.png
Adrian.