<?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: Not able to read Interrupt Status Register on MAX30102 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622520#M52043</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214813"&gt;@_dabo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;When I try to read the MAX30102's interrupt status registers on this first interrupt, I get a value of 0x00.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Does the MAX30102 need enabled interrupt before, or did the status register cleared when you read? I think you need read User Manual of this sensor about how to config and handler the interrupt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 10:38:08 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2023-03-27T10:38:08Z</dc:date>
    <item>
      <title>Not able to read Interrupt Status Register on MAX30102</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622435#M52041</link>
      <description>&lt;P&gt;I am currently trying to develop a pulse oximeter. For this I use the MAX30102 sensor and the NXP LPC1768 microcontroller. The communication is done via I2C.&lt;/P&gt;&lt;P&gt;I have configured the MAX30102 sensor to generate an interrupt as soon as the FIFO is full.&lt;/P&gt;&lt;P&gt;As soon as I start the program in debug mode, an interrupt is generated (debug jumps to the interrupt service routine and the logic analyzer shows that the interrupt line goes low).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I try to read the MAX30102's interrupt status registers on this first interrupt, I get a value of 0x00.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;And no other interrupt is generated either. I suspect this is because the I2C read of the interrupt status register is not working properly, and thus the interrupt on the MAX30102 is not reset.&lt;/P&gt;&lt;P&gt;However, if I read the FIFO data register interrupts are continuously generated because reading this register resets the interrupts on the MAX30102.&lt;/P&gt;&lt;P&gt;But now to the whimsical part.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;If I read other registers of the MAX30102 with the same I2C read function, I get values&lt;/STRONG&gt;. E.g. the FIFO_CONFIG register, in which I have written before. There I get by reading the same value that I have written into the register.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But why does the reading of the interrupt status register with the same function not work?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I traced the I2C_Read_Function for reading both registers with a logic analyzer and it was correct for both registers.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does anyone of you have any general ideas what this problem could be and what I can try,&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;because I'm getting desperate with this project?! I have already tried a lot, so I am grateful for any solution that I have not yet pursued.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attached my code files.&amp;nbsp;&lt;SPAN&gt;I tried to cut it to the important parts, but i can not narrow it down more.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:59:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622435#M52041</guid>
      <dc:creator>_dabo</dc:creator>
      <dc:date>2023-03-27T08:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to read Interrupt Status Register on MAX30102</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622520#M52043</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214813"&gt;@_dabo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"&lt;STRONG&gt;When I try to read the MAX30102's interrupt status registers on this first interrupt, I get a value of 0x00.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;-&amp;gt;&amp;gt; Does the MAX30102 need enabled interrupt before, or did the status register cleared when you read? I think you need read User Manual of this sensor about how to config and handler the interrupt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 10:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622520#M52043</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-03-27T10:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to read Interrupt Status Register on MAX30102</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622605#M52047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thanks for replying.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes MAX30102 needs to enable interrupt. I am doing so in max30102_init() and confirmed via Logic Analzyer that Interrupts are generated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Interrupt Status Register clears after reading, but at the moment i am reading the register it should not be cleared.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 12:44:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1622605#M52047</guid>
      <dc:creator>_dabo</dc:creator>
      <dc:date>2023-03-27T12:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to read Interrupt Status Register on MAX30102</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1756213#M54691</link>
      <description>&lt;OL&gt;&lt;LI&gt;Does this sensor work with LPC2378?? Please answer my question.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 13 Nov 2023 10:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Not-able-to-read-Interrupt-Status-Register-on-MAX30102/m-p/1756213#M54691</guid>
      <dc:creator>sridhar150202</dc:creator>
      <dc:date>2023-11-13T10:35:00Z</dc:date>
    </item>
  </channel>
</rss>

