[sdiy] STM32 processor

Eric Brombaugh ebrombaugh1 at cox.net
Thu Sep 15 19:39:58 CEST 2011


On 09/15/2011 05:38 AM, Colin f wrote:
>
> Even more useful, on some of the larger footprint parts, there is external
> triggering of the DACs, with DMA update of the values.
> For de-muxing many CV outputs, you can use a timer to generate the clock for
> an external counter and de-mux circuit.
> The same timer also triggers the DAC.
> You set up an area in memory to hold the values for each de-mux output, and
> configure the DMA controller to cycle through the DAC values on each
> trigger.
> The de-muxing then happens with no CPU involvement.

This is one of the most useful features of the recent MCUs we're seeing 
from many silicon vendors - the extreme interlinking of the peripherals, 
such that after setting up the timers, triggers, DMA, etc there is very 
little CPU involvement required. It requires a bit more imagination and 
a deep understanding of the SoC functions, but the upside is you can do 
a lot without much programming, and the timing determinism is greatly 
enhanced. If you're running algorithms that require more complex 
computation, the fact that the peripherals are running themselves leaves 
more bandwidth for the CPU to devote to the difficult math.

Eric



More information about the Synth-diy mailing list