<?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>SensorsのトピックRe: READ DATA OF MMA8452</title>
    <link>https://community.nxp.com/t5/Sensors/READ-DATA-OF-MMA8452/m-p/642696#M4030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you very much for writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I’d like to recommend the application note AN4076 below:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4076.pdf"&gt;Data Manipulation and Basic Settings of the MMA8451, 2, 3Q&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application note accompanies the MMA8451, 2, 3Q Driver Code and will explain the following:&lt;/P&gt;&lt;UL&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing the operational modes (Standby, Active 2g, Active 4g and Active 8g)&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing Oversampling Modes&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing the Data Rate&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing the High-Pass Filter Cutoff Frequency&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;8-bit data vs. 14/12/10-bit data&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing Data Formats (hex to counts to decimal numbers)&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Streaming XYZ data polling vs. Streaming XYZ data with interrupts&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Using the FIFO in the MMA8451&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, you may use the sample project below as a reference for your application.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-98836"&gt;MMA8451Q - Bare metal example project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any further question.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Apr 2017 19:39:55 GMT</pubDate>
    <dc:creator>david_diaz</dc:creator>
    <dc:date>2017-04-27T19:39:55Z</dc:date>
    <item>
      <title>READ DATA OF MMA8452</title>
      <link>https://community.nxp.com/t5/Sensors/READ-DATA-OF-MMA8452/m-p/642695#M4029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I am a rookie of using MMA8452, I want to read data of mma8452 to know the x,y,z;But I read data is always F and 4095,&lt;/P&gt;&lt;P&gt;please help me , thanks!!!&lt;/P&gt;&lt;P&gt;void Multiple_Read_MMA8452(void)&lt;BR /&gt;{ &lt;BR /&gt; uchar i;&lt;BR /&gt; MMA8452_Start();&amp;nbsp;&lt;BR /&gt; MMA8452_SendByte(0x38&lt;SPAN class=""&gt; &lt;/SPAN&gt;)&lt;BR /&gt; MMA8452_SendByte(0x01);&lt;BR /&gt; MMA8452_Start();&amp;nbsp;&lt;BR /&gt; MMA8452_SendByte(0x38&lt;SPAN class=""&gt; &lt;/SPAN&gt;+1);&lt;BR /&gt; for (i=0; i&amp;lt;6; i++)&amp;nbsp;&lt;BR /&gt; {&lt;BR /&gt; BUF[i] = MMA8452_RecvByte();&amp;nbsp;&lt;BR /&gt; if (i == 5)&lt;BR /&gt; {&lt;BR /&gt; MMA8452_SendACK((BitAction)1);&amp;nbsp;&lt;BR /&gt; }&lt;BR /&gt; else&lt;BR /&gt; {&lt;BR /&gt; MMA8452_SendACK((BitAction)0);&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; MMA8452_Stop();&amp;nbsp;&lt;BR /&gt; Delay5ms(); &lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;void Init_MMA8452(void)&lt;BR /&gt;{&lt;BR /&gt; Single_Write_MMA8452(0x2A,0x01); //&lt;BR /&gt; Single_Write_MMA8452(0x2B,0x02); //&lt;BR /&gt; &lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 23:00:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/READ-DATA-OF-MMA8452/m-p/642695#M4029</guid>
      <dc:creator>594160903</dc:creator>
      <dc:date>2026-02-03T23:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: READ DATA OF MMA8452</title>
      <link>https://community.nxp.com/t5/Sensors/READ-DATA-OF-MMA8452/m-p/642696#M4030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you very much for writing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, I’d like to recommend the application note AN4076 below:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4076.pdf"&gt;Data Manipulation and Basic Settings of the MMA8451, 2, 3Q&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This application note accompanies the MMA8451, 2, 3Q Driver Code and will explain the following:&lt;/P&gt;&lt;UL&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing the operational modes (Standby, Active 2g, Active 4g and Active 8g)&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing Oversampling Modes&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing the Data Rate&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing the High-Pass Filter Cutoff Frequency&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;8-bit data vs. 14/12/10-bit data&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Changing Data Formats (hex to counts to decimal numbers)&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Streaming XYZ data polling vs. Streaming XYZ data with interrupts&lt;/LI&gt;&lt;LI style="margin-bottom: .0001pt;"&gt;Using the FIFO in the MMA8451&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, you may use the sample project below as a reference for your application.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-98836"&gt;MMA8451Q - Bare metal example project&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any further question.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 19:39:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/READ-DATA-OF-MMA8452/m-p/642696#M4030</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2017-04-27T19:39:55Z</dc:date>
    </item>
  </channel>
</rss>

