Hi,
about ARDUINO PORTENTA MACHINE CONTROL it seems that all digital output pins with PWM features are connected to opamp for (0-10V) analog conversion.
from (Arduino_MachineControls) library, some instruction about digital output pins:
digital_outputs.set(pin, HIGH/LOW) pin 0-7
digital_programmables.set(pin, HIGH/LOW) pin 0-11
It seems that digital output pins (0-24V) can be set high/low level but no library instruction for PWM signal or pulse control on that pins, and not found documents or links for that.
Hope it is possibile to arrange pulse width modulation signal 0-24V on digital pins, like analogwrite(), tone() instruction or accelstepper library used for Arduino UNO or MEGA.
If not it will be a great limitation for a board with such performance, limiting the use for PWM control or stepper motor drive control.
If any suggestion or reference, please share.
Thanks!
Good to know, that other people have exactly the same problems.
I tried to generate PWM with the digital output pins with this library Portenta_H7_Slow_PWM which works a bit. I had to adjust the arduino functions to the machine control environment. But sadly its to "slow" for my plans. So i need the real PWM functionality and tried to convert Portenta_H7_PWM to work with Machine Control. I think the problem lies there and the digitalwrite is used somewhere but doesn't work for machine control.
Did you get it working? Or has someone an idea?
Thanks!