数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3413 数据表(PDF) 10 Page - STMicroelectronics

部件名 AN3413
功能描述  STM32L1x current consumption measurement and touch sensing demonstration firmware
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3413 数据表(HTML) 10 Page - STMicroelectronics

Back Button AN3413 Datasheet HTML 6Page - STMicroelectronics AN3413 Datasheet HTML 7Page - STMicroelectronics AN3413 Datasheet HTML 8Page - STMicroelectronics AN3413 Datasheet HTML 9Page - STMicroelectronics AN3413 Datasheet HTML 10Page - STMicroelectronics AN3413 Datasheet HTML 11Page - STMicroelectronics AN3413 Datasheet HTML 12Page - STMicroelectronics AN3413 Datasheet HTML 13Page - STMicroelectronics AN3413 Datasheet HTML 14Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 18 page
background image
Software description
AN3413
10/18
DocID018933 Rev 2
2
Software description
2.1
STM32L1x peripherals used by the application
This application example uses the following STM32L1x peripherals with the settings
described below:
ADC
ADC performs analog-to-digital conversions of the internal reference voltage (VDD voltage
display) and of the voltage coming from the operational amplifier that is the image of IDD
current.
ADC resolution: 12-bit
ADC conversion mode: single
ADC sampling time: 192 cycles
SYSTICK Timer
The Systick timer is used to generate the delay needed for display or wait loops.
GPIOs
Port C and Port E are connected to the USER push-button and the LEDs.
PB1 set as an input floating pin with interrupt connected to the USER push-button
PB7 (green LD3) and PB6 (blue LD4) set as an output push-pull
PA0 set as a wake-up pin configured either as an input floating pin with interrupt with
detection on rising edge or as an alternate function AFIO0 (WKUP1) during Standby
mode.
PA6, PA7, PC4, PC5, PB0, PB1 are used for linear touch sensor or touchkeys during
the touch sensor demonstration.
During the low power modes, I/Os are placed in analog input mode to reduce power
consumption except for a few pins related to the hardware interface (PB7 - green LD3
PB6 - blue LD4, PA4 - IDD measurement pin, PA0 - LP WakeUp pin and PC13 - IDD
timer enable). This means that all Schmitt triggers on unused standard I/O pins are
disabled to reduce power consumption.
LCD controller
The different functions available in the firmware library for LCD are used to initialize, clear,
display strings and scrolling messages needed in the application code. For some low power
mode measurements, the LCD controller is turned OFF to minimize the current consumption
of the STM32L152.
Clock
The MSI (the multi speed internal oscillator) oscillator is selected as clock source. The
application manages the peripheral clocks depending on the selected power saving mode.
When the device enters low power run mode, MSI is switched to range 0 until the device is
woken-up by an external event. When exiting Low power run mode, the MCU switches the
HSI oscillator back ON. LSE is switched ON during Manufacturing test mode (see
Section 1.5.3) to check its functionality.



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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