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


Groups > sci.electronics.design > #494829

Re: must-read book

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups sci.electronics.design
Subject Re: must-read book
Date 2018-02-12 21:14 +0200
Organization A noiseless patient Spider
Message-ID <p5sp3j$r5d$1@dont-email.me> (permalink)
References (3 earlier) <p5qonb$7am$1@dont-email.me> <esdgC.902745$qb2.742925@fx25.am4> <JsggC.40802$BX2.14857@fx22.iad> <2IggC.819193$Gr2.558777@fx36.am4> <l4f38dtqeu4bvfqiip99a4vg0punrr2fir@4ax.com>

Show all headers | View raw


On 12.2.18 18:19, John Larkin wrote:
> 
> My embedded programmer guy is great (and he's an EE) but he is
> reluctant to make things go fast. We have a power sinewave generator
> that uses software DDS on an LPC1768 (small ARM) and I want him to run
> the IRQ/DDS at 200 KHz, which seems modest to me. We'll add a scope
> test point to the existing code and see how long it actually runs.
> 
> Most programmers have no idea, not within 50:1, how long it takes a
> block of code to run.
> 
> I've done test point analysis of Linux systems too, to see how big of
> time slices the OS steals from apps. Measuring that is about the only
> way to estimate.


On a 50 MHz Cortex-M3, a well-written interrupt service should
run at around 1us. It should be fast enough for your 200 kHz
DDS, provided that there are not too many interrupt disables
around.

On the Cortex-M3, there are instructions to provide race-free
access without interrupt disables (ldrex / strex).

-- 

-TV

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


Thread

must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 08:54 -0800
  Re: must-read book Cursitor Doom <curd@notformail.com> - 2018-02-11 17:33 +0000
    Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 11:51 -0800
      Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-11 16:52 -0500
        Re: must-read book Robert Baer <robertbaer@localnet.com> - 2018-02-15 22:58 -0800
          Re: must-read book krw@notreal.com - 2018-02-16 04:35 -0500
            Re: must-read book Robert Baer <robertbaer@localnet.com> - 2018-02-19 21:58 -0800
              Re: must-read book krw@notreal.com - 2018-02-20 16:00 -0500
              Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-21 16:14 +0000
          Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-16 08:53 -0800
            Re: must-read book Robert Baer <robertbaer@localnet.com> - 2018-02-19 22:00 -0800
      Re: must-read book Cursitor Doom <curd@notformail.com> - 2018-02-11 22:44 +0000
        Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 15:36 -0800
  Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-11 12:30 -0600
    Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 11:54 -0800
      Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-12 00:17 +0000
  Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-11 16:45 -0500
    Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-11 15:47 -0800
      Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-11 19:01 -0600
        Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 09:51 +0000
          Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-12 08:16 -0500
            Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 13:32 +0000
              Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-12 08:19 -0800
                Re: must-read book Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-02-12 11:42 -0500
                Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 17:15 +0000
                Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-12 09:40 -0800
                Re: must-read book Tom Gardner <spamjunk@blueyonder.co.uk> - 2018-02-12 19:34 +0000
                Re: must-read book John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-12 12:46 -0800
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-12 18:58 +0000
                Re: must-read book Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2018-02-12 21:14 +0200
                Re: must-read book John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-12 12:50 -0800
            Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-12 21:12 -0600
        Re: must-read book krw@notreal.com - 2018-02-13 18:08 -0500
          Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 18:34 -0500
            Re: must-read book krw@notreal.com - 2018-02-13 19:11 -0500
              Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 19:23 -0500
                Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-13 20:59 -0600
                Re: must-read book krw@notreal.com - 2018-02-13 22:21 -0500
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-20 20:31 -0500
                Re: must-read book krw@notreal.com - 2018-02-20 20:44 -0500
                Re: must-read book Clifford Heath <no.spam@please.net> - 2018-02-21 14:13 +1100
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-21 08:30 -0500
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-21 08:17 -0500
                Re: must-read book krw@notreal.com - 2018-02-21 08:27 -0500
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-21 08:53 -0500
                Re: must-read book Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-21 14:16 +0000
                Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-21 21:46 -0600
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-22 11:02 -0500
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-22 22:31 +0000
                Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-23 21:09 -0600
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-22 22:27 +0000
                Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-22 18:32 -0500
                Re: must-read book Chris <c@b.a> - 2018-02-23 14:23 +1100
                Re: must-read book Long Hair <DecadentLinuxUserNumeroUno@decadentlinuxuser.org> - 2018-02-23 04:57 +0000
                Re: must-read book Jasen Betts <jasen@xnet.co.nz> - 2018-02-21 05:48 +0000
                Re: must-read book Reinhardt Behm <rbehm@hushmail.com> - 2018-02-23 13:56 +0800
            Re: must-read book Les Cargill <lcargill99@comcast.com> - 2018-02-13 20:56 -0600
          Re: must-read book John Larkin <jjlarkin@highland_snip_technology.com> - 2018-02-13 15:37 -0800
            Re: must-read book krw@notreal.com - 2018-02-13 19:14 -0500
      Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-12 00:02 -0500
      Re: must-read book Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2018-02-13 14:11 +0000
        Re: must-read book tabbypurr@gmail.com - 2018-02-13 06:42 -0800
          Re: must-read book John Larkin <jjlarkin@highlandtechnology.com> - 2018-02-13 08:11 -0800
          Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 16:23 -0500
            Re: must-read book tabbypurr@gmail.com - 2018-02-13 14:54 -0800
              Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 18:22 -0500
                Re: must-read book tabbypurr@gmail.com - 2018-02-13 17:34 -0800
  Re: must-read book bloggs.fredbloggs.fred@gmail.com - 2018-02-11 15:37 -0800
  Re: must-read book bitrex <bitrex@de.lete.earthlink.net> - 2018-02-13 07:37 -0500

csiph-web