Electronic Components Datasheet Search
  English  ▼

X  

AN4650 Datasheet(PDF) 55 Page - STMicroelectronics

Part # AN4650
Description  This document is intended to provide usage information
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4650 Datasheet(HTML) 55 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 51Page - STMicroelectronics AN4650 Datasheet HTML 52Page - STMicroelectronics AN4650 Datasheet HTML 53Page - STMicroelectronics AN4650 Datasheet HTML 54Page - STMicroelectronics AN4650 Datasheet HTML 55Page - STMicroelectronics AN4650 Datasheet HTML 56Page - STMicroelectronics AN4650 Datasheet HTML 57Page - STMicroelectronics AN4650 Datasheet HTML 58Page - STMicroelectronics AN4650 Datasheet HTML 59Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 102 page
background image
DocID027415 Rev 1
55/102
AN4650
Android embedded functions
102
When the maximum value 16777215 LSB (corresponding to FFFFFFh) is reached and low
resolution (TIMER_HR = 0) is used, the counter is automatically reset to 000000h and
continues to count. When the maximum value is reached and high resolution (TIMER_HR =
1) is used, the counter is not automatically reset to 0 and freezes at FFFFFFh. In any case,
the timer count can be reset to zero at any time by writing the reset value AAh in the
TIMESTAMP_REG2 register.
An interrupt signal is generated when the timer step count reaches the value of 16776960
LSB (corresponding to FFFF00h). This interrupt signal can be driven to the INT1 pin by
setting to 1 the INT1_TIMER bit of the MD1_CFG register. Once the interrupt pin is
asserted, it must be reset to zero by writing AAh in the TIMESTAMP_REG2 register.
The time stamp count can be stored in FIFO as a fourth data set along with the step counter
data (see Section 8.9 for details).
A basic SW routine to enable the time stamp counter is shown below.
1
Write 50h into CTRL1_XL
// Turn on the accelerometer
// ODR_XL = 208 Hz, FS_XL = 2g
2
Write 80h into TAP_CFG
// Enable time stamp count
3
Write 10h into WAKE_UP_DUR
// Time stamp resolution = 25us
4
Write 01h into MD1_CFG
// End counter interrupt driven to INT1 pin



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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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