Oooohhhh....
https://kentaromitsuyasu.medium.com/cre ... 91db2bd289
Uuuuhhh..... juce4 PI....
https://www.youtube.com/live/2_7SVHg7OW4
Pigpio on rasp Pi 5 topics, idk if relevant, just posting bc it is in the dependancies of the Overlay.
Maybe it could work with pigpiod or WiringPi without recompiling?
I have no idea
https://community.openhab.org/t/raspber ... ing/153681
[/quote]
Thanks I see valuable content, Thanks. I will go through it in days coming ..
Also thank you for suggestion to check the GPIO's with scope, will do. From my experiments I got DAC5102a working on its own.
The kernel version I am on: 6.12.25-v8-16k+
The tree overlay I ended up with, compiling ok:# Compiled with
sudo dtc -@ -I dts -O dtb -o /boot/overlays/pcm1802-pcm5102a.dtbo pcm1802-pcm5102a.dts
sudo nano /boot/firmware/config.txt
commenting other hifiberry-dac overlay and pasting this: dtoverlay=pcm1802-pcm5102a
once rebooted, I am loading overlay manualy, but when I check if applied I get to brick wall, see bellow
Thanks All for drilling into it
https://kentaromitsuyasu.medium.com/cre ... 91db2bd289
Uuuuhhh..... juce4 PI....
https://www.youtube.com/live/2_7SVHg7OW4
Pigpio on rasp Pi 5 topics, idk if relevant, just posting bc it is in the dependancies of the Overlay.
Maybe it could work with pigpiod or WiringPi without recompiling?
I have no idea
https://community.openhab.org/t/raspber ... ing/153681
[/quote]
Thanks I see valuable content, Thanks. I will go through it in days coming ..
Also thank you for suggestion to check the GPIO's with scope, will do. From my experiments I got DAC5102a working on its own.
The kernel version I am on: 6.12.25-v8-16k+
The tree overlay I ended up with, compiling ok:
Code:
dts-v1/;/plugin/;/ { compatible = "brcm,bcm2712"; fragment@0 { target = <&i2s>; __overlay__ { status = "okay"; }; }; fragment@1 { target-path = "/"; __overlay__ { pcm1802_codec: pcm1802 { compatible = "ti,pcm1802"; #sound-dai-cells = <0>; }; pcm5102a_codec: pcm5102a { compatible = "ti,pcm5102a"; #sound-dai-cells = <0>; }; }; }; fragment@2 { target = <&sound>; __overlay__ { compatible = "simple-audio-card"; simple-audio-card,name = "pcm1802-pcm5102a"; simple-audio-card,format = "i2s"; simple-audio-card,bitclock-master = <&dailink0_master>; simple-audio-card,frame-master = <&dailink0_master>; simple-audio-card,widgets = "Line", "Left Line In", "Line", "Right Line In", "Line", "Left Line Out", "Line", "Right Line Out"; simple-audio-card,routing = "Left Line In", "LINL", "Right Line In", "LINR", "Left Line Out", "LOUTL", "Right Line Out", "LOUTR"; dailink0_master: simple-audio-card,cpu { sound-dai = <&i2s>; }; simple-audio-card,codec { sound-dai = <&pcm1802_codec>, <&pcm5102a_codec>; }; }; };};sudo dtc -@ -I dts -O dtb -o /boot/overlays/pcm1802-pcm5102a.dtbo pcm1802-pcm5102a.dts
sudo nano /boot/firmware/config.txt
commenting other hifiberry-dac overlay and pasting this: dtoverlay=pcm1802-pcm5102a
once rebooted, I am loading overlay manualy, but when I check if applied I get to brick wall, see bellow
Code:
pi@raspberrypi:~ $ sudo rmdir /sys/kernel/config/device-tree/overlays/custom_audio 2>/dev/null || true # -> clear previous compiled versionpi@raspberrypi:~ $ sudo dtc -I dts -O dtb -o /boot/overlays/pcm5102a-pcm1802-pi5.dtbo /boot/overlays/pcm5102a-pcm1802-pi5.dts #-> recompilepi@raspberrypi:~ $ sudo mkdir -p /sys/kernel/config/device-tree/overlays/custom_audio #-> create new overlay filepi@raspberrypi:~ $ sudo sh -c "cat /boot/overlays/pcm5102a-pcm1802-pi5.dtbo > /sys/kernel/config/device-tree/overlays/custom_audio/dtbo" # -> manually loadpi@raspberrypi:~ $ cat /sys/kernel/config/device-tree/overlays/custom_audio/status # -> check if appliedunappliedStatistics: Posted by pabloxxl — Mon May 26, 2025 9:48 pm