<?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のトピックLPC43xx_I2C ready and tested ??</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-I2C-ready-and-tested/m-p/559467#M15850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by khfreiberg on Wed Oct 03 17:22:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use the 'I2C_TRANSFER_INTERRUPT' and added 'I2C_MasterHandler' to IRQ list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First, I do not know any controller which allow a parameter for an interrupt service, and it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I edited the driver code to use 'LPC_I2C0' as fixed input. Now the data transfer works, but I do not get a callback as defined in my passed dataset of type 'I2C_M_SETUP_Type'. I searched for 'callback' but I do not even find a location where the callback pointer is used. There is no code ?!?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, what is this doing in an interrupt driven code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;while(I2C_MasterComplete[tmp] != TRUE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I expect that the routine returns immediately when I set it up for using interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The source file says revision 1.0 from 06/02/2011. Is there something newer available?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:44:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:44:47Z</dc:date>
    <item>
      <title>LPC43xx_I2C ready and tested ??</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-I2C-ready-and-tested/m-p/559467#M15850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by khfreiberg on Wed Oct 03 17:22:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to use the 'I2C_TRANSFER_INTERRUPT' and added 'I2C_MasterHandler' to IRQ list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First, I do not know any controller which allow a parameter for an interrupt service, and it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I edited the driver code to use 'LPC_I2C0' as fixed input. Now the data transfer works, but I do not get a callback as defined in my passed dataset of type 'I2C_M_SETUP_Type'. I searched for 'callback' but I do not even find a location where the callback pointer is used. There is no code ?!?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Additionally, what is this doing in an interrupt driven code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;while(I2C_MasterComplete[tmp] != TRUE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I expect that the routine returns immediately when I set it up for using interrupts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The source file says revision 1.0 from 06/02/2011. Is there something newer available?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC43xx-I2C-ready-and-tested/m-p/559467#M15850</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:44:47Z</dc:date>
    </item>
  </channel>
</rss>

