Reply To: What is the maximum scan rate on a digital pin?

Forums Forums Xcelerator Blocks What is the maximum scan rate on a digital pin? Reply To: What is the maximum scan rate on a digital pin?

#2302
Steve
Participant

A rate of 30 microseconds is actually quite slow compared to the hardware speed. It corresponds to a frequency of 33 KHz, while the base clock frequency is 16 MHz. This would allow about 480 clocks between timestamp events which is a long time in hardware. Beyond that, the XB logic can be run at a faster clock rate. The OpenXLR8 module also receives both a 32 MHz and a 64 MHz clock as well which could be used to run the logic even faster.

In fact, OpenXLR8 includes a method to specify additional clocks at faster or slower rate, by modifying one extra file during the OpenXLR8 flow. This would allow one to run at an even faster rate of 128MHz or even faster. We’ll be publishing a new video soon that explains how to take advantage of this.