<?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>LPC Microcontrollers中的主题 i2c_master_transmit_poll soetimes transmits nothing</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/i2c-master-transmit-poll-soetimes-transmits-nothing/m-p/544045#M12817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by remcopoelstra on Fri Oct 31 06:48:56 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the I2C rom driver on an LPC11A12. Setup runs fine (I get back a handle and no error when I set the bitrate).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes when I then call i2c_master_transmit_poll(), the function returns LPC_OK, but nothing is transmitted. Other times, it works fine, so I assume it must be a timing issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I've no idea where to start looking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The SCL and SDA lines are high, so the bus is free.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The STAT register is 0xF8, so the controller is doing nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Under what circumstances can the i2c_master_transmit_poll() return LPC_OK while not transmitting any data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remco Poelstra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:45:02 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:45:02Z</dc:date>
    <item>
      <title>i2c_master_transmit_poll soetimes transmits nothing</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/i2c-master-transmit-poll-soetimes-transmits-nothing/m-p/544045#M12817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by remcopoelstra on Fri Oct 31 06:48:56 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the I2C rom driver on an LPC11A12. Setup runs fine (I get back a handle and no error when I set the bitrate).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes when I then call i2c_master_transmit_poll(), the function returns LPC_OK, but nothing is transmitted. Other times, it works fine, so I assume it must be a timing issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I've no idea where to start looking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The SCL and SDA lines are high, so the bus is free.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The STAT register is 0xF8, so the controller is doing nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Under what circumstances can the i2c_master_transmit_poll() return LPC_OK while not transmitting any data?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Remco Poelstra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:45:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/i2c-master-transmit-poll-soetimes-transmits-nothing/m-p/544045#M12817</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:45:02Z</dc:date>
    </item>
  </channel>
</rss>

