<?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: PCA9555 i2c Expander not triggering Interrupt in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606156#M16855</link>
    <description>&lt;P&gt;Ok here are the scope shots.&lt;/P&gt;&lt;P&gt;Yellow = Input, a simple switch that pulls pin 6 low.&lt;/P&gt;&lt;P&gt;Blue = i2c Data line in normal "read always" mode&lt;BR /&gt;&lt;BR /&gt;Pink = Interrupt pin. It will always stay high.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDS00002.png" style="width: 800px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212501iAFFE1648223EDF91/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDS00002.png" alt="SDS00002.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDS00001.png" style="width: 800px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212502iFDF9AC8F1B51C1DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDS00001.png" alt="SDS00001.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2023 14:37:46 GMT</pubDate>
    <dc:creator>DanS_35</dc:creator>
    <dc:date>2023-02-27T14:37:46Z</dc:date>
    <item>
      <title>PCA9555 i2c Expander not triggering Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606093#M16848</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have a problem with the PCA9555 i2c expanders - the Interrupt Pin will just never change state even though the Inputs change and I can read them out just fine.&lt;/P&gt;&lt;P&gt;This is my initialisation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void configurePCA9555(int address) {
  uint8_t config[2] = {0x06, 0xFF}; // set configuration register for inputs with pull-up
  ret = HAL_FMPI2C_Master_Transmit(&amp;amp;hfmpi2c1, address, config, 2, HAL_MAX_DELAY);
  if (ret != HAL_OK){
  	  printf("Error setting Config\r\n");
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is how I read it out:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;void readPCA9555Inputs(uint8_t* portreadout, int address) {
	uint8_t buf[2];
    buf[0] = 0x00; // input register address
    ret = HAL_FMPI2C_Master_Transmit(&amp;amp;hfmpi2c1, address, buf, 1, HAL_MAX_DELAY);
    if (ret != HAL_OK){
	  printf("Error accessing port.\r\n");
    }
    else{
	  ret = HAL_FMPI2C_Master_Receive(&amp;amp;hfmpi2c1, address, buf, 2, HAL_MAX_DELAY);
	  if (ret != HAL_OK){
		  printf("Error reading port.\r\n");
	  }
    }
    portreadout[0] = buf[0];
    portreadout[1] = buf[1];
}&lt;/LI-CODE&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;&lt;P&gt;The interrupt pin however will remain high (pull-up) and it will remain there, confirmed with a scope.&lt;/P&gt;&lt;P&gt;I'm sure it's a very simple thing, but I can't figure it out right now.&lt;/P&gt;&lt;P&gt;I also use a PCAL6524 expander in the same design and that INT pin is working just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 12:58:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606093#M16848</guid>
      <dc:creator>DanS_35</dc:creator>
      <dc:date>2023-02-27T12:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9555 i2c Expander not triggering Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606119#M16853</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;
&lt;P&gt;I have not heard of such a problem before.&lt;/P&gt;
&lt;P&gt;It seems like IO0 pins are correctly configured as inputs.&lt;/P&gt;
&lt;P&gt;When do you read the Input Port 0 register? In your ISR? Note that the interrupt is deactivated when the Input Port register is read.&lt;/P&gt;
&lt;P&gt;Could you please share here a scope shot (input signal, INT output, Input Port 0 register read) illustrating this behavior?&lt;/P&gt;
&lt;P&gt;What is the value of your INT pull-up resistor and how many PCA9555 ICs have you tested so far?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Tomas&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 13:51:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606119#M16853</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2023-02-27T13:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9555 i2c Expander not triggering Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606129#M16854</link>
      <description>&lt;P&gt;Hey Tomas,&lt;/P&gt;&lt;P&gt;I'm currently just polling in my main loop if the Pin goes low to then read the port.&lt;/P&gt;&lt;P&gt;It obviously, right now, will never be read like this though so I uncommented it and just read every loop, not ideal, but works.&lt;BR /&gt;I'm doing the very same thing with the PCAL6524 where it works like this.&lt;/P&gt;&lt;P&gt;I use the internal pull-up of my MCU which is specified with 40k typ (30k min, 50k max).&lt;/P&gt;&lt;P&gt;I'll try to get the requested scope shots.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 14:04:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606129#M16854</guid>
      <dc:creator>DanS_35</dc:creator>
      <dc:date>2023-02-27T14:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9555 i2c Expander not triggering Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606156#M16855</link>
      <description>&lt;P&gt;Ok here are the scope shots.&lt;/P&gt;&lt;P&gt;Yellow = Input, a simple switch that pulls pin 6 low.&lt;/P&gt;&lt;P&gt;Blue = i2c Data line in normal "read always" mode&lt;BR /&gt;&lt;BR /&gt;Pink = Interrupt pin. It will always stay high.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDS00002.png" style="width: 800px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212501iAFFE1648223EDF91/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDS00002.png" alt="SDS00002.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SDS00001.png" style="width: 800px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/212502iFDF9AC8F1B51C1DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDS00001.png" alt="SDS00001.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 14:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606156#M16855</guid>
      <dc:creator>DanS_35</dc:creator>
      <dc:date>2023-02-27T14:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: PCA9555 i2c Expander not triggering Interrupt</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606718#M16866</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;
&lt;P&gt;I am not really sure what could be the root cause.&lt;/P&gt;
&lt;P&gt;Could you try to add some delay between the periodic reads of the Input Port 0 register?&lt;/P&gt;
&lt;P&gt;Could you double check the configuration of your MCU pin the INT output is connected to?&lt;/P&gt;
&lt;P&gt;If you have more PCA9555 ICs, do you experience this issue on all of them?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Tomas&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 08:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PCA9555-i2c-Expander-not-triggering-Interrupt/m-p/1606718#M16866</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2023-02-28T08:56:53Z</dc:date>
    </item>
  </channel>
</rss>

