Hi JoeKumanchik,
KFLOP has 8 PWM Generators on JP6. See the PWM1KHZ.c example:
Code:#include "KMotionDef.h" main() { SetBitDirection(26,1); // define bit as an output FPGA(IO_PWMS_PRESCALE) = 65; // divide clock by 65 (1 KHz) FPGA(IO_PWMS) = 128; // square wave FPGA(IO_PWMS+1) = 1; // Enable }
to test whether you can control desired speeds. The value of 128 sets the duty cycle to 50%
HTH
Regards