DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

AN4506 Просмотр технического описания (PDF) - STMicroelectronics

Номер в каталоге
Компоненты Описание
производитель
AN4506 Datasheet PDF : 47 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
Interrupt generation
AN4506
5.5.1
The threshold module which is used by the system to detect any no-move or wake-up event
is defined by the IG_THS registers. The threshold value is expressed over 15 bits as an
unsigned number and is symmetrical around the zero-g level. XH (YH, ZH) is true when the
unsigned angular rate value of the X (Y, Z) channel is higher than IG_THS. Similarly, XL (YL,
ZL) low is true when the unsigned angular rate value of the X (Y, Z) channel is lower than
IG_THS. Refer to Figure 15 for more details.
Figure 15. NM_WU_CFG high and low
; <= KLJK
)XOO6FDOH
7KUHVKROGPRGXOH
; <= ORZ
GSVOHYHO
3RVLWLYH
UDWH
; <= KLJK
7KUHVKROGPRGXOH
)XOO6FDOH
1HJDWLYH
UDWH
$0Y
Wake-up
Wake-up interrupt refers to a specific configuration of the IG_CFG and IG_THS registers
that allows interrupt generation when the angular rate on the configured axis exceeds a
defined threshold (Figure 16).
Figure 16. Wake-up interrupt
J
0 dps
:$.(83
7+5(6+2/'
:.3,QWHUUXSW
5.5.2
$0Y
HP filter bypassed
This paragraph provides a basic algorithm which shows the practical use of the wake-up
feature. In particular, with the code below, the device is configured to recognize when the
absolute angular rate along either the X-, Y-, or Z-axis exceeds a preset threshold (100 dps
is used in the example). The event which triggers the interrupt is latched inside the device
and its occurrence is signalled through the use of the INT1 pin.
28/47
DocID026442 Rev 2

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]