On Tue, 9 Sep 2008, Eric H. Johnson wrote: > Date: Tue, 9 Sep 2008 20:28:21 -0400 > From: Eric H. Johnson <[EMAIL PROTECTED]> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] Another problem with Hostmot2 and m5i20 > > Sebastian et al, > > I had just got the stepper outputs working before I went on vacation and am > just now getting back to it. I am using Hostmot2, the m5i20 board and > SVST8_4 configuration, configured for 2 steppers, 1 pwm and no encoders. I > am also using just the patch applied to the most recent binary packages, I > have not rebuilt from the latest source. > > It looks like I am now having a problem with the PWM output and hope I am > just doing something stupid. > > With the standard m5i20 configuration, all I had to do was to assert the > enable and set the value for the selected PWM. When I do this with the > hostmot2 configuration, I get no output on the associated pin (pin 15 for > PWM 0). > > If I use the standard m5i20 configuration the output works correctly. > > Any ideas?
Sebastian is probably the one to ask, but, did you have the driver enable the PWM0? Not the HAL enable but the driver PWM generator count If the PWM pin is still an input (ground with a 300 ohm or so resistor to test), then the drive did not enable the GPIO pin as a PWM output > > Thanks, > Eric > > > ------------------------------------------------------------------------- > 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 > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------- 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