Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Pi with PhatDac and pigpio
#5
I've never explored the PCM/PWM capabilities of the RPi boards at the GPIO-pin level, but is it possible you have a collision in GPIO pin usage here? The pHAT DAC apparently interfaces through the physical* pins 2, 12, and 40, which are +5V, BCM 18, and BCM 21. These BCM pins are mapped into I2S usage through the kernel device-tree overlay invoked in the /boot/config.txt file (e.g., dtparam=i2s=on).

I'm wondering if your application might also be exercising BCM 18 and/or BCM 21. (See https://pinout.xyz/pinout/phat_dac and click through the pins to see their alternative uses).

Perhaps this could be avoided by using the  -x mask option described in http://abyz.me.uk/rpi/pigpio/pigpiod.html?

Regards,
Kent

*not to be confused with WiringPi pin numbers.
Reply


Messages In This Thread
Pi with PhatDac and pigpio - by itsme - 10-08-2019, 10:08 PM
RE: Pi with PhatDac and pigpio - by Tim Curtis - 10-08-2019, 11:27 PM
RE: Pi with PhatDac and pigpio - by itsme - 10-09-2019, 11:48 AM
RE: Pi with PhatDac and pigpio - by Tim Curtis - 10-09-2019, 12:10 PM
RE: Pi with PhatDac and pigpio - by TheOldPresbyope - 10-09-2019, 06:58 PM
RE: Pi with PhatDac and pigpio - by itsme - 10-10-2019, 09:15 PM

Forum Jump: