<?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 MMA8541 driver for Linux 3.2? in Sensors</title>
    <link>https://community.nxp.com/t5/Sensors/MMA8541-driver-for-Linux-3-2/m-p/489071#M2954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, is there a MMA8541 driver for linux 3.2? In the support section, I only see one for 2.6.35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to write a simple test program by following some examples, but whenever I try to read back any register, all I get is 0xFF. I have no problems talking to some other chips on the same i2c bus (rtc), so I think the problem has to do with the repeated-start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, I could just compile in the driver and access it through that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Feb 2026 22:50:25 GMT</pubDate>
    <dc:creator>clappe</dc:creator>
    <dc:date>2026-02-03T22:50:25Z</dc:date>
    <item>
      <title>MMA8541 driver for Linux 3.2?</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8541-driver-for-Linux-3-2/m-p/489071#M2954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, is there a MMA8541 driver for linux 3.2? In the support section, I only see one for 2.6.35&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to write a simple test program by following some examples, but whenever I try to read back any register, all I get is 0xFF. I have no problems talking to some other chips on the same i2c bus (rtc), so I think the problem has to do with the repeated-start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, I could just compile in the driver and access it through that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8541-driver-for-Linux-3-2/m-p/489071#M2954</guid>
      <dc:creator>clappe</dc:creator>
      <dc:date>2026-02-03T22:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8541 driver for Linux 3.2?</title>
      <link>https://community.nxp.com/t5/Sensors/MMA8541-driver-for-Linux-3-2/m-p/489072#M2955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the MMA8451Q uses a combined I&lt;SUP&gt;2&lt;/SUP&gt;C data transfer format and requires a repeated start condition after the second byte (register address).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, a single byte read from the WHO_AM_I register 0x0D looks like this (note that it is for the MMA8652FC I have on my desk):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="81392_81392.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120881i5319DC3D82834506/image-size/large?v=v2&amp;amp;px=999" role="button" title="81392_81392.jpg" alt="81392_81392.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Who_Am_I+register+read.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/6874i887BB87B667853ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="Who_Am_I+register+read.JPG.jpg" alt="Who_Am_I+register+read.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make sure that you are using a correct 7-bit slave address, which is either 0x1C (SA0 = 0) or 0x1D (SA0 = 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding Linux drivers, I would let others monitoring this forum comment it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Dec 2015 09:21:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/MMA8541-driver-for-Linux-3-2/m-p/489072#M2955</guid>
      <dc:creator>TomasVaverka</dc:creator>
      <dc:date>2015-12-17T09:21:22Z</dc:date>
    </item>
  </channel>
</rss>

