<?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 Re: I2C register access problem in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543932#M12806</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vikhyathk on Mon Oct 19 22:08:48 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am facing a problem with i2C transmission using LPC3250. I m using processor to interface FPGA with device id 0xA0. So the first data I put into '0x400a8000' (I2C2_TX) register is 0x1A0 and I see in the oscilloscope that start condition is generated and acknowledgement is present. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Whenever I send a data byte later&amp;nbsp; with LSB bit '1', the same data is being resent with LSB bit made '0'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: If I put "11011001' into the register '0x400a8000' (I2C2_TX) Data found in scope is ["11011001" 'Ack bit' "11011000"'Ack bit']..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Ack bit' is '0'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me to solve the issue. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:27:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:27:33Z</dc:date>
    <item>
      <title>I2C register access problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543930#M12804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by goweol on Mon Mar 30 02:57:58 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;mmap /dev/mem and accessing the I2C data register gave me a fault.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a linux command line log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;~ # md -w4 0x400a0000 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unhandled fault: external abort on non-linefetch (0x008) at 0x40156000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;~ # md -w4 0x400a0004 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;400a0004: 000022c0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;~ # md -w4 0x400a0004 16&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;400a0004: 000022c0 00000000 0000033e 0000033e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;~ # md -w4 0x400a8004 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;400a8004: 00002ac0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;~ # md -w4 0x400a8000 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unhandled fault: external abort on non-linefetch (0x008) at 0x40132000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bus error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you can see, I cannot read '0x400a0000' (I2Cn rx data fifo register).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How I can access I2Cn rx/tx data FIFO register (as superuser)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: 'md' internally mmaps pagesize aligned address with multiple pagesize size (based on command line dump size) and dump the given address with given size..&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543930#M12804</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: I2C register access problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543931#M12805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by goweol on Mon Mar 30 17:11:02 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems I made a mistake.&amp;nbsp; In the user manual, I found:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;"If the RX FIFO is read while empty, a DATA ABORT exception is generated"&lt;/STRONG&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543931#M12805</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: I2C register access problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543932#M12806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vikhyathk on Mon Oct 19 22:08:48 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am facing a problem with i2C transmission using LPC3250. I m using processor to interface FPGA with device id 0xA0. So the first data I put into '0x400a8000' (I2C2_TX) register is 0x1A0 and I see in the oscilloscope that start condition is generated and acknowledgement is present. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Whenever I send a data byte later&amp;nbsp; with LSB bit '1', the same data is being resent with LSB bit made '0'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: If I put "11011001' into the register '0x400a8000' (I2C2_TX) Data found in scope is ["11011001" 'Ack bit' "11011000"'Ack bit']..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'Ack bit' is '0'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anybody help me to solve the issue. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/I2C-register-access-problem/m-p/543932#M12806</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:27:33Z</dc:date>
    </item>
  </channel>
</rss>

