Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI


Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Freescale DSPs | counting a LOT of quadrature inputs with 56F807

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

counting a LOT of quadrature inputs with 56F807 - kiha...@gmail.com - Feb 27 12:26:00 2006

Hi, I'm trying to build a board with 56F807, which can count 7 different
quadrature inputs if I use quad timers and quad decoders. But I would like to
have an option to count from more than 7 quadrature inputs.

So I programmed a 4-state (00, 01, 11, 10) finite state-machine, which takes
inputs from one of the GPIO pins, and polled at a set frequency. For example, if
the previous input was 00 and the new input is 01, it would upcount; and if the
new input is 10, it would downcount. This sounds like it should work, but
apparently it doesn't match the results from the hardware decoders. Can someone
suggest me suggestion or better solutions?

If anyone knows of any multi-axis quad counter ICs that can interface serially
(SCI, SPI, or CAN), I would like to know about it.

Thank you,
Ko Ihara

______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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

Re: counting a LOT of quadrature inputs with 56F807 - Charlie W - Feb 27 20:55:00 2006

I suggest to add a F8013 for additional 2 quadrture
decoders. Communication between F8013 and 807 can be
SPI.
 Charlie
--- kihara@kiha... wrote:

> Hi, I'm trying to build a board with 56F807, which
> can count 7 different quadrature inputs if I use
> quad timers and quad decoders. But I would like to
> have an option to count from more than 7 quadrature
> inputs.
> 
> So I programmed a 4-state (00, 01, 11, 10) finite
> state-machine, which takes inputs from one of the
> GPIO pins, and polled at a set frequency. For
> example, if the previous input was 00 and the new
> input is 01, it would upcount; and if the new input
> is 10, it would downcount. This sounds like it
> should work, but apparently it doesn't match the
> results from the hardware decoders. Can someone
> suggest me suggestion or better solutions?
> 
> If anyone knows of any multi-axis quad counter ICs
> that can interface serially (SCI, SPI, or CAN), I
> would like to know about it.
> 
> Thank you,
> Ko Ihara
>
	
______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



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