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

X  

AN4062 Datasheet(PDF) 10 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) 10 Page - STMicroelectronics

Back Button AN4062 Datasheet HTML 6Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 17 page
background image
Peripheral firmware examples description
AN4062
10/17
DocID022897 Rev 3
Description
In this example:
•
ADC1 is configured to convert continuously the Voltage reference and the Temperature
sensor.
•
Each time an end of conversion occurs, the DMA transfers, in circular mode, the
converted data from ADC1 DR register to the RegularConvData_Tab[2] table.
3.10
ADC low power example
Purpose
This example provides a short description of how to use the ADC peripheral with Auto-
delayed conversion mode and Auto-poweroff modes.
Description
The ADC is triggered by TIM3_TRGO which is connected to TIM3_Update Event. Each time
the ADC is triggered, it converts the input voltage connected to PC.1 (which corresponds to
ADC channel 11), and then the ADC enter the delay mode (no Overrun detect) until the ADC
data register has been read by pressing the USER button.
Note:
Connect the external signal (ranges from 0 to 3.3V) to the ADC1 pin (PC.01) to be
converted.
Note:
Connect an ammeter to JP2 to measure the IDD current.
3.11
DMA Flash RAM example
Purpose
This example describes how to use a DMA channel to transfer a word data buffer from a
Flash memory to an embedded SRAM memory.
Description
DMA1 Channel1 is configured to transfer the contents of a 32-word data buffer, stored in the
Flash memory, to the reception buffer declared in RAM.
•
The start of transfer is triggered by software. DMA1 Channel1 memory-to-memory
transfer is enabled. Source and destination address incrementing is also enabled.
•
The transfer is started by setting the Channel enable bit for DMA1 Channel1.
•
At the end of the transfer, a Transfer Complete interrupt is generated since it is
enabled. Once the interrupt is generated, the remaining data to be transferred is read,
which must be equal to 0. The Transfer Complete Interrupt pending bit is then cleared.
A comparison between the source and destination buffers is done to check that all data
have been correctly transferred.



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