Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3126 Datasheet(PDF) 9 Page - STMicroelectronics

Part # AN3126
Description  Audio and waveform generation using the DAC in STM32 microcontrollers
PDF  24 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3126 Datasheet(HTML) 9 Page - STMicroelectronics

Back Button AN3126 Datasheet HTML 5Page - STMicroelectronics AN3126 Datasheet HTML 6Page - STMicroelectronics AN3126 Datasheet HTML 7Page - STMicroelectronics AN3126 Datasheet HTML 8Page - STMicroelectronics AN3126 Datasheet HTML 9Page - STMicroelectronics AN3126 Datasheet HTML 10Page - STMicroelectronics AN3126 Datasheet HTML 11Page - STMicroelectronics AN3126 Datasheet HTML 12Page - STMicroelectronics AN3126 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 24 page
background image
Doc ID16895 Rev 2
9/24
AN3126
DAC main features
23
When using the DMA, the overall performance of the system is increased by freeing up the
core. This is because data is moved from memory to DAC by DMA, without needing any
actions by the CPU. This keeps CPU resources free for other operations.
Figure 4. DAC interaction with DMA
1.6
DMA underrun error
When the DMA is used to provide DAC with the pattern waveform, there are some cases
where the DMA transfer is faster than the DAC conversion, In this case, DAC detects that a
part of the pattern waveform has been ignored and was not converted. It then sets the "DMA
underrun Error" flag.
The underrun error can be handled using a shared IRQ channel with the triggering Timer or
by a dedicated interrupt when DAC is not triggered by TIM6.
1.7
White noise generator
1.7.1
Definition
The STM32 microcontrollers DAC provides user with a pseudo random code generator,
sketched in Figure 5. Depending on what taps are used on the shift register, a sequence of
up to 2n-1 numbers can be generated before the sequence repeats.
ai18303
DAC
DMA
RAM
(Pattern Table 1)
(Pattern Table 2)
Channel 1
Output
Channel 2
Output
DAC Triggers
CPU



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com