[EMAIL PROTECTED] wrote: > While it got lost in the exchange of emails, I was really most concerned > about > the stepper motors not working, and figured the problem with the pwm might be > related. If I set the power level to 50%, or almost any other non-zero value, > my > meter reads about 3.3 volts. I know that can't be right because at 3.3 volts > or > 98% duty cycle, the laser should be full on and it is at more like 10%. > > If I use the original m5i20 driver, the laser (pwm) responds correctly, so > the > wiring sure seems to be correct.
Yep if m5i20 works and hm2_5i20 doesn't, that's pretty conclusive :-) I dont think the pwmgen and stepgen problems are related. > BTW, what is the frequency of the PWM? The laser accepts 5-25Khz. Currently it's about 12 KHz, I think. Peter, does this sound right? It's a 5i20 so ClockHigh is 50 MHz; I set PWMGen Master Rate DDS to 65535; therefore PWM Clock should be 50 MHz too. I've hardcoded 12-bit PWM resolution for now (bottom two bits of PWM Mode are 11) so PWM rate should be 50e6/2^12 = 12207 Hz. > Here are the things posted to pastebin requested in the prior email: > > Show all: > http://pastebin.com/m6ab8b073 Thanks, this really helps. It shows that the stepgen.enable pins are set to FALSE, thus disabling the stepgen outputs. I added the .enable pin fairly recently. Try adding them to your Xen and Yen nets. > Dmesg: > http://pastebin.com/m1478cde5 Again the hm2 log messages are all missing. EMC ini gurus, is there a way to set the RTAPI debug level from an ini file? Or should I be using RTAPI_MSG_ERROR for all my output? ;-) -- Sebastian Kuzminsky Theo: "Julian? I haven't seen you in twenty years. You look good. The picture the police have of you doesn't do you justice." Julian: "What do the police know about justice?" ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users