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

X  

UM1763 数据表(PDF) 9 Page - STMicroelectronics

部件名 UM1763
功能描述  Description of STLUX385A examples kit
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM1763 数据表(HTML) 9 Page - STMicroelectronics

Back Button UM1763 Datasheet HTML 5Page - STMicroelectronics UM1763 Datasheet HTML 6Page - STMicroelectronics UM1763 Datasheet HTML 7Page - STMicroelectronics UM1763 Datasheet HTML 8Page - STMicroelectronics UM1763 Datasheet HTML 9Page - STMicroelectronics UM1763 Datasheet HTML 10Page - STMicroelectronics UM1763 Datasheet HTML 11Page - STMicroelectronics UM1763 Datasheet HTML 12Page - STMicroelectronics UM1763 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 16 page
background image
DocID026335 Rev 1
9/16
UM1763
Example II
16
4
Example II
In order to guide you step by step to a more realistic application, we extended the first
example by introducing the use of the system timer and the ADC peripherals in the second
example.
The system timer (STMR) consists of a 16-bit autoreload upcounter driven by
a programmable prescaler. Specific APIs have been created and integrated in the
stlux_stmr library to configure and pilot this timer. Here it is used as a time base to generate
data sampling at a given frequency. The timer clock is prescaled by 4 and an interrupt is
raised each time 200 tics the period event and therefore input data are sampled through the
ADC at a 20 KHz frequency .
The ADC is a 10 bit successive approximation analog-to-digital converter. In this example
four of the possible eight channels (channel 0 to channel 3) are used to sample input data
amplified by a 1.0 gain factor (the other possible value is 4.0). The ADC clock is set to
6 MHz frequency.
The main code properly initializes all the peripherals and clocks and then starts the system
timer and the ADC sampling. It tests the x0 input variable and when it becomes greater then
a given threshold, it starts the SMED 0.
Figure 2. Example 02 application scheme



Html Pages

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


数据表 下载

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