<?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: I2C communication getting stuck during data read from FRAM in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2175213#M4113</link>
    <description>&lt;P&gt;This is the CFG register on the User Guide:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_0-1758738857336.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358377i8A7FE9D1BC20F4F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_Anguiano_0-1758738857336.png" alt="Omar_Anguiano_0-1758738857336.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can enable it through MasterInit(); by setting the variable masterConfig-&amp;gt;enableTimeout&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Omar&lt;/P&gt;</description>
    <pubDate>Wed, 24 Sep 2025 18:34:28 GMT</pubDate>
    <dc:creator>Omar_Anguiano</dc:creator>
    <dc:date>2025-09-24T18:34:28Z</dc:date>
    <item>
      <title>I2C communication getting stuck during data read from FRAM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2171175#M4077</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have recently started working on LPC55S69 controller and i am trying to read data from FRAM over the I2C bus. But some time i am facing the issue to read the data from FRAM as my code is getting stuck while reading the data. i have configured the I2C timeout but not sure if it is being used correctly or not. Also, i am using "I2C_MasterTransferBlocking" for my purpose. Can someone with good knowledge on this topic guide me how to use this timeout and how to improve my i2c communication so that it won't get stuck during communication.&lt;/P&gt;&lt;P&gt;TIA.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 14:05:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2171175#M4077</guid>
      <dc:creator>bcihpaivnan</dc:creator>
      <dc:date>2025-09-17T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: I2C communication getting stuck during data read from FRAM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2173716#M4098</link>
      <description>&lt;P&gt;The timeout value can be set with I2C_MasterSetTimeoutValue().&lt;/P&gt;
&lt;P&gt;But first, you need to ensure that timeout is enabled on CFG register. Then you will chose if the timeout will be event caused or by SCL line. With the timeout, you can choose the action to recover the bus. If the slave is holding the bus, then the master can recover by manually sending SCL pulses until SDA is released.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 18:43:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2173716#M4098</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2025-09-22T18:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: I2C communication getting stuck during data read from FRAM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2174357#M4105</link>
      <description>&lt;P&gt;Thank you for the reply. timeout is set during the I2c initialization using&amp;nbsp;&lt;SPAN&gt;I2C_MasterSetTimeoutValue() function. But how can i ensure&amp;nbsp;if timeout is enabled on CFG register can you guide on this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 13:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2174357#M4105</guid>
      <dc:creator>bcihpaivnan</dc:creator>
      <dc:date>2025-09-23T13:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: I2C communication getting stuck during data read from FRAM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2174473#M4108</link>
      <description>&lt;P&gt;The CFG register has a field that when it is set, the timeout is enabled.&amp;nbsp;&lt;BR /&gt;If you check the&amp;nbsp;&lt;SPAN&gt;I2C_MasterSetTimeoutValue() function, it only writes to the timeout register field, but it does not enable the timeout.&amp;nbsp;&lt;BR /&gt;The config for MasterInit() has a field to set the timeout.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR,&lt;BR /&gt;Omar&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 17:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2174473#M4108</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2025-09-23T17:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: I2C communication getting stuck during data read from FRAM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2174787#M4110</link>
      <description>&lt;P&gt;Again thank you for the reply and sorry for sounding like noob but i could not find anything related to CGF register.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The CFG register has a field that when it is set, the timeout is enabled.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you suggest any Api available or method to set that field? i am using MCUExpresso IDE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 06:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2174787#M4110</guid>
      <dc:creator>bcihpaivnan</dc:creator>
      <dc:date>2025-09-24T06:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: I2C communication getting stuck during data read from FRAM</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2175213#M4113</link>
      <description>&lt;P&gt;This is the CFG register on the User Guide:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Omar_Anguiano_0-1758738857336.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358377i8A7FE9D1BC20F4F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Omar_Anguiano_0-1758738857336.png" alt="Omar_Anguiano_0-1758738857336.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can enable it through MasterInit(); by setting the variable masterConfig-&amp;gt;enableTimeout&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 18:34:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/I2C-communication-getting-stuck-during-data-read-from-FRAM/m-p/2175213#M4113</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2025-09-24T18:34:28Z</dc:date>
    </item>
  </channel>
</rss>

