I have been making good progress with learning and using libpruio, but I’ve hit a question I’ve been unable to work out for myself.
I’ve successfully started PWM signals using pruio_pwm_setValue(), but I’m having an issue turning those same PWM signals off when I’m done with them. I’ve tried using setValue() again with zero values for frequency and/or duty cycle, and my DMM (which can measure such things) is reporting zero frequency and duty cycle, but it is also measuring a constant 3v3 output on that header pin. Effectively a 100% duty cycle, which my DMM would actually report as zero frequency and duty cycle.
Is there anything I’m missing here, or are there better ways to turn off the PWM signal in libpruio?
FYI, I have a Beaglebone Black, Linux 4.14, Debian 6.3, but I’ve noticed more libpruio discussion on his board. I can also post any additional information needed.