<?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 MPL3115A2 - Automatic Capture and Poll (no interrupts)? in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/MPL3115A2-Automatic-Capture-and-Poll-no-interrupts/m-p/1034618#M6095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&amp;nbsp; Here's what I'd like to do, but either it's not an option, or I'm not setting it up and/or using it correctly.&lt;/P&gt;&lt;P&gt;1. Configure the automatic data capture at 1-second intervals.&lt;/P&gt;&lt;P&gt;2. set for altimeter mode&lt;/P&gt;&lt;P&gt;3. No fifo...just collect data and overwrite the value if I don't read it in time.&lt;/P&gt;&lt;P&gt;4. No interrupts...just poll PDR from the main program to know when to read data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have been able to set up the automatic data capture at (at 1s interval with OSR = 128 to mitigate noise), but the PDR flag seems to always be set, consequently the main program reads data at a rate much faster than 1s and the data isn't correct...it's around 80,000 and that's with the sensor just sitting on my desk where it should be very close to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any advice or assistance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2026 22:16:25 GMT</pubDate>
    <dc:creator>ckhassan</dc:creator>
    <dc:date>2026-02-03T22:16:25Z</dc:date>
    <item>
      <title>MPL3115A2 - Automatic Capture and Poll (no interrupts)?</title>
      <link>https://community.nxp.com/t5/Sensors/MPL3115A2-Automatic-Capture-and-Poll-no-interrupts/m-p/1034618#M6095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&amp;nbsp; Here's what I'd like to do, but either it's not an option, or I'm not setting it up and/or using it correctly.&lt;/P&gt;&lt;P&gt;1. Configure the automatic data capture at 1-second intervals.&lt;/P&gt;&lt;P&gt;2. set for altimeter mode&lt;/P&gt;&lt;P&gt;3. No fifo...just collect data and overwrite the value if I don't read it in time.&lt;/P&gt;&lt;P&gt;4. No interrupts...just poll PDR from the main program to know when to read data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have been able to set up the automatic data capture at (at 1s interval with OSR = 128 to mitigate noise), but the PDR flag seems to always be set, consequently the main program reads data at a rate much faster than 1s and the data isn't correct...it's around 80,000 and that's with the sensor just sitting on my desk where it should be very close to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any advice or assistance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:16:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MPL3115A2-Automatic-Capture-and-Poll-no-interrupts/m-p/1034618#M6095</guid>
      <dc:creator>ckhassan</dc:creator>
      <dc:date>2026-02-03T22:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: MPL3115A2 - Automatic Capture and Poll (no interrupts)?</title>
      <link>https://community.nxp.com/t5/Sensors/MPL3115A2-Automatic-Capture-and-Poll-no-interrupts/m-p/1034619#M6096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PDR flag is set when a new pressure/altitude data is ready and cleared by reading the OUT_P_MSB register.&lt;/P&gt;&lt;P&gt;By default the ST[3:0] = 0b0000, so for any OSR setting the time to data ready is 1s:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/100750iB272020AA6323B7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached you can find a simple code example for your reference. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2020 12:00:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MPL3115A2-Automatic-Capture-and-Poll-no-interrupts/m-p/1034619#M6096</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2020-02-17T12:00:52Z</dc:date>
    </item>
  </channel>
</rss>

