<?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 FXLS8471Q  - FIFO Fill mode example code in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1817711#M7997</link>
    <description>&lt;P&gt;here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Sensors-Knowledge-Base/FXLS8471Q-FIFO-Fill-mode-example-code/ta-p/1108021" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Sensors-Knowledge-Base/FXLS8471Q-FIFO-Fill-mode-example-code/ta-p/1108021&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;by&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the first code block, I think the comment against CTRL_REG4 is wrong (or, at least, misleading):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void FXLS8471Q_Init (void)
{
  FXLS8471Q_WriteRegister(CTRL_REG1,   0x00); // Standby mode
  FXLS8471Q_WriteRegister(F_SETUP_REG, 0xA0); // FIFO Fill mode, 32 samples
  FXLS8471Q_WriteRegister(CTRL_REG4,   0x40); // Enable FIFO interrupt, push-pull, active low
  FXLS8471Q_WriteRegister(CTRL_REG5,   0x40); // Route the FIFO interrupt to INT1 - PTA5   
  FXLS8471Q_WriteRegister(CTRL_REG1,   0x19); // ODR = 100Hz, Active mode
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the datasheet, CTRL_REG&lt;STRONG&gt;4&lt;/STRONG&gt; contains only interrupt enable bits - not push-pull or active-low controls.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;push-pull and active-low controls are in CTRL_REG&lt;STRONG&gt;3&lt;/STRONG&gt;&amp;nbsp; (the defaults are push-pull &amp;amp; active-low).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Feb 2026 20:50:17 GMT</pubDate>
    <dc:creator>andrewneil</dc:creator>
    <dc:date>2026-02-03T20:50:17Z</dc:date>
    <item>
      <title>FXLS8471Q  - FIFO Fill mode example code</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1817711#M7997</link>
      <description>&lt;P&gt;here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Sensors-Knowledge-Base/FXLS8471Q-FIFO-Fill-mode-example-code/ta-p/1108021" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/Sensors-Knowledge-Base/FXLS8471Q-FIFO-Fill-mode-example-code/ta-p/1108021&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;by&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/12216"&gt;@TomasVaverka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the first code block, I think the comment against CTRL_REG4 is wrong (or, at least, misleading):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void FXLS8471Q_Init (void)
{
  FXLS8471Q_WriteRegister(CTRL_REG1,   0x00); // Standby mode
  FXLS8471Q_WriteRegister(F_SETUP_REG, 0xA0); // FIFO Fill mode, 32 samples
  FXLS8471Q_WriteRegister(CTRL_REG4,   0x40); // Enable FIFO interrupt, push-pull, active low
  FXLS8471Q_WriteRegister(CTRL_REG5,   0x40); // Route the FIFO interrupt to INT1 - PTA5   
  FXLS8471Q_WriteRegister(CTRL_REG1,   0x19); // ODR = 100Hz, Active mode
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the datasheet, CTRL_REG&lt;STRONG&gt;4&lt;/STRONG&gt; contains only interrupt enable bits - not push-pull or active-low controls.&lt;/P&gt;&lt;P&gt;The&amp;nbsp;push-pull and active-low controls are in CTRL_REG&lt;STRONG&gt;3&lt;/STRONG&gt;&amp;nbsp; (the defaults are push-pull &amp;amp; active-low).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Feb 2026 20:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1817711#M7997</guid>
      <dc:creator>andrewneil</dc:creator>
      <dc:date>2026-02-03T20:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471Q  - FIFO Fill mode example code</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1818491#M8000</link>
      <description>&lt;P&gt;Hello Andrew,&lt;/P&gt;
&lt;P&gt;Thank you again for your feedback, you are right, both the output mode (push-pull vs. open-drain) and polarity (active low vs. high) are configurable using bits pp_od and ipol in the CTRL_REG3 register.&lt;/P&gt;
&lt;P&gt;I have updated the FXLS8471Q_Init function to make this clear.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;void FXLS8471Q_Init (void)
{
  FXLS8471Q_WriteRegister(CTRL_REG1,   0x00); // Standby mode
  FXLS8471Q_WriteRegister(F_SETUP_REG, 0xA0); // FIFO Fill mode, 32 samples
  FXLS8471Q_WriteRegister(CTRL_REG3,   0x00); // Push-pull, active low interrupt
  FXLS8471Q_WriteRegister(CTRL_REG4,   0x40); // Enable FIFO interrupt
  FXLS8471Q_WriteRegister(CTRL_REG5,   0x40); // Route the FIFO interrupt to INT1 - PTA5   
  FXLS8471Q_WriteRegister(CTRL_REG1,   0x19); // ODR = 100Hz, Active mode
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Tomas&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 08:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1818491#M8000</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2024-02-29T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: FXLS8471Q  - FIFO Fill mode example code</title>
      <link>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1818662#M8001</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;It would be useful to have some samples like this for the FXLS896xAF, please ...&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 10:05:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXLS8471Q-FIFO-Fill-mode-example-code/m-p/1818662#M8001</guid>
      <dc:creator>andrewneil</dc:creator>
      <dc:date>2024-02-29T10:05:39Z</dc:date>
    </item>
  </channel>
</rss>

