FXLS90322 probelm

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

FXLS90322 probelm

1,276 Views
wenfengyao
Contributor II

wenfengyao_0-1690164348716.pngwenfengyao_1-1690164357339.png

1. Two-axis sensor data acquisition:

In the acquisition of two-axis data, I used the default 12bit data bytes,8bit check, using SPI communication, according to the illustration, 32-bit data packets should remove the following 17-bit data (9bit noise,8bit CRC), but the actual simulation found that I removed the following 12bit, the data is normal. The figure also does not correspond to the following Sensor response format. How should I understand this?

2.TrimSensitivity

Is TrimSensitivity fixed? For example, is the TrimSensitivity of FXLS90322 33.0161(12 bit,LSB/g)? If it is fixed, through the equation under the heading 11.2.24.1, The calculated sensitivity does not correspond to the actual one

wenfengyao_2-1690164531026.png

 

 

0 Kudos
1 Reply

1,256 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Wenfeng,

1. This question is not clear to me, I would need below clarification:

Are you using register read and sensor data request command for data acquisition?

If you are using sensor data request, the 12-bit provided (highlighted in yellow on the second picture below) is aligned with the red circle in 3rd picture. “Optional SD resolution” bit will all be 0’s in  12-bit resolution configuration.  

1.png

2.png

3.png

2. TrimSensitivity is fixed by variant and is 33.0161 LSB/g at 12-bit for medium-g device for other resolution (i.e 10-bit or 16-bit etc.) the TrimSensitivity needs to be scaled at defined in Table 218.

I hope it helps.

BR, Tomas

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-1690885%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFXLS90322%20probelm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1690885%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wenfengyao_0-1690164348716.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wenfengyao_0-1690164348716.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F233129iE527D5CAE55EA40A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22wenfengyao_0-1690164348716.png%22%20alt%3D%22wenfengyao_0-1690164348716.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wenfengyao_1-1690164357339.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wenfengyao_1-1690164357339.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F233130iE589A022CDDB2F68%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22wenfengyao_1-1690164357339.png%22%20alt%3D%22wenfengyao_1-1690164357339.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E1.%20Two-axis%20sensor%20data%20acquisition%3A%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3EIn%20the%20acquisition%20of%20two-axis%20data%2C%20I%20used%20the%20default%2012bit%20data%20bytes%2C8bit%20check%2C%20using%20SPI%20communication%2C%20according%20to%20the%20illustration%2C%2032-bit%20data%20packets%20should%20remove%20the%20following%2017-bit%20data%20(9bit%20noise%2C8bit%20CRC)%2C%20but%20the%20actual%20simulation%20found%20that%20I%20removed%20the%20following%2012bit%2C%20the%20data%20is%20normal.%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3EThe%20figure%20also%20does%20not%20correspond%20to%20the%20following%20Sensor%20response%20format.%20How%20should%20I%20understand%20this%3F%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E2.TrimSensitivity%20%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3EIs%20TrimSensitivity%20fixed%3F%20For%20example%2C%20is%20the%20TrimSensitivity%20of%20FXLS90322%2033.0161(12%20bit%2CLSB%2Fg)%3F%20If%20it%20is%20fixed%2C%20through%20the%20equation%20under%20the%20heading%2011.2.24.1%2C%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22%22%3E%3CSPAN%3E%20The%20calculated%20sensitivity%20does%20not%20correspond%20to%20the%20actual%20one%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22wenfengyao_2-1690164531026.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22wenfengyao_2-1690164531026.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F233131i38778EB9ACB78F89%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22wenfengyao_2-1690164531026.png%22%20alt%3D%22wenfengyao_2-1690164531026.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1692741%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FXLS90322%20probelm%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1692741%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20W%3CSPAN%3Eenfeng%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E1.%26nbsp%3B%3C%2FSPAN%3EThis%20question%20is%20not%20clear%20to%20me%2C%20I%20would%20need%20below%20clarification%3A%3C%2FP%3E%0A%3CP%3EAre%20you%20using%20register%20read%20and%20sensor%20data%20request%20command%20for%20data%20acquisition%3F%3C%2FP%3E%0A%3CP%3EIf%20you%20are%20using%20sensor%20data%20request%2C%20the%2012-bit%20provided%20(highlighted%20in%20yellow%20on%20the%20second%20picture%20below)%20is%20aligned%20with%20the%20red%20circle%20in%203%3CSUP%3Erd%3C%2FSUP%3E%20picture.%20%E2%80%9COptional%20SD%20resolution%E2%80%9D%20bit%20will%20all%20be%200%E2%80%99s%20in%26nbsp%3B%2012-bit%20resolution%20configuration.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20618px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%221.png%22%20style%3D%22width%3A%20618px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F233631i6EF7F1151B843D1F%2Fimage-dimensions%2F618x373%3Fv%3Dv2%22%20width%3D%22618%22%20height%3D%22373%22%20role%3D%22button%22%20title%3D%221.png%22%20alt%3D%221.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20611px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%222.png%22%20style%3D%22width%3A%20611px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F233632iBAF6F4577C792A75%2Fimage-dimensions%2F611x379%3Fv%3Dv2%22%20width%3D%22611%22%20height%3D%22379%22%20role%3D%22button%22%20title%3D%222.png%22%20alt%3D%222.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20613px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%223.png%22%20style%3D%22width%3A%20613px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F233633iF0B1508704FC98DA%2Fimage-dimensions%2F613x153%3Fv%3Dv2%22%20width%3D%22613%22%20height%3D%22153%22%20role%3D%22button%22%20title%3D%223.png%22%20alt%3D%223.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E2.%26nbsp%3BTrimSensitivity%20is%20fixed%20by%20variant%20and%20is%2033.0161%20LSB%2Fg%20at%2012-bit%20for%20medium-g%20device%20for%20other%20resolution%20(i.e%2010-bit%20or%2016-bit%20etc.)%20the%20TrimSensitivity%20needs%20to%20be%20scaled%20at%20defined%20in%20Table%20218.%3C%2FP%3E%0A%3CP%3EI%20hope%20it%20helps.%3C%2FP%3E%0A%3CP%3EBR%2C%20Tomas%3C%2FP%3E%3C%2FLINGO-BODY%3E