Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4062 Datasheet(PDF) 11 Page - STMicroelectronics

Part # AN4062
Description  STM32F0DISCOVERY peripheral firmware examples
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4062 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button AN4062 Datasheet HTML 7Page - STMicroelectronics AN4062 Datasheet HTML 8Page - STMicroelectronics AN4062 Datasheet HTML 9Page - STMicroelectronics AN4062 Datasheet HTML 10Page - STMicroelectronics AN4062 Datasheet HTML 11Page - STMicroelectronics AN4062 Datasheet HTML 12Page - STMicroelectronics AN4062 Datasheet HTML 13Page - STMicroelectronics AN4062 Datasheet HTML 14Page - STMicroelectronics AN4062 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 17 page
background image
DocID022897 Rev 3
11/17
AN4062
Peripheral firmware examples description
3.12
DMA RAM DAC example
Purpose
This example provides a description of how to use a DMA channel to transfer data buffer
from RAM memory to DAC.
Description
DMA1 channel3 is configured to transfer continuously, word by word, a Half-word buffer to
the DAC register DAC_DHR12R. The DAC channel conversion is configured to be triggered
by TIM2 TRGO triggers and without noise/triangle wave generation.12-bit right data
alignment is selected since we choose to access the DAC_DHR12R register.
Note:
Connect PA.04 pin to an oscilloscope.
3.13
DAC signal generation example
Purpose
This example provides a short description of how to use the DAC peripheral to generate
several signals using the DMA controller.
Description
When the user presses the push-button, DMA transfers the selected waveform to DAC.
•
For each press on the push-button, one signal has been selected and monitored on the
DAC Channel 1
•
Escalator waveform (Channel 1).
•
Sine waveForm (Channel 1).
Note:
Use the push-button connected to PA0.
Note:
Connect PA4 (DAC Channel1) pin to an oscilloscope to monitor the DAC out wave.
3.14
TIM complementary signal example
Purpose
This example shows how to configure the TIM1 peripheral to generate three complementary
TIM1 signals, to insert a defined dead time value, to use the break feature and to lock the
desired parameters.
Description
TIM1CLK is fixed to SystemCoreClock, the TIM1 Prescaler is equal to 0 so the TIM1
counter clock used is SystemCoreClock (48 MHz).
The objective is to generate a PWM signal at 17.57 KHz:
•
TIM1_Period = (SystemCoreClock / 17570) - 1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


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