I have a stepper motor(with STR2 Step Motor Drive) which needs npn sinking signal to operate. dsPIC33EP512mu810 is capable of generating high resolution pwm. However, the PWM signal can only turn on a LED but not the motor.
It works if I manully switch a pin on and off with some delay to operate the motor. I've searched through data sheet and app notes but PWM output type is not mentioned. Any suggestion on PWM signal type and how to convert PWM into npn sinking signal?