FXLS8964 - Config

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

FXLS8964 - Config

192 Views
MaTa
Contributor I

Is there a configuration for this sensor family where the sensor can generate an interrupt for both ~2g transient acceleration and ~3 degree tilt angle change? Would like to set up a HPF and LPF respectively on the sensor, so there is minimum processing on the host side.

Labels (1)
0 Kudos
Reply
3 Replies

139 Views
MaTa
Contributor I

Thanks for the reply Jozef, the orientation engine depends on the z-lock condition correct? The ~3 degree tilt detection would be the angle between gravity vector and the Z-axes.

0 Kudos
Reply

99 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Dear Matt,

yes, your understanding is correct.

  • Orientation Engine and Z-Lock
    The FXLS8964AF orientation engine uses the z-lock condition to determine whether the device is in a stable orientation relative to gravity. Z-lock essentially checks if the Z-axis is aligned closely enough with the gravity vector (within a configurable threshold). When z-lock is active, the orientation engine can reliably classify the device as "face-up" or "face-down."

  • Tilt Detection (~3°)
    The tilt angle is indeed calculated as the angle between the gravity vector (derived from accelerometer readings) and the Z-axis of the sensor. A 3° tilt means the Z-axis deviates by about 3° from the gravity vector, which is typically used to detect slight movements or confirm orientation stability.

With Best Regards,

Jozef

0 Kudos
Reply

155 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Dear Matt,

yes, FXLS8964AF supports a configuration where:

  • Transient detection (~2 g) uses SDCD in relative mode (HPF-like behavior).
  • Tilt detection (~3°) uses the orientation engine (LPF-based). Both can assert hardware interrupts, minimizing host-side computation.

Please try following settings.

JozefKozon_0-1768286537626.png

With Best Regards,

Jozef

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2292059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXLS8964%20-%20Config%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIs%20there%20a%20configuration%20for%20this%20sensor%20family%20where%20the%20sensor%20can%20generate%20an%20interrupt%20for%20both%20~2g%20transient%20acceleration%20and%20~3%20degree%20tilt%20angle%20change%3F%20Would%20like%20to%20set%20up%20a%20HPF%20and%20LPF%20respectively%20on%20the%20sensor%2C%20so%20there%20is%20minimum%20processing%20on%20the%20host%20side.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2292059%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAccelerometers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXLS8964%20-%20Config%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292960%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20Matt%2C%3C%2FP%3E%0A%3CP%3Eyes%2C%20your%20understanding%20is%20correct.%3C%2FP%3E%0A%3CDIV%3E%0A%3CUL%3E%0A%3CLI%3E%0A%3CP%3EOrientation%20Engine%20and%20Z-Lock%3CBR%20%2F%3EThe%20FXLS8964AF%20orientation%20engine%20uses%20the%20z-lock%20condition%20to%20determine%20whether%20the%20device%20is%20in%20a%20stable%20orientation%20relative%20to%20gravity.%20Z-lock%20essentially%20checks%20if%20the%20Z-axis%20is%20aligned%20closely%20enough%20with%20the%20gravity%20vector%20(within%20a%20configurable%20threshold).%20When%20z-lock%20is%20active%2C%20the%20orientation%20engine%20can%20reliably%20classify%20the%20device%20as%20%22face-up%22%20or%20%22face-down.%22%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%0A%3CP%3ETilt%20Detection%20(~3%C2%B0)%3CBR%20%2F%3EThe%20tilt%20angle%20is%20indeed%20calculated%20as%20the%20angle%20between%20the%20gravity%20vector%20(derived%20from%20accelerometer%20readings)%20and%20the%20Z-axis%20of%20the%20sensor.%20A%203%C2%B0%20tilt%20means%20the%20Z-axis%20deviates%20by%20about%203%C2%B0%20from%20the%20gravity%20vector%2C%20which%20is%20typically%20used%20to%20detect%20slight%20movements%20or%20confirm%20orientation%20stability.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EWith%20Best%20Regards%2C%3C%2FP%3E%0A%3CP%3EJozef%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXLS8964%20-%20Config%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20the%20reply%20Jozef%2C%20the%20orientation%20engine%20depends%20on%20the%20z-lock%20condition%20correct%3F%20The%20~3%20degree%20tilt%20detection%20would%20be%20the%20angle%20between%20gravity%20vector%20and%20the%20Z-axes.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292233%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXLS8964%20-%20Config%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292233%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EDear%20Matt%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3Eyes%2C%20FXLS8964AF%20supports%20a%20configuration%20where%3A%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CFONT%20size%3D%222%22%3ETransient%20detection%20(~2%E2%80%AFg)%20uses%20SDCD%20in%20relative%20mode%20(HPF-like%20behavior).%3C%2FFONT%3E%3C%2FLI%3E%0A%3CLI%3E%3CFONT%20size%3D%222%22%3ETilt%20detection%20(~3%C2%B0)%20uses%20the%20orientation%20engine%20(LPF-based).%20Both%20can%20assert%20hardware%20interrupts%2C%20minimizing%20host-side%20computation.%3C%2FFONT%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EPlease%20try%20following%20settings.%3C%2FFONT%3E%3C%2FP%3E%0A%3CFONT%20size%3D%222%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_0-1768286537626.png%22%20style%3D%22width%3A%20521px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_0-1768286537626.png%22%20style%3D%22width%3A%20521px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372597i4D19BA7A68827E8F%2Fimage-dimensions%2F521x532%3Fv%3Dv2%22%20width%3D%22521%22%20height%3D%22532%22%20role%3D%22button%22%20title%3D%22JozefKozon_0-1768286537626.png%22%20alt%3D%22JozefKozon_0-1768286537626.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FFONT%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EWith%20Best%20Regards%2C%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%222%22%3EJozef%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E