<?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>S32KのトピックMMA6827</title>
    <link>https://community.nxp.com/t5/S32K/MMA6827/m-p/1622066#M21611</link>
    <description>&lt;P&gt;I am writing the driver for the MMA6827 and am currently in the driver code for the MMA6800 in the reference TWR_SENSOR_PAK_AUTO_PROJECT&lt;/P&gt;&lt;P&gt;void MMA6800_Read_Acceleration(word cfgX,word cfgY)&lt;BR /&gt;{&lt;BR /&gt;word tmpx,tmpy;&lt;/P&gt;&lt;P&gt;(void)MMA6800_RegRead(MMA6800_DEVSTAT); //READING DEVSTAT&lt;BR /&gt;MMA6800_Delay(10);&lt;BR /&gt;(void)MMA6800_AccRead(cfgX); // AccXCfg7 X-Axis Raw, Unsigned Data, Disabled/PCM 0b0011000000000100&lt;BR /&gt;MMA6800_Delay(10);&lt;BR /&gt;xy_digits.x_dgt = MMA6800_AccRead(cfgY); //SENDING ACCELERATION READ COMMAND 2&lt;BR /&gt;MMA6800_Delay(10);&lt;BR /&gt;xy_digits.y_dgt = MMA6800_RegRead(MMA6800_DEVSTAT); //READING ACCELERATION 2&lt;BR /&gt;MMA6800_Delay(10);&lt;/P&gt;&lt;P&gt;in the previous code，xy_digits.x_dgt = MMA6800_AccRead(cfgY);&amp;nbsp;Is the configured Y-axis data assigned to the X-axis?&amp;nbsp;How to understand this code?&amp;nbsp;Thank you so much！&lt;/P&gt;</description>
    <pubDate>Sun, 26 Mar 2023 15:11:15 GMT</pubDate>
    <dc:creator>Zhang_123</dc:creator>
    <dc:date>2023-03-26T15:11:15Z</dc:date>
    <item>
      <title>MMA6827</title>
      <link>https://community.nxp.com/t5/S32K/MMA6827/m-p/1622066#M21611</link>
      <description>&lt;P&gt;I am writing the driver for the MMA6827 and am currently in the driver code for the MMA6800 in the reference TWR_SENSOR_PAK_AUTO_PROJECT&lt;/P&gt;&lt;P&gt;void MMA6800_Read_Acceleration(word cfgX,word cfgY)&lt;BR /&gt;{&lt;BR /&gt;word tmpx,tmpy;&lt;/P&gt;&lt;P&gt;(void)MMA6800_RegRead(MMA6800_DEVSTAT); //READING DEVSTAT&lt;BR /&gt;MMA6800_Delay(10);&lt;BR /&gt;(void)MMA6800_AccRead(cfgX); // AccXCfg7 X-Axis Raw, Unsigned Data, Disabled/PCM 0b0011000000000100&lt;BR /&gt;MMA6800_Delay(10);&lt;BR /&gt;xy_digits.x_dgt = MMA6800_AccRead(cfgY); //SENDING ACCELERATION READ COMMAND 2&lt;BR /&gt;MMA6800_Delay(10);&lt;BR /&gt;xy_digits.y_dgt = MMA6800_RegRead(MMA6800_DEVSTAT); //READING ACCELERATION 2&lt;BR /&gt;MMA6800_Delay(10);&lt;/P&gt;&lt;P&gt;in the previous code，xy_digits.x_dgt = MMA6800_AccRead(cfgY);&amp;nbsp;Is the configured Y-axis data assigned to the X-axis?&amp;nbsp;How to understand this code?&amp;nbsp;Thank you so much！&lt;/P&gt;</description>
      <pubDate>Sun, 26 Mar 2023 15:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MMA6827/m-p/1622066#M21611</guid>
      <dc:creator>Zhang_123</dc:creator>
      <dc:date>2023-03-26T15:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: MMA6827</title>
      <link>https://community.nxp.com/t5/S32K/MMA6827/m-p/1622372#M21638</link>
      <description>&lt;P&gt;Hi Zhang,&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;SPI transfers are completed through a sequence of two phases. During the first phase, the type of transfer and associated control information is transmitted from the SPI master to MMA68xx. Data from&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;MMA68xx is transmitted during the second phase.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI Communications MMA68xx.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/216338i2EE20FBA2AE5D4F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI Communications MMA68xx.png" alt="SPI Communications MMA68xx.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 07:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/MMA6827/m-p/1622372#M21638</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-03-27T07:55:45Z</dc:date>
    </item>
  </channel>
</rss>

