Quote Originally Posted by lanyong View Post
movff two cycles.

so 13bit 610Hz is easy.
14bit 610Hz is hard
I agree, movff could set 8-outputs, using 2 cycles.
The other 8-outputs would take another 2 cycles, for a total of 4.

With a PICrunning at 40Mhz, that would take 0.4 µS.
At 14-bit resolution there are 16384 divisions of the period, so 0.4µS * 16384 = 0.0065536 Sec. for the entire BAM cycle.

Which means that the MAXIMUM refresh rate for 16 channels of 14-bit BAM is 152.5 HZ (1 / 0.0065536).
At 13-bit resolution, the MAX refresh is 305.1 Hz (1 / 0.0032768).

So I reiterate ....

16 channels of 14-bit BAM, at 610Hz ... IS IMPOSSIBLE.
<br>