On 1/26/2014 12:11 PM, Peter C. Wallace wrote:
> 
> I would simplify the index logic to this:
> 
> Always latch the current count on index (probably rising) edge
> and provide the latched count to the driver. Have a (clearable) bit
> that indicates the index was latched.

Thanks!  That makes sense and really helps.

<snip>

> main things missing:
> 
> index polarity, AB gating of index, input filtering

I can do signal polarity for all encoder inputs in one XOR instruction,
so I'll have that.  I was thinking of adding input filtering, since I am
hopeful that I can get the encoder software taking less than 1 uS per
loop, and I think I can implement it with a few instructions per signal
(10-20 nS extra per bit) and have minimal overhead when disabled.

The AB gating logic is out, if you don't think it's required.  That
makes things a *LOT* easier.  :)

-- 
Charles Steinkuehler
[email protected]

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to