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


Groups > sci.electronics.design > #484568

Re: Signals and Systems for Dummies

From Tauno Voipio <tauno.voipio@notused.fi.invalid>
Newsgroups sci.electronics.design
Subject Re: Signals and Systems for Dummies
Date 2017-11-08 21:19 +0200
Organization A noiseless patient Spider
Message-ID <otvlb6$h8o$1@dont-email.me> (permalink)
References (6 earlier) <M62dnZax-Lmt2nPEnZ2dnUU7-TWdnZ2d@supernews.com> <87she6b61a.fsf@devereux.me.uk> <BJqdnR9-p59Xa2zEnZ2dnUU7-K_NnZ2d@supernews.com> <58tIB.24228$463.12010@fx13.iad> <a39f95c5-e794-469b-b2e0-51a885981e03@googlegroups.com>

Show all headers | View raw


On 27.10.17 02:03, pcdhobbs@gmail.com wrote:
>> Isn't "half-full" effectively the same as ping-pong in hardware?
>> AIUI, the STM32 ping-pong DMA automatically switches buffers,
>> giving you an interrupt to say it did (the "half-full" indication).
> 
> Nice that they've caught up with 1990 tech there. ;)
> 
> A few years back I had a good look at the STM32s, but the libraries were so horrible that I went back to NXP with my tail between my legs.
> 
> It looks like the LPC176x DMA's scatter/gather support can be used to make H/W controlled ring buffers, but we'll see.
> 
> Cheers
> 
> Phil Hobbs


The hardware manufacturer driver libraries most often belong to
the recycle bin.

The Atmel Cortex-M3 and Cortex-M4 (maybe others, as well) have two
sets of DMA pointers and counters, and the hardware will switch the
secondary pointer and counter to primary use when the primary count
is exhausted. The hardware also gives an interrupt at the switching
moment, so that the driver may reload the secondary set for next use.

The twin pointer-counter set can be used for a circular buffer, but
other scatter-gather schemes can also be used. The interrupt handler
has the time of the currently active DMA block to load the next transfer
registers without causing a stutter in the data stream.

-- 

-TV

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


