for sound output which connects on
GPIO18, GPIO19 and GPIO21
Immediately the Particle Agent is installed the sound stops - no reboot required
I’ve tested on Raspberry Pi Zero and 3
Do you guys have a solution to either disabling Particle Agent from taking over pins? - or returning pins to OS control? - I suspect the later may be the route to immediate solution
Regards
Julian
rm /var/lib/particle/devices/xxxxxxxxxxxxxxxxxxxxxxx/firmware.bin
sudo reboot
sudo particle-agent status
Shows service is running
speaker-test -c2
Sound working
What does this prove? - the Particle Agent is not part of this problem - the problem is entirely in the firmware image - in the initialization code - as soon as the firmware runs - it kills the I2S - stopping the firmware and the agent - doesn’t fix it - rebooting - and not running the firmware - but running the agent - “fixes” the problem
Also copying the firmware.bin file back immediately kills the I2S as the Particle Agent notices it’s back and immediately starts it up - robust!
and I2S functionality returns - the pins will be broken any time the firmware starts - either on boot - or on flashing - so these commands should be run in setup function