Forums

Trigger ADC by the decoder

Started by elowe_spsy May 14, 2003
With the 56f803, is there a way to trigger the ADC on the inputs
to the decoder ?

I want to set it up so that it does an A to D on each pulse of
a 2 phase shaft encoder.



RE: [motoroladsp] Trigger ADC by the decoder

For a hardware solution, the hardware input to timer C0 or C1 can be used to trigger the sync output of timer C2 to cause a conversion to start.  external circuitry would be needed to connect that input to the decoder signals.

Hope that helps.

Jerry.

> -----Original Message-----
> From: elowe_spsy [mailto:e...@spsy.com]
> Sent: Wednesday, May 14, 2003 8:00 AM
> To: m...@yahoogroups.com
> Subject: [motoroladsp] Trigger ADC by the decoder
>
>
> With the 56f803, is there a way to trigger the ADC on the inputs
> to the decoder ?
>
> I want to set it up so that it does an A to D on each pulse of
> a 2 phase shaft encoder.
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Rent DVDs from home.
> Over 14,500 titles. Free Shipping
> & No Late Fees. Try Netflix for FREE!
> http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/PNArlB/TM
> --------------------------
> -------~->
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only
> the author of this message will receive your answer.  You
> need to do a "reply all" if you want your answer to be
> distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join:  m...@yahoogroups.com
>
> To Post:  m...@yahoogroups.com
>
> To Leave: m...@yahoogroups.com
>
> Archives: http://www.yahoogroups.com/group/motoroladsp
>
> More Groups: http://www.dsprelated.com/groups.php3

>
> " TARGET="_blank">http://docs.yahoo.com/info/terms/



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information visit http://www.messagelabs.com
________________________________________________________________________


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information visit http://www.messagelabs.com
________________________________________________________________________
You should be able to enable the A/D zero-crossing interrupt along
with the ADC offset register to get generate an interrupt when any one
of your encoder lines crosses 'zero' between the logic states.

--david --- In , "elowe_spsy" <elowe@s...> wrote:
> With the 56f803, is there a way to trigger the ADC on the inputs
> to the decoder ?
>
> I want to set it up so that it does an A to D on each pulse of
> a 2 phase shaft encoder.