Attached are two patch files for your consideration.

MesaTPPWM.patch adds support for the 3-Phase PWM function in Hostmot2
. It is necessary to use the 7i49 I believe, but also potentially
useful for a number of other motor control applications. PCW has been
hinting for a while that it would be a useful thing to have supported.
Briefly: The config parameter is "num_3p_pwmgens" and it is set such
that a value of 0 on any phase is 50% duty cycle to suit wiring to
sine functions etc. I anticipate it being used with higher-level HAL
components. (I can imagine a Hall-input trapezoidal module, an
encoder-input sinusoidal drive etc. These don't exist yet.

MesaLED just adds pins to turn on and off the LEDs on the Mesa cards.

Both have been tested on the 7i43, not at all on anything else. I have
done a trial patch-and-compile with the .patch files and it worked for
me, but this is my first time with git (or diff for that matter) so no
guarantees.

-- 
atp

Attachment: MesaLED.patch
Description: Binary data

Attachment: MesaTPPWM.patch
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to