Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #466704

Re: F to bits

Subject Re: F to bits
Newsgroups sci.electronics.design
References (11 earlier) <09148598-f3bd-48ab-a6ee-7bd7a97217c9@googlegroups.com> <ojd6hm$ebt$1@dont-email.me> <0b9ae365-1a81-439d-ad63-5860986eb4e6@googlegroups.com> <ojdbvs$vd4$2@dont-email.me> <5a647735-1bd6-4716-8df2-1c6e270acb43@googlegroups.com>
From Tom Gardner <spamjunk@blueyonder.co.uk>
Message-ID <cNs6B.86428$_F5.33559@fx40.am4> (permalink)
Organization virginmedia.com
Date 2017-07-03 15:46 +0100

Show all headers | View raw


On 03/07/17 14:14, leongdentalsf@gmail.com wrote:
> On Monday, July 3, 2017 at 5:10:14 AM UTC-7, David Brown wrote:
>> On 03/07/17 13:23, edward.ming.lee@gmail.com wrote:
>>> On Monday, July 3, 2017 at 3:37:20 AM UTC-7, David Brown wrote:
>>>> On 03/07/17 06:52, John Miles, KE5FX wrote:
>>>>> On Sunday, July 2, 2017 at 7:56:19 PM UTC-7, rickman wrote:
>>>>>> You mean less or less, no?  Clearly it won't reach 1 MIPS per
>>>>>> MHz if *any* instructions you use are more than one clock.  I
>>>>>> found a large number of important instructions that are more
>>>>>> than 1 clock just as you would find with many MCUs.
>>>>>
>>>>> (Shrug) You'd have to take that up with Microchip's marketing
>>>>> department, I suppose.  These parts have long been colloquially
>>>>> referred to as "1 MIPS per MHz."  Usually this gets trotted out
>>>>> in flame wars between PIC advocates and AVR devotees.  Now that
>>>>> the same company owns both architectures, and given how archaic
>>>>> they both are, it hardly seems worth arguing about.
>>>>>
>>>>> But... given that I've implemented a 3600 bps software modem (or
>>>>>  at least the 'dem' half) on an ATmega128 without even resorting
>>>>>  to assembly, I'm sure they can be used to measure the speed of
>>>>> pretty much any motor or generator to an adequate degree of both
>>>>> accuracy and precision.  AVRs are great parts, much better than
>>>>> PICs. <g,d&r>
>>>>>
>>>>
>>>> I once made a 115 kbaud software UART on an AVR.  But I admit to
>>>> using assembly :-)  I have also seen application notes for
>>>> /software/ USB 1.0, 1.5 Mb/s, on an AVR.
>>>>
>>>> And we are talking here about measuring the frequency of a 60 Hz
>>>> clock with a 16 MHz microcontroller.  266,667 ticks per cycle.
>>>> Measure over four cycles for 1 ppm resolution.  If you have good
>>>> enough analogue parts to give a clean signal, it can be handled in
>>>> an 8-bit hardware timer.  It's peanuts.
>>>
>>> No, we are not.
>>>
>>> "Why do you think overloading will affect the frequency?  It does not
>>> take much power for zero crossings.  I beg it would not change the
>>> frequency at all.  However, it will distort the wave form and make it
>>> more triangular than sinusoidal. In other words, you need to capture
>>> the exact waveform, not just oversampling it."
>>>
>>
>> If you need to look at the waveform accurately, and not just measure the
>> frequency, then I have misunderstood the problem.  Yes, that requires a
>> good deal more effort.  Whether it needs an FPGA or not depends on the
>> sample rates you need and what you are doing with the waveform - an AVR
>> is absolutely fine for measuring power, peaks, periods, etc., but not
>> for calculating harmonics.
>
> FPGA is absolutely essential for noise and distortion measurements.  I studied line waveform with my handwired FPGA/SRAM/A2D board before.  We needed single cycle capture, not just the average of many cycles.  Perhaps 12 bits are good enough, but 16 bits are not too difficult to build.

