3 ms·
I don't think we were talking about DSP... at least when I originally replied I was making the official point that a high frequency CPU doing single-clock-cycle
by dekhn 10y ago
I don't think we were talking about DSP... at least when I originally replied I was making the official point that a high frequency CPU doing single-clock-cycle reads of GPIOs, can respond in nanoseconds. I think you are talking about something different...
The GPIOs are pins that are directly attached to the CPU. They are accessible by the CPU without requiring access to cache.
Not denying that it's hard to do on a general purpose Intel CPU with its absurdly high clock rate. But anybody with a fast oscilloscope can tell you that fast microcontrollers have that kind of response time, too (10s of ns), because ops take a clock cycle, and 100MHz = 1ns.
- revelation 10y agoThey tried this on an AM335x, a modern ARM Cortex A8 used on the BeagleBone Black for example. Clocked at 1 GHz and doing nothing else other than toggle a GPIO pin - it took 200 ns. This is for a fully integrated SoC. Merely due to various levels of interconnect within the CPU. Here is the slide for reference: http://imgur.com/a/sWyH5 http://imgur.com/a/sWyH5
- dekhn 10y agoThat's with an OS (right? You left out the necessary context), and it's not a fast processor.
- dragontamer 10y ago> 100MHz = 1ns. You've misplaced a decimal point. 1GHz == 1ns. 100MHz is 10ns.