<?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>Kinetis Microcontrollers中的主题 Re: i2C issue on MKE17Z</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1764298#M65744</link>
    <description>&lt;P&gt;Hello, thanks for your information I´m afraid is not enough, could you attach an image from a sniffer of your communication? I want to review if the I2C receiver device has not halted the bus.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 20:46:10 GMT</pubDate>
    <dc:creator>Pavel_Hernandez</dc:creator>
    <dc:date>2023-11-27T20:46:10Z</dc:date>
    <item>
      <title>i2C issue on MKE17Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1760710#M65720</link>
      <description>&lt;P&gt;Hi, I have two devices communicating via i2C. Both of them are based on MKE17Z MCUs and I am using SDK version 2.12 and fsl_lpi2c.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used &lt;STRONG&gt;lpi2c_transfer&lt;/STRONG&gt; as a reference for my development and the data exchange is correct, but my master device is resetting randomly after several seconds.When I check the reset reason I can see a&amp;nbsp;kRCM_SourceLockup but I am stuck there as I do not know where this reset comes from...&lt;/P&gt;&lt;P&gt;I have been reading many different posts on i2C communication with NXP and trying several things, but so far, I have not found a solution...&lt;/P&gt;&lt;P&gt;Could you please shed some light in this?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 11:27:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1760710#M65720</guid>
      <dc:creator>afcec</dc:creator>
      <dc:date>2023-11-21T11:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: i2C issue on MKE17Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1762242#M65732</link>
      <description>&lt;P&gt;Hello, my name is Pavel, and I will be supporting your case, I need more details about the behavior, only to understand when you say reset&amp;nbsp;randomly&amp;nbsp;is the board powered off on process? Do you have a FRDM board, or it is a custom board? I have the idea you are in a debug session because you notice that&amp;nbsp;&lt;SPAN&gt;kRCM_SourceLockup, if you&amp;nbsp;test it without a debug&amp;nbsp;session is the behavior the same?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 00:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1762242#M65732</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2023-11-23T00:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: i2C issue on MKE17Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1762450#M65735</link>
      <description>&lt;P&gt;Hello Pavel and thanks for your help. Let me try to explain a little bit better my scenario:&lt;/P&gt;&lt;P&gt;1. I am communicating via i2C two custom boards, both of them integrating MKE17Z&lt;/P&gt;&lt;P&gt;2. The behaviour is the same with and without a debug session&lt;/P&gt;&lt;P&gt;3. The master calls&amp;nbsp;LPI2C_MasterTransferNonBlocking every 20 ms, alternating&amp;nbsp;kLPI2C_Write and&amp;nbsp;kLPI2C_Read operations&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Format and length of the messages sent by each of the devices is always the same&lt;/P&gt;&lt;P&gt;5. Everything seems to be working fine but after several seconds (10,20, 30...) the master board resets and the reset reason reported is&amp;nbsp;&lt;SPAN&gt;kRCM_SourceLockup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;6. If I disable read transactions in the master, there are no resets. However, if I enable read and disable write transactions, the resets are there again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. I am using IEC 60730 Class B safety library in my project, which is in fact the base pillar of our code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you need anything else, just ask. Thanks again!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 07:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1762450#M65735</guid>
      <dc:creator>afcec</dc:creator>
      <dc:date>2023-11-23T07:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: i2C issue on MKE17Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1762959#M65738</link>
      <description>&lt;P&gt;Hello, could you tell me what example you are based on? and I have a doubt, are the messages is sending and received right in those 20ms? I suggest reducing the charge of the bus.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 00:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1762959#M65738</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2023-11-24T00:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: i2C issue on MKE17Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1763141#M65739</link>
      <description>&lt;P&gt;Hi, I used &lt;STRONG&gt;interrupt_b2b_transfer&lt;/STRONG&gt;&amp;nbsp;from &lt;STRONG&gt;lpi2c driver&lt;/STRONG&gt; examples (SDK FRDM-KE17 2.12) for both, slave and master although customised for my needs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I call&amp;nbsp;LPI2C_MasterTransferNonBlocking for read/write transactions every 20 ms (read, write, read, write...) using an ISR timer interrupt function (1ms)&lt;/LI&gt;&lt;LI&gt;I use a flag as in the example, to control whether previous transfer completed or not before starting a new transaction. If the callback has not been called (nor success neither nack) I just skip next transfer. There is no while loop as in your example.&lt;/LI&gt;&lt;LI&gt;The messages exchanged between master and slave have a length of 12 and 10 bytes so I guess there should be no problem with sending and receiving in 20 ms, am I right? However, I have tried changing to 40 or 80 ms with the same results.&lt;/LI&gt;&lt;LI&gt;There is another change I forgot to mention: I am not using subaddress, so I am just setting masterXfer.subaddress=0 and&amp;nbsp;masterXfer.subaddressSize = 0 when calling&amp;nbsp;LPI2C_MasterTransferNonBlocking.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 06 Feb 2024 11:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1763141#M65739</guid>
      <dc:creator>afcec</dc:creator>
      <dc:date>2024-02-06T11:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: i2C issue on MKE17Z</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1764298#M65744</link>
      <description>&lt;P&gt;Hello, thanks for your information I´m afraid is not enough, could you attach an image from a sniffer of your communication? I want to review if the I2C receiver device has not halted the bus.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 20:46:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/i2C-issue-on-MKE17Z/m-p/1764298#M65744</guid>
      <dc:creator>Pavel_Hernandez</dc:creator>
      <dc:date>2023-11-27T20:46:10Z</dc:date>
    </item>
  </channel>
</rss>

