Re: [beagleboard] Time beween pulses

2016-10-20 Thread Charles Steinkuehler
On 10/20/2016 12:44 PM, TJF wrote: > > eCAP is the right module to use. > > Am Donnerstag, 20. Oktober 2016 12:22:36 UTC+2 schrieb Charles Steinkuehler: > > ... record the time it happened with up to 5 nS resolution. > > The resolution is up to 10 nS (100 MHz clock), so the maximum

Re: [beagleboard] Time beween pulses

2016-10-20 Thread TJF
eCAP is the right module to use. Am Donnerstag, 20. Oktober 2016 12:22:36 UTC+2 schrieb Charles Steinkuehler: > > ... record the time it happened with up to 5 nS resolution. > The resolution is up to 10 nS (100 MHz clock), so the maximum frequency is 50 MHz. Find a code example (C syntax) in

Re: [beagleboard] Time beween pulses

2016-10-20 Thread Charles Steinkuehler
On 10/19/2016 6:50 PM, Arthur Caio wrote: > Hello you all! > > I need to calculate hot much time it takes for an input to go from LOW to > HIGH > and then to LOW again. Basically, I want to know the period of a square wave > generated by the LM555 timer. Use an eCAP timer input pin. That's

Re: [beagleboard] Time beween pulses

2016-10-19 Thread William Hermans
Oh, and right. For all intents and purpose concerning application performance. cout with C++ and printf() in C would roughly be the same. On Wed, Oct 19, 2016 at 8:48 PM, William Hermans wrote: > Additionally, I'm not really sure if the above description I gave will be > fast

Re: [beagleboard] Time beween pulses

2016-10-19 Thread William Hermans
Additionally, I'm not really sure if the above description I gave will be fast enough, If you're very careful in how you structure your code, and making sure not to use function calls that switch back and forth between userspace / kernel space. I think it could be. However, if it is not fast

Re: [beagleboard] Time beween pulses

2016-10-19 Thread William Hermans
On Wed, Oct 19, 2016 at 4:50 PM, Arthur Caio wrote: > Hello you all! > > I need to calculate hot much time it takes for an input to go from LOW to > HIGH and then to LOW again. Basically, I want to know the period of a > square wave generated by the LM555 timer. > > I am using

[beagleboard] Time beween pulses

2016-10-19 Thread Arthur Caio
Hello you all! I need to calculate hot much time it takes for an input to go from LOW to HIGH and then to LOW again. Basically, I want to know the period of a square wave generated by the LM555 timer. I am using Qt Creator and programming in C++. I am having trouble at programming this code