<?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 MMA8452Q in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8452Q/m-p/261947#M8175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here I am just trying to communicate the MMA8452Q through I2C from Kinetis K40. The device address is given as 2A in WHO_AM_I register. But in the Datasheet of MMA8452Q they have given the device address as 0x3A and 0x3B. What is the actual device address to be programmed in the I2C1_D register in K40. Also pls let me know thw use of SA0 pin or bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Abulhasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Oct 2013 07:37:25 GMT</pubDate>
    <dc:creator>abulhasan</dc:creator>
    <dc:date>2013-10-03T07:37:25Z</dc:date>
    <item>
      <title>MMA8452Q</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8452Q/m-p/261947#M8175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here I am just trying to communicate the MMA8452Q through I2C from Kinetis K40. The device address is given as 2A in WHO_AM_I register. But in the Datasheet of MMA8452Q they have given the device address as 0x3A and 0x3B. What is the actual device address to be programmed in the I2C1_D register in K40. Also pls let me know thw use of SA0 pin or bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Abulhasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2013 07:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8452Q/m-p/261947#M8175</guid>
      <dc:creator>abulhasan</dc:creator>
      <dc:date>2013-10-03T07:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: MMA8452Q</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8452Q/m-p/261948#M8176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abulhasan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MMA8452Q datasheet with below I2C device address:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MMA8452Q.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/41543i0DD14FC603F2AB5E/image-size/large?v=v2&amp;amp;px=999" role="button" title="MMA8452Q.jpg" alt="MMA8452Q.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You also could refer Kinetis TWR-K60D100M board I2C example code, which SA0 value is 1 and MMA8451Q device address is 0x1D.&lt;/P&gt;&lt;P&gt;For the I2C communication, it use below definition:&lt;/P&gt;&lt;P&gt;#define I2C_ADDR_MMA8451 (0x1d&amp;lt;&amp;lt;1)&lt;/P&gt;&lt;P&gt;The TWR-K60D100M&amp;nbsp; board I2C example code can be downloaded from below link:&lt;/P&gt;&lt;P&gt;KINETIS512_V2_SC:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K60_100&amp;amp;nodeId=01624698C9DE2DDDAF&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K60_100&amp;amp;nodeId=01624698C9DE2DDDAF&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab"&gt;K60_100: Kinetis K60 Ethernet Crypto 100 MHz MCUs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;&lt;P&gt;Ma Hui&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Dec 2013 03:21:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MMA8452Q/m-p/261948#M8176</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2013-12-25T03:21:35Z</dc:date>
    </item>
  </channel>
</rss>

