EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

How to use HC12's ECT as a general purpose Timer?

Started by Uwe Arends May 18, 2005
Doron,
It is now clear to me the different alternatives ECT, PIT, etc...

Thank U for clarification,
Amr

--- In 68HC12@68HC..., Doron Fael <doronf@n...> wrote:
> Amr,
>
> Most HCS12 devices are limited in this specific point you ask about
with
> the ECT (Enhanced Capture Timer):
> With the 8 channel ECT, there is a way to adjust the period of the
ECT
> automatically by hardware, over and over again, using the settings
for ECT
> Channel 7 only. In this way you shorten the ECT time-out count from
2^16
> down to your desired time-out count. This new shorter time-out is
then in
> effect also for all the rest of the ECT channels 0 - 6. Any
different
> time-out period for channels 0-6 cannot then be achieved purely in
hardware
> and must have some software to achieve and manage them after each
and every
> time-out.
>
> Assuming what you are looking for is ability to generate periodic
> interrupts with several different periods, you may have more
success with
> the following HC12 parts:
>
> 1)
> The MC9S12E128 has 3 independent timers, each with 4 channels. I
belive
> each of the 3 independent timers of the S12E128 can be programmed
using
> Timer-Channel 7 to generate a different user-defined time-out
period, for a
> total of 3 different and independent time-out periods managed
purely by
> hardware (after the initial set-up), and automatically reloaded by
hardware
> over and over again after each time-out.
> I believe the MC9S12E128 is now available for general market
customers, in
> both small and large quantities.
>
> 2)
> The new MC9S12XDP512 (the S12X family) has a PIT (Periodic
Interrupt Timer)
> unit, with 4 independent timers that can be programmed to generate
4
> different periodic interrupts all handled purely in hardware after
the
> initial setup.
> I believe the S12X devices are now only sampling to large customers
(mainly
> automotive). They should sample to general market users later on
this year.
> If you final quantities are large, you may be able to obtain a few
S12X
> samples now, otherwise, you will need to wait a few months.
>
> Hope this helps,
> Doron
> Nohau
> HC12 In-Circuit Emulators
> www.nohau.com/emul12pc.html
>
> At 08:05 23/05/2005 +0000, you wrote:
> >Hi Stephen,
> >First of all, I'd like to thank you for your detailed explanation.
> >I understand all what you mentioned in your email however I will be
> >grateful if you tell me about the advantages of using ECT.
> >
> >The Only problem I face in using ECT is that I have to adjust the
> >period by software, in continuous mode, which is done automatically
> >by hardware in some General Purpose Timers in other controllers.
> >
> >Thanx,
> >Amr >



> I believe the S12X devices are now only sampling to large customers (mainly
> automotive). They should sample to general market users later on this year.
> If you final quantities are large, you may be able to obtain a few S12X
> samples now, otherwise, you will need to wait a few months.

Elektronikladen offers the S12X T-Board, which is a special version of
the HCS12 T-Board (see http://elmicro.com/hcs12tb.html) equipped with an
9SS12XDP512, and modified oscillator. Available right now - though still
only in small qty's.

Happy S12Xing!
Oliver

Elektronikladen | ELMICRO
http://elmicro.com


Oliver,

Broken link!

Jim
www.freegeeks.net
----- Original Message -----
From: Oliver Thamm
To: 68HC12@68HC...
Sent: Monday, May 23, 2005 9:17 PM
Subject: Re: [68HC12] Re: How to use HC12's ECT as a general purpose Timer?
> I believe the S12X devices are now only sampling to large customers (mainly
> automotive). They should sample to general market users later on this year.
> If you final quantities are large, you may be able to obtain a few S12X
> samples now, otherwise, you will need to wait a few months.

Elektronikladen offers the S12X T-Board, which is a special version of
the HCS12 T-Board (see http://elmicro.com/hcs12tb.html) equipped with an
9SS12XDP512, and modified oscillator. Available right now - though still
only in small qty's.

Happy S12Xing!
Oliver

Elektronikladen | ELMICRO
http://elmicro.com
------
Yahoo! Groups Links

a.. To


Hi Jim,

strange - I just clicked on the link below and it showed up (again).
In the end, you will land at http://elmicro.com/en/hcs12tb.php but this
is an automatic redirection....

Anybody else having problems with the original link?

Thanks all!
Oliver
> Oliver,
>
> Broken link!
>
> Jim
> www.freegeeks.net
> ----- Original Message -----
> From: Oliver Thamm
> To: 68HC12@68HC...
> Sent: Monday, May 23, 2005 9:17 PM
> Subject: Re: [68HC12] Re: How to use HC12's ECT as a general purpose Timer? >
> > I believe the S12X devices are now only sampling to large customers (mainly
> > automotive). They should sample to general market users later on this year.
> > If you final quantities are large, you may be able to obtain a few S12X
> > samples now, otherwise, you will need to wait a few months.
>
> Elektronikladen offers the S12X T-Board, which is a special version of
> the HCS12 T-Board (see http://elmicro.com/hcs12tb.html) equipped with an
> 9SS12XDP512, and modified oscillator. Available right now - though still
> only in small qty's.
>
> Happy S12Xing!
> Oliver
>
> Elektronikladen | ELMICRO
> http://elmicro.com >
> ------
> Yahoo! Groups Links
>
> a.. To > Yahoo! Groups Links


I tried it as well (after Jim's message) and found it broken.

Bill

At 04:32 PM 5/23/2005, you wrote:
>Hi Jim,
>
>strange - I just clicked on the link below and it showed up (again).
>In the end, you will land at http://elmicro.com/en/hcs12tb.php but this
>is an automatic redirection....
>
>Anybody else having problems with the original link?
>
>Thanks all!
>Oliver
>




The link in your e-mail works but not from the original post (the one
missing the /en/).

Bill

At 04:32 PM 5/23/2005, you wrote:
>Hi Jim,
>
>strange - I just clicked on the link below and it showed up (again).
>In the end, you will land at http://elmicro.com/en/hcs12tb.php but this
>is an automatic redirection....
>
>Anybody else having problems with the original link?
>
>Thanks all!
>Oliver





The 2024 Embedded Online Conference