I'm not so sure of that anymore.

I wonder whether the XMOS multicore devices might be sufficient;
they have several attributes helpful for DSP applications (MAC
operations, saturating arithmetic, many independent cores etc).

They appear to be commercially successful in markets based on
DSP, e.g. USB high resolution audio and "intelligent" microphone
arrays.

XMOS also has a decent comms/programming language, environment
and dev tools.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

F to bits David Lesher <wb8foz@panix.com> - 2017-07-02 03:13 +0000
  Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-01 20:27 -0700
    Re: F to bits David Lesher <wb8foz@panix.com> - 2017-07-02 05:21 +0000
      Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 07:36 -0700
  Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-01 22:34 -0700
    Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 07:55 -0700
      Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 11:44 -0400
        Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 08:51 -0700
          Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 12:00 -0400
            Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 10:20 -0700
              Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 13:52 -0400
      Re: F to bits Neon John <no@never.com> - 2017-07-02 13:41 -0400
      Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 11:22 -0700
      Re: F to bits "John Miles, KE5FX" <jmiles@gmail.com> - 2017-07-02 12:55 -0700
        Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 13:12 -0700
          Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 13:27 -0700
          Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 14:18 -0700
            Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 14:37 -0700
              Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 14:44 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 14:48 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 15:44 -0700
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 16:23 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 16:26 -0700
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 16:36 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 16:44 -0700
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 17:13 -0700
                Re: F to bits krw@notreal.com - 2017-07-02 19:53 -0400
                Re: F to bits Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-07-03 10:30 +0300
                Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-03 09:44 -0700
                Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-03 09:50 -0700
                Re: F to bits Jasen Betts <jasen@xnet.co.nz> - 2017-07-04 05:18 +0000
              Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-03 00:44 -0500
            Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-03 00:42 -0500
            Re: F to bits Jasen Betts <jasen@xnet.co.nz> - 2017-07-04 05:11 +0000
        Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 19:32 -0400
          Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 16:40 -0700
            Re: F to bits klaus.kragelund@gmail.com - 2017-07-02 16:45 -0700
            Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 19:55 -0400
              Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-02 17:07 -0700
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 20:30 -0400
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 17:39 -0700
                Re: F to bits klaus.kragelund@gmail.com - 2017-07-02 18:09 -0700
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 18:45 -0700
                Re: F to bits "John Miles, KE5FX" <jmiles@gmail.com> - 2017-07-02 17:49 -0700
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-02 22:56 -0400
                Re: F to bits "John Miles, KE5FX" <jmiles@gmail.com> - 2017-07-02 21:52 -0700
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-03 01:38 -0400
                Re: F to bits David Brown <david.brown@hesbynett.no> - 2017-07-03 12:37 +0200
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-03 04:23 -0700
                Re: F to bits David Brown <david.brown@hesbynett.no> - 2017-07-03 14:10 +0200
                Re: F to bits leongdentalsf@gmail.com - 2017-07-03 06:14 -0700
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 15:46 +0100
                Re: F to bits edward.ming.lee@gmail.com - 2017-07-03 08:24 -0700
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 17:12 +0100
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-03 12:50 -0400
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 18:36 +0100
                Re: F to bits rickman <gnuarm@gmail.com> - 2017-07-05 02:01 -0400
                Re: F to bits Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-07-03 09:30 -0700
                Re: F to bits Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-07-03 12:32 +0100
    Re: F to bits David Lesher <wb8foz@panix.com> - 2017-07-03 00:54 +0000
      Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 18:14 -0700
        Re: F to bits David Lesher <wb8foz@panix.com> - 2017-07-03 02:33 +0000
          Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 21:29 -0700
          Re: F to bits edward.ming.lee@gmail.com - 2017-07-02 22:46 -0700
  Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-02 12:40 -0500
    Re: F to bits Don Y <blockedofcourse@foo.invalid> - 2017-07-02 11:38 -0700
      Re: F to bits Les Cargill <lcargill99@comcast.com> - 2017-07-03 00:51 -0500

csiph-web