Thread

Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-21 10:03 -0700
  Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-21 15:01 -0400
    Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-21 15:34 -0400
      Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-21 17:12 -0400
        Re: Signals and Systems for Dummies Klaus Kragelund <klauskvik@hotmail.com> - 2017-10-21 14:19 -0700
          Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-21 15:33 -0700
            Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-21 19:50 -0400
            Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 12:58 +0200
              Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 10:08 -0400
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 16:44 +0200
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 09:26 -0700
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 14:07 -0400
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 19:30 -0700
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-23 22:50 -0400
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 23:43 -0400
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-23 23:53 -0400
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 21:50 -0700
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 08:57 -0700
                Re: Signals and Systems for Dummies antispam@math.uni.wroc.pl - 2017-10-23 16:45 +0000
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 10:09 -0700
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-23 18:25 +0100
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 09:44 +0000
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-24 11:26 +0100
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-24 21:55 -0400
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-25 09:03 +0100
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-25 09:11 -0700
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-25 18:22 +0100
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-27 18:38 -0400
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-28 01:05 +0100
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-27 20:26 -0400
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-28 09:07 +0100
                Re: Signals and Systems for Dummies upsidedown@downunder.com - 2017-10-28 12:41 +0300
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 14:31 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 09:43 +0000
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 12:13 +0200
                Re: Signals and Systems for Dummies Jan Panteltje <pNaonStpealmtje@yahoo.com> - 2017-10-24 10:40 +0000
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 13:02 +0200
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 08:41 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 13:09 +0000
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 09:58 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 15:16 +0000
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 11:31 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 16:46 +0000
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 15:46 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-25 12:01 +0000
                Re: Signals and Systems for Dummies krw@notreal.com - 2017-10-25 20:28 -0400
                Re: Signals and Systems for Dummies Michael A Terrell <mike.terrell@earthlink.net> - 2017-10-25 20:52 -0400
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 10:04 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 15:16 +0000
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 16:25 +0200
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 11:14 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 16:46 +0000
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 16:02 -0400
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 16:20 -0400
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 16:28 -0400
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-25 12:01 +0000
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 15:16 +0000
                Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-24 11:28 -0400
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-25 10:33 +0200
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 13:09 +0000
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-23 22:20 -0400
              Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 07:55 -0700
                Re: Signals and Systems for Dummies Klaus Kragelund <klauskvik@hotmail.com> - 2017-10-23 08:54 -0700
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 09:35 -0700
                Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-23 22:25 -0400
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 10:41 +0200
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-24 10:23 +0100
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-24 02:35 -0700
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-24 10:51 +0100
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 12:38 +0200
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-24 12:03 +0100
                Re: Signals and Systems for Dummies Clifford Heath <no.spam@please.net> - 2017-10-21 10:53 +1100
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-25 09:04 +0100
                Re: Signals and Systems for Dummies Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-10-25 10:16 -0400
                Re: Signals and Systems for Dummies Clifford Heath <no.spam@please.net> - 2017-10-22 09:13 +1100
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-26 08:41 +0100
                Re: Signals and Systems for Dummies pcdhobbs@gmail.com - 2017-10-26 02:24 -0700
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highland_snip_technology.com> - 2017-10-26 10:30 -0700
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 12:22 +0200
                Re: Signals and Systems for Dummies "Tom Del Rosso" <fizzbintuesday@that-google-mail-domain.com> - 2017-10-25 04:05 -0400
              Re: Signals and Systems for Dummies Jasen Betts <jasen@xnet.co.nz> - 2017-10-24 18:52 +0000
        Re: Signals and Systems for Dummies Piotr Wyderski <peter.pan@neverland.mil> - 2017-10-22 11:17 +0200
          Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-22 09:36 -0700
        Re: Signals and Systems for Dummies Klaus Kragelund <klauskvik@hotmail.com> - 2017-10-22 04:25 -0700
          Re: Signals and Systems for Dummies rickman <gnuarm@gmail.com> - 2017-10-22 18:50 -0400
      Re: Signals and Systems for Dummies TTman <kraken.sankey@gmail.com> - 2017-10-21 23:00 +0100
        Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-22 08:19 +0000
      Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 12:37 +0200
        Re: Signals and Systems for Dummies Chris Jones <lugnut808@spam.yahoo.com> - 2017-10-23 23:15 +1100
          Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 14:55 +0200
            Re: Signals and Systems for Dummies Chris Jones <lugnut808@spam.yahoo.com> - 2017-10-24 00:24 +1100
              Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 15:54 +0200
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-23 16:24 +0000
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-23 17:43 +0100
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-23 17:26 +0000
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-23 18:40 +0100
                Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-23 17:46 +0000
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-23 19:01 +0100
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 11:01 +0200
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-24 10:36 +0100
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 12:57 +0200
                Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-24 13:09 +0100
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 14:38 +0200
                Re: Signals and Systems for Dummies Chris Jones <lugnut808@spam.yahoo.com> - 2017-10-25 16:34 +1100
                Re: Signals and Systems for Dummies kevin93 <kevin@whitedigs.com> - 2017-10-25 08:38 -0700
          Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-23 16:24 +0000
            Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 09:39 -0700
        Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 09:00 -0700
          Re: Signals and Systems for Dummies bill.sloman@ieee.org - 2017-10-24 20:45 -0700
        Re: Signals and Systems for Dummies Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-10-23 13:02 -0400
          Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 10:05 -0700
          Re: Signals and Systems for Dummies John Larkin <jjlarkin@highland_snip_technology.com> - 2017-10-23 11:18 -0700
            Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-23 12:22 -0700
          Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 14:43 -0400
            Re: Signals and Systems for Dummies John Larkin <jjlarkin@highland_snip_technology.com> - 2017-10-23 12:05 -0700
              Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-23 12:28 -0700
              Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 15:32 -0400
                Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-23 12:46 -0700
                Re: Signals and Systems for Dummies John Larkin <jjlarkin@highland_snip_technology.com> - 2017-10-23 15:28 -0700
              Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 15:37 -0400
              Re: Signals and Systems for Dummies Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-10-23 15:43 -0400
          Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 11:10 +0200
            Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-24 10:16 -0700
              Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-25 10:43 +0200
    Re: Signals and Systems for Dummies upsidedown@downunder.com - 2017-10-22 15:40 +0300
      Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 13:09 +0200
        Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-23 16:24 +0000
          Re: Signals and Systems for Dummies bitrex <bitrex@de.lete.earthlink.net> - 2017-10-23 15:44 -0400
            Re: Signals and Systems for Dummies Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2017-10-24 09:43 +0000
        Re: Signals and Systems for Dummies Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-10-23 13:21 -0400
          Re: Signals and Systems for Dummies John Devereux <john@devereux.me.uk> - 2017-10-23 19:40 +0100
            Re: Signals and Systems for Dummies Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-10-23 15:46 -0400
              Re: Signals and Systems for Dummies Klaus Kragelund <klauskvik@hotmail.com> - 2017-10-23 18:10 -0700
              Re: Signals and Systems for Dummies John Devereux <john@devereux.me.uk> - 2017-10-26 10:41 +0100
                Re: Signals and Systems for Dummies Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2017-10-26 10:52 -0400
                Re: Signals and Systems for Dummies Clifford Heath <no.spam@please.net> - 2017-10-23 08:51 +1100
                Re: Signals and Systems for Dummies pcdhobbs@gmail.com - 2017-10-26 16:03 -0700
                Re: Signals and Systems for Dummies Clifford Heath <no.spam@please.net> - 2017-10-27 10:14 +1100
                Re: Signals and Systems for Dummies John Devereux <john@devereux.me.uk> - 2017-10-27 08:28 +0100
                Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-27 10:46 +0200
                Re: Signals and Systems for Dummies Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2017-11-08 21:19 +0200
            Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-24 11:19 +0200
      Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-23 09:14 -0700
    Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-22 13:54 +0100
      Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-22 09:43 -0700
        Re: Signals and Systems for Dummies Tom Gardner <spamjunk@blueyonder.co.uk> - 2017-10-22 18:11 +0100
          Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-22 10:33 -0700
            Re: Signals and Systems for Dummies John Devereux <john@devereux.me.uk> - 2017-10-22 19:09 +0100
            Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 13:16 +0200
          Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-22 10:33 -0700
            Re: Signals and Systems for Dummies boB <boB@K7IQ.com> - 2017-10-22 15:09 -0700
              Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-22 16:07 -0700
            Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-22 15:49 -0700
          Re: Signals and Systems for Dummies David Brown <david.brown@hesbynett.no> - 2017-10-23 13:14 +0200
        Re: Signals and Systems for Dummies Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-22 16:11 -0700
  Re: Signals and Systems for Dummies bloggs.fredbloggs.fred@gmail.com - 2017-10-24 07:41 -0700
    Re: Signals and Systems for Dummies John Larkin <jjlarkin@highlandtechnology.com> - 2017-10-24 08:41 -0700

csiph-web