<?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: FXOS8700 stops updating value after a while</title>
    <link>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512082#M3239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have been away for a bit. That's why i couldn't reply earlier. But it seems with the setting you send to me. The same problems &lt;SPAN lang="en"&gt;occurs. After a while it just stops giving new data. And only gives Zero's back from the registers. Could it be i'm missing something or is the chip maybe broken ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Greetings,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Rens&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 07:48:15 GMT</pubDate>
    <dc:creator>rens1</dc:creator>
    <dc:date>2016-03-29T07:48:15Z</dc:date>
    <item>
      <title>FXOS8700 stops updating value after a while</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512080#M3237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;Currently i'm working with the &lt;SPAN style="font-size: 10pt;"&gt;BRKT-STBC-AGM01&amp;nbsp; BREAKOUT BOARD. Where i'm communicating with a FXOS8700cq chip through I2C with my Atxmega microcontroller.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have set up the IC to getting only magnetic values on 200Hz samples rate.&lt;/P&gt;&lt;P&gt;But after a while i don't new data from the chip anymore. I thought that it might have been the sleep mode. But i disabled that one. As far as i know. Is there something else that i overlooked?&lt;/P&gt;&lt;P&gt;Hereby my setup code :&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14574364661078964 jive_text_macro" data-renderedposition="212_50_798_112" jivemacro_uid="_14574364661078964" modifiedtitle="true"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_CTRL_REG1,0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_CTRL_REG2,0x09);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_XYZ_DATA_CFG,0x00);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_M_CTRL_REG1,0x05); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_M_CTRL_REG2,0x49);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_M_CTRL_REG3,0xA0); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_CTRL_REG1,0x15);&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did i forget something with the initialisation?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2026 22:15:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512080#M3237</guid>
      <dc:creator>rens1</dc:creator>
      <dc:date>2026-02-03T22:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: FXOS8700 stops updating value after a while</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512081#M3238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rens,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be aware about the M_CTRL_REG2. You do not need to set the auto-increment mode due to you are using the magnetometer mode only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use the following configuration in order to initialize the FXOS8700QC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_WriteRegister(FXOS8700CQ_I2C_ADDRESS, CTRL_REG2, 0x40);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Reset all registers to POR values, Standby mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: black;"&gt;Delay();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// ~1ms delay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_WriteRegister(FXOS8700CQ_I2C_ADDRESS, XYZ_DATA_CFG_REG, 0x00);&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// +/-2g range with 0.244mg/LSB&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: black;"&gt;I2C_WriteRegister(FXOS8700CQ_I2C_ADDRESS, M_CTRL_REG1, 0x1D);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// Magnetometer mode, max OSR&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_WriteRegister(FXOS8700CQ_I2C_ADDRESS, CTRL_REG2, 0x02);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// High Resolution mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I2C_WriteRegister(FXOS8700CQ_I2C_ADDRESS, CTRL_REG1, 0x15);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: Consolas; color: #3f7f5f;"&gt;// ODR = 200Hz, Reduced noise, Active mode&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this configuration helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case it is useful for you, you may refer to the FX0S87OOCQ - Bare metal example project.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-101073"&gt;https://community.freescale.com/docs/DOC-101073&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information will be useful for you.&lt;/P&gt;&lt;P&gt;If I misunderstood your question or you still have concerns, feel free to let me know.&amp;nbsp; I will be glad to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;David Diaz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt;"&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2016 21:23:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512081#M3238</guid>
      <dc:creator>david_diaz</dc:creator>
      <dc:date>2016-03-08T21:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: FXOS8700 stops updating value after a while</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512082#M3239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have been away for a bit. That's why i couldn't reply earlier. But it seems with the setting you send to me. The same problems &lt;SPAN lang="en"&gt;occurs. After a while it just stops giving new data. And only gives Zero's back from the registers. Could it be i'm missing something or is the chip maybe broken ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Greetings,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;Rens&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 07:48:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512082#M3239</guid>
      <dc:creator>rens1</dc:creator>
      <dc:date>2016-03-29T07:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: FXOS8700 stops updating value after a while</title>
      <link>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512083#M3240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found out that the magnetometer goes in to standby mode at a random moment. &lt;/P&gt;&lt;P&gt;With every sample i take i read that Sysmod register to see if the chip is still active. And there it stated that it had gone into standby mode.&lt;/P&gt;&lt;P&gt;Is there something that i forgot that could cause the chip to go into standby more or could it really be broken? I do have the reset line set to ground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;Rens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 12:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Sensors/FXOS8700-stops-updating-value-after-a-while/m-p/512083#M3240</guid>
      <dc:creator>rens1</dc:creator>
      <dc:date>2016-03-30T12:07:49Z</dc:date>
    </item>
  </channel>
</rss>

