Re: [time-nuts] precision timing pulse

2016-11-17 Thread Gerhard Hoffmann
Am 18.11.2016 um 02:18 schrieb Bob Camp: If you head of into ARM land (or even FPGA’s) there is a bit of a gotcha. If you want to run a 10 MHz input and a PPS output, you need a counter with at least 24 bits. The peripherals on ARM chips are all over the place. Some have very fancy timers, but

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Bob Camp
Hi If you head of into ARM land (or even FPGA’s) there is a bit of a gotcha. If you want to run a 10 MHz input and a PPS output, you need a counter with at least 24 bits. The peripherals on ARM chips are all over the place. Some have very fancy timers, but only go to 16 bits. Some have 32 bit

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Adrian Godwin
anything in the datasheet. > > > > > > -=Bryan=- > > > > > > > > From: time-nuts <time-nuts-boun...@febo.com> on behalf of Tom Van Baak > <t...@leapsecond.com> > > Sent: November 16, 2016 3:27 PM > >

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Bryan _
> > From: time-nuts <time-nuts-boun...@febo.com> on behalf of Tom Van Baak > <t...@leapsecond.com> > Sent: November 16, 2016 3:27 PM > To: Discussion of precise time and frequency measurement > Subject: Re: [time-nuts] precision timing pu

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Chris Albertson
On Wed, Nov 16, 2016 at 8:52 PM, jimlux wrote: > On 11/16/16 7:17 PM, Hal Murray wrote: > >> >> t...@leapsecond.com said: >> >>> Arduino probably uses compiled code, external libraries, and interrupts >>> so >>> that also is a no-no for precise time. >>> >> >> There are two

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Chris Albertson
For counting and timing the ARM has hardware counbter/timmer that is made with logic gates so you don't need software or to disable interrupts. Most modern uP has loads and loads of peripheral hardware built-in. With the ARM there is a lot more of these peripheral devices than there are pins on

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Tom Van Baak
asurement" <time-nuts@febo.com> Sent: Thursday, November 17, 2016 1:26 PM Subject: Re: [time-nuts] precision timing pulse > Tom: > > > As you were gracious to release the source code for these excellent little > dividers, I would suspect someone who is somewhat fluen

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Bob Camp
> From: time-nuts <time-nuts-boun...@febo.com> on behalf of Tom Van Baak > <t...@leapsecond.com> > Sent: November 16, 2016 3:27 PM > To: Discussion of precise time and frequency measurement > Subject: Re: [time-nuts] precision timing pulse > >

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Bryan _
to find anything in the datasheet. -=Bryan=- From: time-nuts <time-nuts-boun...@febo.com> on behalf of Tom Van Baak <t...@leapsecond.com> Sent: November 16, 2016 3:27 PM To: Discussion of precise time and frequency measurement Subject: Re: [time-nut

Re: [time-nuts] precision timing pulse

2016-11-17 Thread David
On Wed, 16 Nov 2016 11:14:59 -0800, you wrote: >albertson.ch...@gmail.com said: >> I'm wondering why everyone seems to be assuming a PIC is the right processor > >If you want cycle-accurate timing, one approach is to count cycles. If you >have an assembly level background, the PIC is as good as

Re: [time-nuts] precision timing pulse

2016-11-17 Thread jimlux
On 11/17/16 4:45 AM, Bob Camp wrote: Hi On Nov 16, 2016, at 11:52 PM, jimlux wrote: On 11/16/16 7:17 PM, Hal Murray wrote: t...@leapsecond.com said: Arduino probably uses compiled code, external libraries, and interrupts so that also is a no-no for precise time.

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Attila Kinali
On Wed, 16 Nov 2016 20:47:52 -0800 jimlux wrote: > The BeagleBoard Black is a bigger, more capable example.. You can > actually run a *nix on it, but has device drivers and such for lots of > GPIO and timers. And additionally has two PRU units, which are basically uC's

Re: [time-nuts] precision timing pulse

2016-11-17 Thread Bob Camp
Hi > On Nov 16, 2016, at 11:52 PM, jimlux wrote: > > On 11/16/16 7:17 PM, Hal Murray wrote: >> >> t...@leapsecond.com said: >>> Arduino probably uses compiled code, external libraries, and interrupts so >>> that also is a no-no for precise time. >> >> There are two

Re: [time-nuts] precision timing pulse

2016-11-16 Thread jimlux
On 11/16/16 7:17 PM, Hal Murray wrote: t...@leapsecond.com said: Arduino probably uses compiled code, external libraries, and interrupts so that also is a no-no for precise time. There are two parts to the Arduino ecosystem. One is low cost hardware. The other is a software package that is

Re: [time-nuts] precision timing pulse

2016-11-16 Thread jimlux
On 11/16/16 1:03 PM, Hal Murray wrote: ch...@chriscaudle.org said: but once you get to most of the ARM processors it is harder to make them deterministic because of caches. There are many ARM SOC chips that are half way between an Arduino and a Raspberry Pi. They have GPIO and various serial

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Hal Murray
t...@leapsecond.com said: > Arduino probably uses compiled code, external libraries, and interrupts so > that also is a no-no for precise time. There are two parts to the Arduino ecosystem. One is low cost hardware. The other is a software package that is easy for non-wizards to use. I'd be

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Chris Albertson
On Wed, Nov 16, 2016 at 1:03 PM, Hal Murray wrote: > ch...@chriscaudle.org said: > > but once you get to most of the ARM processors it is harder to make them > > deterministic because of caches. > > There are many ARM SOC chips that are half way between an Arduino and a

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Tom Van Baak
Chris & Chris, Yes the "TVB dividers" are instruction loops where every cycle is counted by hand, and then verified with a simulator, and then checked with a time interval counter. All the code is out there at www.leapsecond.com/pic/ I use PIC's for historical and technical reasons. Modern

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Hal Murray
ch...@chriscaudle.org said: > but once you get to most of the ARM processors it is harder to make them > deterministic because of caches. There are many ARM SOC chips that are half way between an Arduino and a Raspberry Pi. They have GPIO and various serial ports and counter/timers. They

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Bob Stewart
ement <time-nuts@febo.com> Cc: hmur...@megapathdsl.net Sent: Wednesday, November 16, 2016 1:14 PM Subject: Re: [time-nuts] precision timing pulse albertson.ch...@gmail.com said: > I'm wondering why everyone seems to be assuming a PIC is the right processor If you want cycle-accu

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Chris Caudle
On Wed, November 16, 2016 10:17 am, Chris Albertson wrote: > I'm wondering why everyone seems to be assuming a PIC is the right > processor. You could use AVR (arduino), but once you get to most of the ARM processors it is harder to make them deterministic because of caches. You want a processor

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Hal Murray
albertson.ch...@gmail.com said: > I'm wondering why everyone seems to be assuming a PIC is the right processor If you want cycle-accurate timing, one approach is to count cycles. If you have an assembly level background, the PIC is as good as any small chip. Yes, it's a pain to get started

Re: [time-nuts] precision timing pulse

2016-11-16 Thread Chris Albertson
I'm wondering why everyone seems to be assuming a PIC is the right processor. Of course it could work for this but I'd select whatever is the easiest to program and debug. Those tend to the they little single board development systems that sell for under $10. They typically have USB

Re: [time-nuts] precision timing pulse

2016-11-15 Thread David G. McGaw
The PIC can easily be programmed to be armed with a switch and stop at a particular count, or you can use actual logic - debouncer, gating flip-flop and programmable counter! David N1HAC On 11/15/16 1:57 PM, Chuck / Judy Burch wrote: I'm building a laboratory scintillation counter that

Re: [time-nuts] precision timing pulse

2016-11-15 Thread paul swed
t; > > > > > > > From: time-nuts <time-nuts-boun...@febo.com> on behalf of Hal Murray < > > hmur...@megapathdsl.net> > > Sent: November 15, 2016 12:17 PM > > To: Discussion of precise time and frequency measurement > &g

Re: [time-nuts] precision timing pulse

2016-11-15 Thread paul swed
I'll add my 10 cents here. Because the accumulation time can be very long 555 class timers become a serious issue due to the large R involved. I will guess some accuracy is desired. As Chris says a start button to an arduino. The difference I might suggest is a GPS 1sec PP into the arduino for

Re: [time-nuts] precision timing pulse

2016-11-15 Thread Chris Albertson
picdiv.htm > > > -=Bryan=- > > > > From: time-nuts <time-nuts-boun...@febo.com> on behalf of Hal Murray < > hmur...@megapathdsl.net> > Sent: November 15, 2016 12:17 PM > To: Discussion of precise time and frequency measurement > Cc: hmur

Re: [time-nuts] precision timing pulse

2016-11-15 Thread Scott Stobbe
If you are trying to avoid writing code, the 74hc might be worth taking a look at. On Tue, Nov 15, 2016 at 3:00 PM Chuck / Judy Burch wrote: > > I'm building a laboratory scintillation counter that uses my HP 5335a > counter as a read-out. The FREQ mode gives only

Re: [time-nuts] precision timing pulse

2016-11-15 Thread Chris Albertson
So you are already using a micro controller (a PIC) then 1) for the button input use an unused pin on the PIC. Connect the pin to 5V via a 10K resister and then when you press the button it shorts the pin to ground.The PIC then starts counting. A modern uP has the 10K resister build into

