To get a 10kHz square wave, you need to have BASE_PERIOD 5 or lower.
Then simply set up a pwmgen.
Here's a starting point for you. it may require tweaking.
# Create one PWM generator. place this line early in your hal file.
loadrt pwmgen output_type=0
# Do the computations for
Hi Jeff
To get a 10kHz square wave, you need to have BASE_PERIOD 5 or
lower. Then simply set up a pwmgen.
I guessed I need some PWM stuff, but it´s not that simple to get started
with the HAL syntax.
Here's a starting point for you.
Thank you very much.
cu
Flo
overhead or not. Just tossing the idea out there.
Greg
www.distinctperspectives.com
-Original Message-
From: Florian Rist [mailto:fr...@fs.tum.de]
Sent: Sunday, February 01, 2009 2:43 PM
To: Jeff Epler; Enhanced Machine Controller EEMC
Subject: Re: [Emc-users] 10kHz Enable Signal