<?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>MCUXpresso IDE中的主题 Re: LS1012A - i2c slave mode</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012859#M5286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and also, if I installed Ubuntu 16.04 arm64, as described in NXP tutorial for this board, then this is the current i2c master driver, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink12" href="https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-imx.c" title="https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-imx.c"&gt;https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-imx.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to remove the i2c master driver from kernel module and include my&amp;nbsp;i2c slave driver, right? This will&amp;nbsp;cause several components on boards (like accelerator) which use I2C master be dysfunctional which is OK,&amp;nbsp; I need to use LS1012a for SoC-to-SoC communication.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2020 18:47:16 GMT</pubDate>
    <dc:creator>nineteenalready</dc:creator>
    <dc:date>2020-04-01T18:47:16Z</dc:date>
    <item>
      <title>LS1012A - i2c slave mode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012856#M5283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use current I2C reserver SDA, SCL pins for I2C Slave mode? e.g. I want to use &lt;STRONG&gt;ls1012a&lt;/STRONG&gt; as the i2c slave. If the driver should be re-programmed, please let me know details or how can I use the unreserved GPIO 2 pins as i2c SDA, SCL and serve it as a slave?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2020 19:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012856#M5283</guid>
      <dc:creator>nineteenalready</dc:creator>
      <dc:date>2020-03-10T19:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A - i2c slave mode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012857#M5284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=""&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class=""&gt;Please refer to&amp;nbsp;&lt;A href="https://community.nxp.com/thread/340162"&gt;https://community.nxp.com/thread/340162&lt;/A&gt;&amp;nbsp;.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;LS1012A master communicating to a &lt;SPAN&gt;&lt;STRONG&gt;slave&lt;/STRONG&gt;&lt;/SPAN&gt; thru &lt;SPAN&gt;&lt;STRONG&gt;I2C&lt;/STRONG&gt;&lt;/SPAN&gt; bus. during a read command the master gets reset (or the board hosting the master gets removed) and the &lt;SPAN&gt;&lt;STRONG&gt;slave&lt;/STRONG&gt;&lt;/SPAN&gt; was transmitting a bit (maybe the last bit) and that bit is zero (SDA line LOW).since the master is no ore providing the clock the &lt;SPAN&gt;&lt;STRONG&gt;slave&lt;/STRONG&gt;&lt;/SPAN&gt; stay in stuck driving SDA line to LOW.&lt;BR /&gt;now, the master restart to operate and it needs to get again control of the &lt;SPAN&gt;&lt;STRONG&gt;I2C&lt;/STRONG&gt;&lt;/SPAN&gt; bus. since the SDA line is forced low by the &lt;SPAN&gt;&lt;STRONG&gt;slave&lt;/STRONG&gt;&lt;/SPAN&gt; it is not able to proceed.the way to recover that is for the master to drive a train of clocks to force the &lt;SPAN&gt;&lt;STRONG&gt;slave&lt;/STRONG&gt;&lt;/SPAN&gt; to relinquish the bus (SDA lines).&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 08:18:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012857#M5284</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-03-12T08:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A - i2c slave mode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012858#M5285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply. Thanks, so AFAIU, the guy who asked this question in 2015, was going to use LS1021a (not a typo LS1012a) as I2C slave device as well, and he shared a part of the slave driver code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any open source code for the full version of i2c slave driver for LS1012a? I might find it a bit hard to write my own one, or&amp;nbsp;I should refer to some related links that would be helpful. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:38:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012858#M5285</guid>
      <dc:creator>nineteenalready</dc:creator>
      <dc:date>2020-04-01T18:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A - i2c slave mode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012859#M5286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and also, if I installed Ubuntu 16.04 arm64, as described in NXP tutorial for this board, then this is the current i2c master driver, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink12" href="https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-imx.c" title="https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-imx.c"&gt;https://github.com/torvalds/linux/blob/master/drivers/i2c/busses/i2c-imx.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to remove the i2c master driver from kernel module and include my&amp;nbsp;i2c slave driver, right? This will&amp;nbsp;cause several components on boards (like accelerator) which use I2C master be dysfunctional which is OK,&amp;nbsp; I need to use LS1012a for SoC-to-SoC communication.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 18:47:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012859#M5286</guid>
      <dc:creator>nineteenalready</dc:creator>
      <dc:date>2020-04-01T18:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: LS1012A - i2c slave mode</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012860#M5287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got the answer on my question here -&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1296050?commentID=1296050#comment-1296050" title="https://community.nxp.com/message/1296050?commentID=1296050#comment-1296050"&gt;https://community.nxp.com/message/1296050?commentID=1296050#comment-1296050&lt;/A&gt;&amp;nbsp;. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 12:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/LS1012A-i2c-slave-mode/m-p/1012860#M5287</guid>
      <dc:creator>nineteenalready</dc:creator>
      <dc:date>2020-04-15T12:04:34Z</dc:date>
    </item>
  </channel>
</rss>

