Orangepi CM4 with Dac PCM5102 on PCB

Good evening
after my successful test of activating the I2S on the hat40 connector and the first test of the PCM5102 dac I decided to set up a small ultra simple sound server with LMS to power an amplifier associated with its speakers
To start I had this assembly


then I drew a small PCB to connect the PCM5102 to the hat40 as well as a connection for the fan ofthe box

And finally everything is assembled in an acrylic box found on the web

I control this small server from my smartphone
simple and efficient

1 Like

Hello, i have found this thread and would like to ask you something. In order for pcm5102 to work it needs to be also communicating on i2c? Or why is sck pin connected to i2c pin on orange pi? Or this pin is used for something else? Maybe if you know how it is configured in dts file would be helpfull. Thanks

Hello Adam369

More info here about the OPI CM4 with a custom dtb file

The PCM5102 just need a i2s bus and i put for my pcm5102a somme connection with the hat
PI0 → I2S SCK–>pin29
PI1 → I2S BCK–>pin12
PI2 → I2S LCK–>pin35
PI3 → I2S DATA–>pin40
5V → to VIN power of DAC board–>pin4
GND → to GND power of DAC board–>pin6

Hope it can help you