<?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 issue IMX8MP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1858034#M223207</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219803"&gt;@Majidbahmani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please explain what do you want to do exactly?&lt;/P&gt;
&lt;P&gt;Also, you can use the I2C utilities in Linux, it is possible the bus error is because the register is being used for i2c driver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2024 15:48:38 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2024-05-01T15:48:38Z</dc:date>
    <item>
      <title>I2C issue IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1856895#M223125</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to access register of I2C in IMX8MP but I am receiving "Bus error".&lt;/P&gt;&lt;P&gt;I have configured:&lt;/P&gt;&lt;P&gt;-&amp;nbsp; RDC, to make I2C peripheral accessible in all domains --&amp;gt;&amp;nbsp; devmem2 0x303D0510 w 0x000000FF&lt;/P&gt;&lt;P&gt;- Enable clock with clock source: SYSTEM_PLL1_DIV5 and divider 10 --&amp;gt; devmem2 0x3038AE00 w 0x1100000A&lt;/P&gt;&lt;P&gt;- Enable i2c3 and set pinctrl in device tree:&lt;/P&gt;&lt;DIV&gt;&amp;amp;i2c3 {&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;clock-frequency = &amp;lt;400000&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pinctrl-names = "default";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c3&amp;gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;status = "okay";&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;root@imx8mp-lpddr4-evk:~# devmem2 0x303D0510&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/dev/mem opened.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Memory mapped at address 0xffffbe577000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Read at address 0x303D0510 (0xffffbe577510): 0x000000FF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;root@imx8mp-lpddr4-evk:~# devmem2 0x3038AE00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/dev/mem opened.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Memory mapped at address 0xffff98b48000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Read at address 0x3038AE00 (0xffff98b48e00): 0x1100000A&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;root@imx8mp-lpddr4-evk:~# devmem2 0x30a40000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;/dev/mem opened.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[ 5096.664377] audit: type=1701 audit(1678614959.920:16): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=897 comm="devmem2" exe="/usr/bin/devmem2" sig=7 res=1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Memory mapped at address 0xffff940f8000.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Bus error&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Can anyone explain how I should solve the error?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2024 16:54:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1856895#M223125</guid>
      <dc:creator>Majidbahmani</dc:creator>
      <dc:date>2024-04-29T16:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: I2C issue IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1858034#M223207</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219803"&gt;@Majidbahmani&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please explain what do you want to do exactly?&lt;/P&gt;
&lt;P&gt;Also, you can use the I2C utilities in Linux, it is possible the bus error is because the register is being used for i2c driver.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 15:48:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1858034#M223207</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-05-01T15:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: I2C issue IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1858348#M223223</link>
      <description>&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;I have changed the "compatible" property in "i2c3" node to make sure that it is not used with i2c driver.&lt;/P&gt;&lt;P&gt;Mainly I want to access i2c3 from IMX8MP DSP. However, when I read or write i2c3 registers in dsp, it is crashed and DSP stops working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I tried to read i2c3 registers in Linux environment, and I found that I don't have access even in Linux (Bus error).&lt;/P&gt;&lt;P&gt;I also try to read other i2cx and for all other I received the same error. (Bus error)&lt;/P&gt;&lt;P&gt;I don't know what else I should change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 09:39:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/I2C-issue-IMX8MP/m-p/1858348#M223223</guid>
      <dc:creator>Majidbahmani</dc:creator>
      <dc:date>2024-05-02T09:39:24Z</dc:date>
    </item>
  </channel>
</rss>

