FXLS8471Q Auto-sleep with Transient threshold trigger

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FXLS8471Q Auto-sleep with Transient threshold trigger

FXLS8471Q Auto-sleep with Transient threshold trigger

*************************************************************************************************************
* This simple example code has been written for the NXP FRDM-KL25Z + FRDMSTBC-A8471
* boards and demonstrates how to use the embedded transient detection function

* in conjunction with the auto-wake/sleep mode for reducing current consumption

* of the FXLS8471Q.
*
* The transient threshold is set to 312.5mg (5 counts) on the X and Y axis.
* Once this threshold is exceeded, the FXLS8471Q is waken up and an interrupt
* is generated on the INT1 pin. If the acceleration is below this threshold
* within the 1s period, the FXLS8471Q goes back to sleep mode and also
* generates an interrupt on the INT1 pin.
*************************************************************************************************************

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1121821%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXLS8471Q%20Auto-sleep%20with%20Transient%20threshold%20trigger%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1121821%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E*************************************************************************************************************%3CBR%20%2F%3E*%20This%20simple%20example%20code%20has%20been%20written%20for%20the%20NXP%20FRDM-KL25Z%20%2B%20FRDMSTBC-A8471%20%3CBR%20%2F%3E*%20boards%20and%20demonstrates%20how%20to%20use%20the%20embedded%20transient%20detection%26nbsp%3Bfunction%3C%2FP%3E%3CP%3E*%20in%20conjunction%20with%20the%20auto-wake%2Fsleep%20mode%20for%20reducing%20current%26nbsp%3Bconsumption%3C%2FP%3E%3CP%3E*%20of%20the%20FXLS8471Q.%3CBR%20%2F%3E*%20%3CBR%20%2F%3E*%20The%20transient%20threshold%20is%20set%20to%20312.5mg%20(5%20counts)%20on%20the%20X%20and%20Y%20axis.%3CBR%20%2F%3E*%20Once%20this%20threshold%20is%20exceeded%2C%20the%20FXLS8471Q%20is%20waken%20up%20and%20an%20interrupt%3CBR%20%2F%3E*%20is%20generated%20on%20the%20INT1%20pin.%20If%20the%20acceleration%20is%20below%20this%20threshold%20%3CBR%20%2F%3E*%20within%20the%201s%20period%2C%20the%20FXLS8471Q%20goes%20back%20to%20sleep%20mode%20and%20also%20%3CBR%20%2F%3E*%20generates%20an%20interrupt%20on%20the%20INT1%20pin.%20%3CBR%20%2F%3E*************************************************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎02-03-2026 05:14 PM
Updated by: