<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Clarification on Offset-Step Identification and Conversion for NTM88x12 in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2130571#M8891</link>
    <description>&lt;P&gt;Hello Kafei42,&lt;/P&gt;
&lt;P&gt;references that include the full set of&amp;nbsp;ΔA (delta), offset, and proof-inertia values&amp;nbsp;for all 16 offset steps across the five acceleration ranges supported by the NTM88 sensor family can be found in the AN13614, UM11227 and in the UM11145. Please see below.&lt;/P&gt;
&lt;H3&gt;AN13614&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Formulas for ΔA and Offset:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="math math-inline"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;ΔA=2⋅StepSizeLSBmax−LSBmin&lt;/SPAN&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;Δ&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mfrac"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;LSB&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size3 size1 mtight"&gt;&lt;SPAN class="mord text mtight"&gt;max&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin mtight"&gt;−&lt;/SPAN&gt;&lt;SPAN class="mord text mtight"&gt;LSB&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size3 size1 mtight"&gt;&lt;SPAN class="mord text mtight"&gt;min&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;2&lt;SPAN class="mbin mtight"&gt;⋅&lt;/SPAN&gt;&lt;SPAN class="mord text mtight"&gt;StepSize&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="math math-inline"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;Offset=BandMin−(LSBmin⋅ΔA)&lt;/SPAN&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord text"&gt;&lt;SPAN class="mord"&gt;Offset&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord text"&gt;&lt;SPAN class="mord"&gt;BandMin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mopen"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mord text"&gt;LSB&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;min&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;⋅&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;Δ&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="mclose"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Step-by-step breakdown&amp;nbsp;of how each offset step maps to a subrange of the full acceleration range.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Illustrative examples&amp;nbsp;for ranges like –360 g to +400 g, showing how each step overlaps and transitions.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Proof-inertia calculation&amp;nbsp;using:&lt;/P&gt;
&lt;DIV class="math math-display"&gt;&lt;SPAN class="katex-display"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;ΔAMAX–MIN=Proof&amp;nbsp;Inertia&amp;nbsp;@AMAX−Proof&amp;nbsp;Inertia&amp;nbsp;@AMINAMAX−AMIN&lt;/SPAN&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;Δ&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MAX–MIN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mfrac"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MAX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MIN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mord text"&gt;Proof&amp;nbsp;Inertia&amp;nbsp;@A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MAX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&lt;/SPAN&gt;&lt;SPAN class="mord text"&gt;Proof&amp;nbsp;Inertia&amp;nbsp;@A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MIN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;UM11145-https://&lt;A href="http://www.nxp.com/docs/en/user-manual/UM11145.pdf" target="_blank"&gt;www.nxp.com/docs/en/user-manual/UM11145.pdf&lt;/A&gt;&lt;/H3&gt;
&lt;P&gt;This guide explains how the firmware uses the ΔA and offset values during compensation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Describes the&amp;nbsp;Universal Uncompensated Measurement Array (UUMA)&amp;nbsp;format.&lt;/LI&gt;
&lt;LI&gt;Lists all compensation functions, including&amp;nbsp;&lt;CODE&gt;TPMS_COMP_ACCEL_X&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;TPMS_COMP_ACCEL_Z&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Confirms that&amp;nbsp;compensation relies on factory-programmed trim coefficients, which are essential for accurate results.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the&amp;nbsp;–175 g to +550 g&amp;nbsp;range,&amp;nbsp;offset steps are listed in reverse order&amp;nbsp;in the datasheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/UM11227/page/topics/optional_acceleration_measurements.html" target="_blank"&gt;https://docs.nxp.com/bundle/UM11227/page/topics/optional_acceleration_measurements.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_0-1752036362796.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346668i36554471971036C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_0-1752036362796.png" alt="JozefKozon_0-1752036362796.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jul 2025 04:46:57 GMT</pubDate>
    <dc:creator>JozefKozon</dc:creator>
    <dc:date>2025-07-09T04:46:57Z</dc:date>
    <item>
      <title>Clarification on Offset-Step Identification and Conversion for NTM88x12</title>
      <link>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2127540#M8881</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m working with the NTM88x12 accelerometer in the extended range option (–175 g to +550 g) and have encountered a few points of confusion. I’ve attached the relevant datasheet table and application-note flowchart for reference.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Implementing AN13614 Offset-Step Identification&lt;/STRONG&gt;&lt;BR /&gt;AN13614 shows an algorithm for finding the “starting offset step” and then updating it based on raw ADC readings when using standard ±g ranges. For the –175 g…+550 g option, the NTM88Jxx5S-DS datasheet’s Table 18 indicates that the offset steps are listed in reverse order. When I port the AN13614 logic to this range, should I simply invert the step index comparisons (i.e. decrement where the note increments and vice versa)?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Conversion Formula Applicability&lt;BR /&gt;&lt;/STRONG&gt;AN13614 defines the acceleration-transfer function as:&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kafei42_3-1751486506057.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345835i76805EF5B39B99D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kafei42_3-1751486506057.png" alt="Kafei42_3-1751486506057.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Can I apply this same formula unchanged for the –175 g…+550 g range—even though its offset steps are in inverted order—or must the formula itself be adjusted to account for the reversal?&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Usable Offset-Step Subset&lt;BR /&gt;&lt;/STRONG&gt;AN13614 mentions that “for certain models only offset steps 4…10 are usable, as indicated in the datasheet.” I did not find any step-range restriction in either the NTM88Jxx5S-DS or related datasheets. Which offset-step indices are officially supported for the all others variants, and where is it documented?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thank you in advance for any guidance you can provide!&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kafei42_2-1751486422379.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345834i13996D17D085C611/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kafei42_2-1751486422379.png" alt="Kafei42_2-1751486422379.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Kafei42_0-1751486378196.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345833iF94D61931A922B6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Kafei42_0-1751486378196.png" alt="Kafei42_0-1751486378196.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 20:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2127540#M8881</guid>
      <dc:creator>Kafei42</dc:creator>
      <dc:date>2026-02-03T20:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Offset-Step Identification and Conversion for NTM88x12</title>
      <link>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2127764#M8882</link>
      <description>&lt;P&gt;Hello Kafei42,&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Implementing AN13614 Offset-Step Identification&lt;/STRONG&gt;&lt;BR /&gt;AN13614 shows an algorithm for finding the “starting offset step” and then updating it based on raw ADC readings when using standard ±g ranges. For the –175 g…+550 g option, the NTM88Jxx5S-DS datasheet’s Table 18 indicates that the offset steps are listed in reverse order. When I port the AN13614 logic to this range, should I simply invert the step index comparisons (i.e. decrement where the note increments and vice versa)?&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;[A]&amp;nbsp;Yes, for the extended range (–175 g to +550 g), the&amp;nbsp;offset steps are listed in reverse order&amp;nbsp;in Table 18 of the NTM88Jxx5S-DS datasheet. Therefore, when porting the&amp;nbsp;AN13614 algorithm, you should&amp;nbsp;invert the step index comparisons.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2. Conversion Formula Applicability&lt;BR /&gt;&lt;/STRONG&gt;AN13614 defines the acceleration-transfer function as:&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_0-1751519409693.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345899i4E9430C01513580D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_0-1751519409693.png" alt="JozefKozon_0-1751519409693.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can I apply this same formula unchanged for the –175 g…+550 g range—even though its offset steps are in inverted order—or must the formula itself be adjusted to account for the reversal?&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;[A]&amp;nbsp;The&amp;nbsp;acceleration-transfer function&amp;nbsp;defined in AN13614 can still be applied&amp;nbsp;unchanged, even for the extended range. The formula itself is&amp;nbsp;independent of the offset step order; it operates on the&amp;nbsp;raw ADC values and offset step index.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3. Usable Offset-Step Subset&lt;BR /&gt;&lt;/STRONG&gt;AN13614 mentions that “for certain models only offset steps 4…10 are usable, as indicated in the datasheet.” I did not find any step-range restriction in either the NTM88Jxx5S-DS or related datasheets. Which offset-step indices are officially supported for the all others variants, and where is it documented?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_1-1751519409618.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345900iC3535A5B8F5206CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_1-1751519409618.png" alt="JozefKozon_1-1751519409618.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_2-1751519409752.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/345901i3BACCD726C87157F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_2-1751519409752.png" alt="JozefKozon_2-1751519409752.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;[A]&amp;nbsp;There is&amp;nbsp;no documented restriction&amp;nbsp;in the datasheet for the –175 g to +550 g variant. Unless otherwise specified in a future datasheet revision or errata,&amp;nbsp;you may assume all offset steps are usable&amp;nbsp;for this range.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 05:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2127764#M8882</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2025-07-03T05:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Offset-Step Identification and Conversion for NTM88x12</title>
      <link>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2128727#M8886</link>
      <description>&lt;P&gt;Hello Jozef,&lt;/P&gt;&lt;P&gt;Thanks again for your clear answers!&lt;/P&gt;&lt;P&gt;I implemented the AN13614 algorithms exactly as described, using these macros:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;// LSB limits for compensated value&lt;BR /&gt;#define LSB_A_MIN 2 // LSB&lt;BR /&gt;#define LSB_A_MAX 1022 // LSB&lt;/P&gt;&lt;P&gt;// Number of half-bands from AN13614&lt;BR /&gt;#define HALF_BANDS_A 17.0&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;// Visual proof:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//&amp;nbsp; &amp;nbsp;bands:&amp;nbsp; |--0---|---2---|--4---|---6---|---8---|---10---|---12---|---14---|&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Min |-1-|-2-|-3-|-4-|-5-|-6-|-7-|-8-|-9-|-10-|-11-|-12-|-13-|-14-|-15-|-16-|-17-| Max&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;//&amp;nbsp; &amp;nbsp;bands:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |---1---|---3---|--5---|---7---|---9---|---11----|---13---|---15----|&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;// Band step size (G)&lt;BR /&gt;#define CALC_STEP(min, max) (float)((max - min) / HALF_BANDS_A)&lt;/P&gt;&lt;P&gt;// Lower bound of a band (G)&lt;BR /&gt;#define CALC_BAND_MIN(acc_min, band, step) (float)(acc_min + (band * step))&lt;/P&gt;&lt;P&gt;// Delta (G/LSB)&lt;BR /&gt;#define CALC_DELTA(step) (float)((2.0f * step) / (LSB_A_MAX - LSB_A_MIN))&lt;/P&gt;&lt;P&gt;// Offset (G)&lt;BR /&gt;#define CALC_OFFSET(band_min, delta) (float)(band_min - (LSB_A_MIN * delta))&lt;/P&gt;&lt;P&gt;typedef enum {&lt;BR /&gt;BAND_0 = 0,&lt;BR /&gt;BAND_1,&lt;BR /&gt;…,&lt;BR /&gt;BAND_15&lt;BR /&gt;} accel_band_t;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For example, for &lt;STRONG&gt;–80 g…+90 g&lt;/STRONG&gt; I did:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;#define N80_90_MIN -80.0f&lt;BR /&gt;#define N80_90_MAX 90.0f&lt;BR /&gt;#define N80_90_STEP CALC_STEP(N80_90_MIN, N80_90_MAX)&lt;BR /&gt;#define N80_90_DELTA CALC_DELTA(N80_90_STEP)&lt;/P&gt;&lt;P&gt;#define N80_90_BAND0_MIN CALC_BAND_MIN(N80_90_MIN, BAND_0, N80_90_STEP) // –80.0 g&lt;BR /&gt;#define N80_90_BAND0_OFFSET CALC_OFFSET(N80_90_BAND0_MIN, N80_90_DELTA)&lt;BR /&gt;… (bands 1 through 15)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt; For the –80…+90 g range, my computed band limits and offsets match the datasheet exactly.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; For the other ranges (–360…+400 g, –120…+520 g, –175…+550 g, –400…+400 g), my values diverge significantly from those listed in their datasheets.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Is there any NXP reference (application note, errata, or spreadsheet) that provides the full set of ΔA, proof-inertia (@Aₘᵢₙ) and offset values for all 16 steps of each of the five acceleration ranges? Having those tables or formulas would help me validate and correct my implementation.&lt;/P&gt;&lt;P&gt;Thanks in advance for any pointers or documents you can share!&lt;BR /&gt;-Kafei&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 15:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2128727#M8886</guid>
      <dc:creator>Kafei42</dc:creator>
      <dc:date>2025-07-04T15:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Offset-Step Identification and Conversion for NTM88x12</title>
      <link>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2129295#M8890</link>
      <description>&lt;P&gt;Hello Jozef,&lt;/P&gt;&lt;P&gt;Thanks again for your clear answers!&lt;/P&gt;&lt;P&gt;I implemented the AN13614 algorithms exactly as described, using these macros:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;LI-CODE lang="c"&gt;// LSB limits for compensated value
#define LSB_A_MIN     2    // LSB
#define LSB_A_MAX   1022   // LSB

// Number of half-bands from AN13614
#define HALF_BANDS_A 17.0f  

// Band step size (G)
#define CALC_STEP(min, max)      ( ((max) - (min)) / HALF_BANDS_A )

// Lower bound of a band (G)
#define CALC_BAND_MIN(acc_min, band, step)  ( (acc_min) + ((band) * (step)) )

// Delta (G/LSB)
#define CALC_DELTA(step)         ( (2.0f * (step)) / (LSB_A_MAX - LSB_A_MIN) )

// Offset (G)
#define CALC_OFFSET(band_min, delta)        ( (band_min) - (LSB_A_MIN * (delta)) )

typedef enum {
    BAND_0 = 0,
    BAND_1,
    …,
    BAND_15
} accel_band_t;&lt;/LI-CODE&gt;&lt;P&gt;For example, for &lt;STRONG&gt;–80 g…+90 g&lt;/STRONG&gt; I did:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#define N80_90_MIN   -80.0f
#define N80_90_MAX    90.0f
#define N80_90_STEP   CALC_STEP(N80_90_MIN, N80_90_MAX)
#define N80_90_DELTA  CALC_DELTA(N80_90_STEP)

#define N80_90_BAND0_MIN    CALC_BAND_MIN(N80_90_MIN, 0, N80_90_STEP)   // –80.0 g
#define N80_90_BAND0_OFFSET CALC_OFFSET(N80_90_BAND0_MIN, N80_90_DELTA)
… (bands 1 through 15)&lt;/LI-CODE&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Result:&lt;/STRONG&gt; For the –80…+90 g range, my computed band limits and offsets match the datasheet exactly.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt; For the other ranges (–360…+400 g, –120…+520 g, –175…+550 g, –400…+400 g), my values diverge significantly from those listed in their datasheets.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Is there any NXP reference (application note, errata, or spreadsheet) that provides the full set of ΔA, proof-inertia (@Aₘᵢₙ) and offset values for all 16 steps of each of the five acceleration ranges? Having those tables or formulas would help me validate and correct my implementation.&lt;/P&gt;&lt;P&gt;Thanks in advance for any pointers or documents you can share!&lt;/P&gt;&lt;P&gt;— Kafei&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 12:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2129295#M8890</guid>
      <dc:creator>Kafei42</dc:creator>
      <dc:date>2025-07-07T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification on Offset-Step Identification and Conversion for NTM88x12</title>
      <link>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2130571#M8891</link>
      <description>&lt;P&gt;Hello Kafei42,&lt;/P&gt;
