Hi:
I need to do this:
- Count quadrature shaft encoder signal with max frequency (for a single phase) of about 90kHz.
- Output a 16 bit word where each of the 16 bits changes state at some specific angle of the shaft encoder. There could potentially be an arbitrary number of state changes per bit per revolution, so there would be a list of angles at which to go high or low for each bit. But the list is unlikely to be more than 3-4 in length.
- However, the word pattern from one revolution to the next might not be the same, but would repeat after N revolutions. So there is not only a list of angles to flip bits within each revolution, but a new list for each revolution.
- On 1-4 of the 16 output bits, the angular event should trigger a time-domain pulse width sequence, with up to at least 4 pulses with adjustable widths and separations. At least 1us resolution and jitter, preferrably