Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | frequence of PWM

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

frequence of PWM - Antonio - Apr 23 11:27:19 2008

Hi to everybody,

i'm using RCM3700 for generate a PWM signal.
I can produce a frequence of 10 KHz at the moment and it's seems to
be the maximum rate.

I must send that signal to a step-up and i need a rate of 27 kHz.
I'm reading that RCM3000 use Timer A9 for producing a pwm signal.

Did is it possible to step up rate?How?

Can you link me a manual where i can find all functions for develope
software for rcm?

Thanks
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: frequence of PWM - mehiegl - Apr 24 7:13:58 2008

Look at the R3000.LIB functions pwm_init() and pwm_set() functions. I
assume you are already using these to get the 10kHz signal (it should
be 10.8 kHz to be precise). The pwm_set function allows you to enable
the spreading function in the pwm. The online help explains how to use
the functions.

The behavior of the spreading function are explained in the R3000 users
manual. It effectively increases the frequency by a factor of 4, and
reduces the resolution by a factor of 4, but not exactly. Look for
R3000UM.PDF in the directory where DC is installed, or download it from
the Rabbit website. Find the section on PWM, 7.12.

Mark

--- In r...@yahoogroups.com, "Antonio" wrote:
>
> Hi to everybody,
>
> i'm using RCM3700 for generate a PWM signal.
> I can produce a frequence of 10 KHz at the moment and it's seems to
> be the maximum rate.
>
> I must send that signal to a step-up and i need a rate of 27 kHz.
> I'm reading that RCM3000 use Timer A9 for producing a pwm signal.
>
> Did is it possible to step up rate?How?
>
> Can you link me a manual where i can find all functions for develope
> software for rcm?
>
> Thanks
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: frequence of PWM - Antonio Parziale - Apr 28 4:31:11 2008

Hi Mark,
thank you for your reply.

I saw 7.12 section about PWM.
I have a doubt about spread signal.
It is produced with a (frequence x 4) over a single pwm channel or It is needed to combine (may be sum?) signals produced by four pwm channels?

Thank
Antonio

----- Original Message -----
From: mehiegl
To: r...@yahoogroups.com
Sent: Thursday, April 24, 2008 1:13 PM
Subject: [rabbit-semi] Re: frequence of PWM
Look at the R3000.LIB functions pwm_init() and pwm_set() functions. I
assume you are already using these to get the 10kHz signal (it should
be 10.8 kHz to be precise). The pwm_set function allows you to enable
the spreading function in the pwm. The online help explains how to use
the functions.

The behavior of the spreading function are explained in the R3000 users
manual. It effectively increases the frequency by a factor of 4, and
reduces the resolution by a factor of 4, but not exactly. Look for
R3000UM.PDF in the directory where DC is installed, or download it from
the Rabbit website. Find the section on PWM, 7.12.

Mark

--- In r...@yahoogroups.com, "Antonio" wrote:
>
> Hi to everybody,
>
> i'm using RCM3700 for generate a PWM signal.
> I can produce a frequence of 10 KHz at the moment and it's seems to
> be the maximum rate.
>
> I must send that signal to a step-up and i need a rate of 27 kHz.
> I'm reading that RCM3000 use Timer A9 for producing a pwm signal.
>
> Did is it possible to step up rate?How?
>
> Can you link me a manual where i can find all functions for develope
> software for rcm?
>
> Thanks
>

------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.3/1391 - Release Date: 22/04/2008 8.15



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: frequence of PWM - mehiegl - Apr 28 9:00:46 2008

I've never actually used this feature, and I don't have the hardware
available to me right now to verify it. My understanding is that the
individual PWM channel output is broken down into four segments,
effectively multiplying the frequency by four, but reducing the
effective resolution in each of the four segments to 8 bits.

--- In r...@yahoogroups.com, "Antonio Parziale"
wrote:
>
> Hi Mark,
> thank you for your reply.
>
> I saw 7.12 section about PWM.
> I have a doubt about spread signal.
> It is produced with a (frequence x 4) over a single pwm channel or
It is needed to combine (may be sum?) signals produced by four pwm
channels?
>
> Thank
> Antonio
>
> ----- Original Message -----
> From: mehiegl
> To: r...@yahoogroups.com
> Sent: Thursday, April 24, 2008 1:13 PM
> Subject: [rabbit-semi] Re: frequence of PWM
> Look at the R3000.LIB functions pwm_init() and pwm_set()
functions. I
> assume you are already using these to get the 10kHz signal (it
should
> be 10.8 kHz to be precise). The pwm_set function allows you to
enable
> the spreading function in the pwm. The online help explains how
to use
> the functions.
>
> The behavior of the spreading function are explained in the R3000
users
> manual. It effectively increases the frequency by a factor of 4,
and
> reduces the resolution by a factor of 4, but not exactly. Look
for
> R3000UM.PDF in the directory where DC is installed, or download
it from
> the Rabbit website. Find the section on PWM, 7.12.
>
> Mark
>
> --- In r...@yahoogroups.com, "Antonio"
wrote:
> >
> > Hi to everybody,
> >
> > i'm using RCM3700 for generate a PWM signal.
> > I can produce a frequence of 10 KHz at the moment and it's
seems to
> > be the maximum rate.
> >
> > I must send that signal to a step-up and i need a rate of 27
kHz.
> > I'm reading that RCM3000 use Timer A9 for producing a pwm
signal.
> >
> > Did is it possible to step up rate?How?
> >
> > Can you link me a manual where i can find all functions for
develope
> > software for rcm?
> >
> > Thanks
> >
> --------------------------------------------------------------------
----------
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 269.23.3/1391 - Release Date:
22/04/2008 8.15
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )