FXLS8964 FXLS8974 - vector magnitude

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

FXLS8964 FXLS8974 - vector magnitude

Jump to solution
3,441 Views
adrian_chmiel
Contributor III

Hi,

We replece discontinued FLXS8471 at new FXLS8974.

At this moment we use vector magnitude feature for detecting a change in the tilt angle.

New FXLS8974 has a different mechanism for vector magnitude and I'm not sure, there is possible to set for example detection angle change of 5deg?

of between 123deg to 127deg ? Or it's not so flexible?

 

Best regards

Adrian Chmiel

Tags (1)
0 Kudos
1 Solution
3,433 Views
JackITB
NXP Employee
NXP Employee

Hi Adrian,

As you mentioned, FXLS8974 has a different mechanism for vector magnitude vs FXLS8471.
Key difference being that FXLS8974 does not have the A_VECM_INIT_XYZ registers that can be substracted to the measured XYZ raw data.

So I don't see an easy way to implement your use case.

A potential idea could be to use the orientation detection block but you'll be limited to its discrete/fixed thresholds.

 

Best regards,  Jacques

View solution in original post

0 Kudos
2 Replies
3,434 Views
JackITB
NXP Employee
NXP Employee

Hi Adrian,

As you mentioned, FXLS8974 has a different mechanism for vector magnitude vs FXLS8471.
Key difference being that FXLS8974 does not have the A_VECM_INIT_XYZ registers that can be substracted to the measured XYZ raw data.

So I don't see an easy way to implement your use case.

A potential idea could be to use the orientation detection block but you'll be limited to its discrete/fixed thresholds.

 

Best regards,  Jacques

0 Kudos
3,364 Views
adrian_chmiel
Contributor III

Thanks Jack.

 

Do you have aplication note for orientation detection block?

I try to understand base on datasheed and AN12004, but maybe you have something extra?

It's not clear for me how excacly is conected register ORIENT_BF_ZCOMP with ORIENT_THS and how to use it.

 

BR

Adrian

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-1376115%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXLS8964%20FXLS8974%20-%20vector%20magnitude%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1376115%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EWe%20replece%20discontinued%20FLXS8471%20at%20new%20FXLS8974.%3C%2FP%3E%3CP%3EAt%20this%20moment%20we%20use%20vector%20magnitude%20feature%20for%20detecting%20a%20change%20in%20the%20tilt%20angle.%3C%2FP%3E%3CP%3ENew%20FXLS8974%20has%20a%20different%20mechanism%20for%20vector%20magnitude%20and%20I'm%20not%20sure%2C%20there%20is%20possible%20to%20set%20for%20example%20detection%20angle%20change%20of%205deg%3F%3C%2FP%3E%3CP%3Eof%20between%20123deg%20to%20127deg%20%3F%20Or%20it's%20not%20so%20flexible%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EAdrian%20Chmiel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1379670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXLS8964%20FXLS8974%20-%20vector%20magnitude%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1379670%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20Jack.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EDo%20you%20have%20aplication%20note%20for%20orientation%20detection%20block%3F%3C%2FP%3E%3CP%3EI%20try%20to%20understand%20base%20on%20datasheed%20and%20AN12004%2C%20but%20maybe%20you%20have%20something%20extra%3F%3C%2FP%3E%3CP%3EIt's%20not%20clear%20for%20me%20how%20excacly%20is%20conected%20register%20%3CSPAN%3EORIENT_BF_ZCOMP%20with%20%3C%2FSPAN%3E%3CSPAN%3EORIENT_THS%20and%20how%20to%20use%20it.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBR%3C%2FP%3E%3CP%3EAdrian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1376298%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXLS8964%20FXLS8974%20-%20vector%20magnitude%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1376298%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Adrian%2C%3C%2FP%3E%0A%3CP%3EAs%20you%20mentioned%2C%26nbsp%3B%3CSPAN%3EFXLS8974%20has%20a%20different%20mechanism%20for%20vector%20magnitude%20vs%20FXLS8471.%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EKey%20difference%20being%20that%26nbsp%3BFXLS8974%20does%20not%20have%20the%20A_VECM_INIT_XYZ%20registers%20that%20can%20be%20substracted%20to%20the%20measured%20XYZ%20raw%20data.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESo%20I%20don't%20see%20an%20easy%20way%20to%20implement%20your%20use%20case.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EA%3C%2FSPAN%3E%3CSPAN%3E%20potential%20idea%20could%20be%20to%20use%20the%20orientation%20detection%20block%20but%20you'll%20be%20limited%20to%20its%20discrete%2Ffixed%20thresholds.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%26nbsp%3B%20Jacques%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E