I’m looking at using the PWM from the TinyG to control a laser. I have read the different configuration options from the wiki.
From what I understand you set the min/max phase and min/max rpm values. Can I correctly assume that the RPM range (max-min) is linearly mapped to the phase range (max-min) ? I would assume using something like so:
phase = (phase_max – phase_min)*(rmp – rpm_min) / (rpm_max – rpm_min) + phase_min
This will essentially give me my duty cycle. I can then set the switching frequency in the configs. I’m assuming the the switching based on the duty cycle will run at that frequency ?
What is the maximum supported frequency ? Are there any other non typical behavior ?
Thanks,