<?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>Kinetis Microcontrollers中的主题 Re: [KL46Z] Magnetometer MAG3110 interrupt</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775460#M47201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry Zhou,&lt;/P&gt;&lt;P&gt;I was finished this steps before I wrote that post, but it doesn't work. Pin INT is always HIGH, even when I read 0x01 OUT_X_MSB register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Dec 2017 12:10:08 GMT</pubDate>
    <dc:creator>rafcio100</dc:creator>
    <dc:date>2017-12-12T12:10:08Z</dc:date>
    <item>
      <title>[KL46Z] Magnetometer MAG3110 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775458#M47199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a problem with configuring MAG3110&amp;nbsp; interrupts.&amp;nbsp;The PTD1 pin is always HIGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;&lt;SPAN class="" style="color: #8f5902; background: transparent; border: 0px; font-size: 12px;"&gt;#include "mbed.h"
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #8f5902; background: transparent; border: 0px; font-size: 12px;"&gt;#include "MAG3110.h"
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;MAG3110&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;PTE25&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;PTE24&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;Serial&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;pc&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;USBTX&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;USBRX&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;MotionSensorDataCounts&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag_raw&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;;
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;InterruptIn&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag_interrupt&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;PTD1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);

&lt;/SPAN&gt;&lt;SPAN class="" style="color: #204a87; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;void&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;flip&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;()&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;{
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;getAxis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag_raw&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #204a87; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;float&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;x&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;;
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;x&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ce5c00; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;((&lt;/SPAN&gt;&lt;SPAN class="" style="color: #204a87; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;float&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag_raw&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;x&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ce5c00; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;/&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0000cf; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;10.0f&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;;
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;pc&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;printf&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4e9a06; background: transparent; border: 0px; font-size: 12px;"&gt;"Mag x=%4.1f&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4e9a06; background: transparent; border: 0px; font-size: 12px;"&gt;\r\n&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4e9a06; background: transparent; border: 0px; font-size: 12px;"&gt;"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;x&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;wait&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0000cf; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;1.0&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;}

&lt;/SPAN&gt;&lt;SPAN class="" style="color: #204a87; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;int&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;main&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #204a87; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;void&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;{
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;pc&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;baud&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0000cf; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;9600&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;enable&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;();
&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;mag_interrupt&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;rise&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ce5c00; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;flip&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;);
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #204a87; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;while&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0000cf; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;{
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-size: 12px;"&gt;sleep&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;();
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;}
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000; background: transparent; border: 0px; font-weight: bold; font-size: 12px;"&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 20:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775458#M47199</guid>
      <dc:creator>rafcio100</dc:creator>
      <dc:date>2017-12-09T20:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: [KL46Z] Magnetometer MAG3110 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775459#M47200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafal Jablonski,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; About the MAG3110 interrupt usage, you need to follow these step:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9703iF26B180FB575CEFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check it on your side, do you finish these step?&lt;/P&gt;&lt;P&gt;If you still have question after the test, please tell me the updated information.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 08:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775459#M47200</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-12-12T08:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: [KL46Z] Magnetometer MAG3110 interrupt</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775460#M47201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry Zhou,&lt;/P&gt;&lt;P&gt;I was finished this steps before I wrote that post, but it doesn't work. Pin INT is always HIGH, even when I read 0x01 OUT_X_MSB register.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Dec 2017 12:10:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL46Z-Magnetometer-MAG3110-interrupt/m-p/775460#M47201</guid>
      <dc:creator>rafcio100</dc:creator>
      <dc:date>2017-12-12T12:10:08Z</dc:date>
    </item>
  </channel>
</rss>

