<?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>Other NXP ProductsのトピックRe: MIMXRT1064 I2C Does not Read</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284454#M11181</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;1) Does the read buffer to LPI2C have to be in non-cacheable memory? Is that the issue?&lt;BR /&gt;-- No, however, I'd like to recommend you store the read data in non-cacheable memory to avoid the cache data coherency problem.&lt;BR /&gt;Further, I'd like to suggest you use a logic analyzer to observe the I2C data stream and compare it to the slave device's datasheet, I think it can give you an insight into the phenomenon.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 02:30:02 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2021-05-31T02:30:02Z</dc:date>
    <item>
      <title>MIMXRT1064 I2C Does not Read</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1283708#M11163</link>
      <description>&lt;P&gt;I'm using MCUXpresso with an MIMXRT1064 processor.&amp;nbsp; I am able to write data to my I2C device just fine, I can even read (according to sniffing the I2C bus) but the data is not removed from the stream and placed in my buffer.&lt;/P&gt;&lt;P&gt;The calls are:&lt;/P&gt;&lt;P&gt;uint8_t val = 0;&lt;/P&gt;&lt;P&gt;val = 0xee;&lt;/P&gt;&lt;P&gt;BOARD_LPI2C_Send(base, SSM4567_ADDR, SSM4567_REG_DAC_VOLUME, 1, (uint8_t *) &amp;amp;val, sizeof(val));&lt;/P&gt;&lt;P&gt;val = 0;&lt;/P&gt;&lt;P&gt;BOARD_LPI2C_Receive(base, SSM4567_ADDR, SSM4567_REG_DAC_VOLUME, 1, (uint8_t *) &amp;amp;val, sizeof(val));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting the device's volume to 0xee works just fine, reading it back works fine too as the 0xee data is returned in the I2C stream.&amp;nbsp; However, the LPI2C driver doesn't move that data to my buffer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 21:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1283708#M11163</guid>
      <dc:creator>BryanWilcutt</dc:creator>
      <dc:date>2021-05-27T21:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1064 I2C Does not Read</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1283835#M11164</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;To provide the fastest possible support, I'd highly recommend you refer to the lpi2c demos in the SDK library.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 03:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1283835#M11164</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-05-28T03:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1064 I2C Does not Read</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284180#M11174</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Okay, I am able to read my data from the LPI2C bus, however it is ONE byte behind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words:&lt;/P&gt;&lt;P&gt;Write 5 - &amp;gt; Read garbage&lt;/P&gt;&lt;P&gt;Write 6 - &amp;gt; Read 5&lt;/P&gt;&lt;P&gt;Write 7 - &amp;gt; Read 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Write 5 - &amp;gt; Read 5&lt;/P&gt;&lt;P&gt;Write 6 - &amp;gt; Read 6&lt;/P&gt;&lt;P&gt;Write 7 - &amp;gt; Read 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the hardware buffering the LPI2C and sending me back the PREVIOUS packet?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284180#M11174</guid>
      <dc:creator>BryanWilcutt</dc:creator>
      <dc:date>2021-05-28T13:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1064 I2C Does not Read</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284182#M11175</link>
      <description>&lt;P&gt;Thank you for your reply!&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 14:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284182#M11175</guid>
      <dc:creator>BryanWilcutt</dc:creator>
      <dc:date>2021-05-28T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1064 I2C Does not Read</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284187#M11176</link>
      <description>&lt;P&gt;Jeremy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the read buffer to LPI2C have to be in non-cacheable memory?&amp;nbsp; Is that the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:56:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284187#M11176</guid>
      <dc:creator>BryanWilcutt</dc:creator>
      <dc:date>2021-05-28T13:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1064 I2C Does not Read</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284454#M11181</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;1) Does the read buffer to LPI2C have to be in non-cacheable memory? Is that the issue?&lt;BR /&gt;-- No, however, I'd like to recommend you store the read data in non-cacheable memory to avoid the cache data coherency problem.&lt;BR /&gt;Further, I'd like to suggest you use a logic analyzer to observe the I2C data stream and compare it to the slave device's datasheet, I think it can give you an insight into the phenomenon.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;
&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 02:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MIMXRT1064-I2C-Does-not-Read/m-p/1284454#M11181</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-05-31T02:30:02Z</dc:date>
    </item>
  </channel>
</rss>