&lt;P&gt;references that include the full set of&amp;nbsp;ΔA (delta), offset, and proof-inertia values&amp;nbsp;for all 16 offset steps across the five acceleration ranges supported by the NTM88 sensor family can be found in the AN13614, UM11227 and in the UM11145. Please see below.&lt;/P&gt;
&lt;H3&gt;AN13614&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Formulas for ΔA and Offset:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="math math-inline"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;ΔA=2⋅StepSizeLSBmax−LSBmin&lt;/SPAN&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;Δ&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mfrac"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;LSB&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size3 size1 mtight"&gt;&lt;SPAN class="mord text mtight"&gt;max&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin mtight"&gt;−&lt;/SPAN&gt;&lt;SPAN class="mord text mtight"&gt;LSB&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size3 size1 mtight"&gt;&lt;SPAN class="mord text mtight"&gt;min&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;2&lt;SPAN class="mbin mtight"&gt;⋅&lt;/SPAN&gt;&lt;SPAN class="mord text mtight"&gt;StepSize&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="math math-inline"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;Offset=BandMin−(LSBmin⋅ΔA)&lt;/SPAN&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord text"&gt;&lt;SPAN class="mord"&gt;Offset&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord text"&gt;&lt;SPAN class="mord"&gt;BandMin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mopen"&gt;(&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mord text"&gt;LSB&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;min&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;⋅&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;Δ&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="mclose"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Step-by-step breakdown&amp;nbsp;of how each offset step maps to a subrange of the full acceleration range.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Illustrative examples&amp;nbsp;for ranges like –360 g to +400 g, showing how each step overlaps and transitions.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Proof-inertia calculation&amp;nbsp;using:&lt;/P&gt;
&lt;DIV class="math math-display"&gt;&lt;SPAN class="katex-display"&gt;&lt;SPAN class="katex"&gt;&lt;SPAN class="katex-mathml"&gt;ΔAMAX–MIN=Proof&amp;nbsp;Inertia&amp;nbsp;@AMAX−Proof&amp;nbsp;Inertia&amp;nbsp;@AMINAMAX−AMIN&lt;/SPAN&gt;&lt;SPAN class="katex-html"&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;Δ&lt;/SPAN&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MAX–MIN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mrel"&gt;=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="base"&gt;&lt;SPAN class="mord"&gt;&lt;SPAN class="mfrac"&gt;&lt;SPAN class="vlist-t vlist-t2"&gt;&lt;SPAN class="vlist-r"&gt;&lt;SPAN class="vlist"&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MAX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&lt;/SPAN&gt;&lt;SPAN class="mord mathnormal"&gt;A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MIN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mord text"&gt;Proof&amp;nbsp;Inertia&amp;nbsp;@A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MAX&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="mbin"&gt;−&lt;/SPAN&gt;&lt;SPAN class="mord text"&gt;Proof&amp;nbsp;Inertia&amp;nbsp;@A&lt;/SPAN&gt;&lt;SPAN class="msupsub"&gt;&lt;SPAN class="sizing reset-size6 size3 mtight"&gt;&lt;SPAN class="mord mtight"&gt;&lt;SPAN class="mord text mtight"&gt;MIN&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="vlist-s"&gt;​&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;H3&gt;UM11145-https://&lt;A href="http://www.nxp.com/docs/en/user-manual/UM11145.pdf" target="_blank"&gt;www.nxp.com/docs/en/user-manual/UM11145.pdf&lt;/A&gt;&lt;/H3&gt;
&lt;P&gt;This guide explains how the firmware uses the ΔA and offset values during compensation:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Describes the&amp;nbsp;Universal Uncompensated Measurement Array (UUMA)&amp;nbsp;format.&lt;/LI&gt;
&lt;LI&gt;Lists all compensation functions, including&amp;nbsp;&lt;CODE&gt;TPMS_COMP_ACCEL_X&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;TPMS_COMP_ACCEL_Z&lt;/CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;Confirms that&amp;nbsp;compensation relies on factory-programmed trim coefficients, which are essential for accurate results.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the&amp;nbsp;–175 g to +550 g&amp;nbsp;range,&amp;nbsp;offset steps are listed in reverse order&amp;nbsp;in the datasheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/UM11227/page/topics/optional_acceleration_measurements.html" target="_blank"&gt;https://docs.nxp.com/bundle/UM11227/page/topics/optional_acceleration_measurements.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JozefKozon_0-1752036362796.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/346668i36554471971036C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JozefKozon_0-1752036362796.png" alt="JozefKozon_0-1752036362796.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Best Regards,&lt;/P&gt;
&lt;P&gt;Jozef&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 04:46:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/Clarification-on-Offset-Step-Identification-and-Conversion-for/m-p/2130571#M8891</guid>
      <dc:creator>JozefKozon</dc:creator>
      <dc:date>2025-07-09T04:46:57Z</dc:date>
    </item>
  </channel>
</rss>

