I’m trying to generate separate PWM signals on multiple Pmod pins.
I don’t think that the library is meant to support this scenario as I can only reliably get a PWM signal on a single pin. Do you know of any workaround for this ?
This is my naive attempt:
from pynq.lib import Pmod_PWM
pwm = Pmod_PWM(base.PMODA,0)
pwm2 = Pmod_PWM(base.PMODA,1)
It seems like Pmod_PWM re-inits the whole Pmod module and the configuration before that is lost.
To sum it up I’m trying to generate 3 individual PWM signals on PmodA pins (for example 1,2,3) following the example from /base/pmod/pmod_pwm.ipynb .
Using the Pynq-Z1 board with the prebuilt 2.6.1 SDCard image from the site.