<?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>topic LPC822 - I2C pins in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-I2C-pins/m-p/565653#M17136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by krishna.mohan on Tue Oct 20 22:44:46 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using I2C0 in LPC822 microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As per the datasheet I2C0-SDA is P0.11, and I2C0-SCL is P0.10. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And in LPC initialization tool , we can choose I2C0-SDA at P0.11 and I2C0-SCL at P0.10. we cant interchange SDA and SCL using pin mappings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in periph_i2c_rom_polling.c file,&amp;nbsp; I2C0-SDA at P0.10 and I2C0-SCL at P0.11 .. How is that possible. Please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Connect the I2C_SDA and I2C_SCL signals to port pins(P0.10, P0.11) */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_SWM_EnableFixedPin(SWM_FIXED_I2C0_SDA);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_SWM_EnableFixedPin(SWM_FIXED_I2C0_SCL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Krishnamohan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 20:06:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T20:06:35Z</dc:date>
    <item>
      <title>LPC822 - I2C pins</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-I2C-pins/m-p/565653#M17136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by krishna.mohan on Tue Oct 20 22:44:46 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using I2C0 in LPC822 microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As per the datasheet I2C0-SDA is P0.11, and I2C0-SCL is P0.10. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And in LPC initialization tool , we can choose I2C0-SDA at P0.11 and I2C0-SCL at P0.10. we cant interchange SDA and SCL using pin mappings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But in periph_i2c_rom_polling.c file,&amp;nbsp; I2C0-SDA at P0.10 and I2C0-SCL at P0.11 .. How is that possible. Please let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Connect the I2C_SDA and I2C_SCL signals to port pins(P0.10, P0.11) */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_SWM_EnableFixedPin(SWM_FIXED_I2C0_SDA);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Chip_SWM_EnableFixedPin(SWM_FIXED_I2C0_SCL);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Krishnamohan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-I2C-pins/m-p/565653#M17136</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC822 - I2C pins</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-I2C-pins/m-p/565654#M17137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcmunich on Thu Oct 29 03:32:57 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Krishna,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The datasheet and LPC initialization tool are in good shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the periph_i2c_rom_polling example is broken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 20:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC822-I2C-pins/m-p/565654#M17137</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T20:06:36Z</dc:date>
    </item>
  </channel>
</rss>

