I've been building up a Raspberry Pi Zero handheld games console. But when adding the sound circuits the system would crash every time it tried to play a sound. Testing each part individually worked, but when put together the console would not run.
It turned out that the software I was using to implement the GPIO game controller (GPIONext) was clashing with the audio functions on the GPIO header.
The solution was to restrict the GPIONext code to only tamper with the pins used for the controller and to leave the rest alone!
GPIONext commands
Run the config utility with restricted pins :-
sudo python3 /home/pi/GPIOnext/config_manager.py --pins 3,5,7,8,10,11,13,15,29,31,32,33
Restrict the driver daemon to the controller pins :-
gpionext set pins 3,5,7,8,10,11,13,15,29,31,32,33
gpionext reload
Make sure you check out my project pages at
bytesnbits.co....
Негізгі бет Fix Raspberry Pi Zero Sound Not Working - GPIONext pin clash!
Пікірлер: 25