Re: [time-nuts] precision timing pulse

2016-11-15 Thread Bryan _
oun...@febo.com> on behalf of Hal Murray <hmur...@megapathdsl.net> Sent: November 15, 2016 12:17 PM To: Discussion of precise time and frequency measurement Cc: hmur...@megapathdsl.net Subject: Re: [time-nuts] precision timing pulse ciandjabu...@gmail.com said: > How do I get a pulse to st

Re: [time-nuts] precision timing pulse

2016-11-15 Thread Scott McGrath
You could build a simple one shot using something like a 555 timer IC Or take a input pin from your PiC and use the RTC to drive a routine which changes state of the pin for the duration of test Content by Scott Typos by Siri > On Nov 15, 2016, at 1:57 PM, Chuck / Judy Burch

Re: [time-nuts] precision timing pulse

2016-11-15 Thread Hal Murray
ciandjabu...@gmail.com said: > How do I get a pulse to start with a push button and then stop for example > 500 or 10,000 seconds later? How about another PIC? -- These are my opinions. I hate spam. ___ time-nuts mailing list --

[time-nuts] precision timing pulse

2016-11-15 Thread Chuck / Judy Burch
I'm building a laboratory scintillation counter that uses my HP 5335a counter as a read-out. The FREQ mode gives only approximate results (maximum gate time is about 5 seconds). The TOT mode counts pulses for an arbitrary time that can be set using the "external arm input" on the rear