CM3-Home technical documentation Buy
Audio section
The CM3-Home uses an audio section electrically similar to the Raspberry Pi 3 but using
different GPIO lines. This article explains how to configure your Raspbian distribution to
be compatible with this hardware. Making a little change on the config.txt file all the other
behaviour is the same as with Raspberry Pi 3.

config.txt configuration
Add this two lines on config.txt file the reboot:
# Set the CM3-Home audio lines
dtoverlay=pwm-2chan,pin=40,func=4,pin2=41,func2=4
How to try the audio out
Install omxpayer by typing:
sudo apt-get update
sudo apt-get install omxplayer
Download this two audio files:
wget https://www.acmesystems.it/cm3home/CM3-HOME_audio/speaker_test.m4a
Launch it:
omxplayer -o local speaker_test.m4a
Home page CM3-Home technical documentation Buy