Page 1 of 1

Set PWM Frequency for VINT Hub?

Posted: Wed Mar 31, 2021 1:15 pm
by daclmc
In the specifications for the VINT hub PWM output, it says "PWM Frequency Max" 50 kHz, this implies that the frequency is variable- but how can I set it? I do not find any API function for setting the frequency- Is it possible?

I have a device that is controlled with a PWM signal, but max frequency it can accept is only 400 Hz.

Re: Set PWM Frequency for VINT Hub?

Posted: Wed Mar 31, 2021 3:01 pm
by fraser
The frequency is Variable but not in a controllable way. We vary the frequency depending on the Duty Cycle, in order to maintain ideal high/low times for the whole range of duty cycles. The spec is there to say it won't by more than 50kHz, but could be less, and is only applicable when the duty cycle is neither 0 nor 1.