<?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 Kinetis V - Hall sensor decoder mode in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-V-Hall-sensor-decoder-mode/m-p/629890#M37902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #104160; font-size: 10pt;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/ref_manual/KV4XP100M168RM.pdf"&gt;&lt;SPAN style="color: navy; text-decoration: underline; font-size: 10pt;"&gt;KV4x Reference Manual&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #104160; font-size: 10pt;"&gt; (Chapter 40: FlexTimer Module) mentions “CnSC[ICRST] is available only on FTM1, which has Hall&lt;/SPAN&gt; &lt;SPAN style="color: #104160; font-size: 10pt;"&gt;sensor decoder mode.” But not&amp;nbsp;nothing else is said about Hall sensor decoder mode in this manual.&lt;/SPAN&gt; Is there a document that gives more detail about this mode?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does&amp;nbsp;the hall interface have features such as checks for invalid states and next expected state?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 19:56:03 GMT</pubDate>
    <dc:creator>gregprusaitis</dc:creator>
    <dc:date>2016-09-19T19:56:03Z</dc:date>
    <item>
      <title>Kinetis V - Hall sensor decoder mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-V-Hall-sensor-decoder-mode/m-p/629890#M37902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #104160; font-size: 10pt;"&gt;The &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;A href="http://www.nxp.com/files/32bit/doc/ref_manual/KV4XP100M168RM.pdf"&gt;&lt;SPAN style="color: navy; text-decoration: underline; font-size: 10pt;"&gt;KV4x Reference Manual&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #104160; font-size: 10pt;"&gt; (Chapter 40: FlexTimer Module) mentions “CnSC[ICRST] is available only on FTM1, which has Hall&lt;/SPAN&gt; &lt;SPAN style="color: #104160; font-size: 10pt;"&gt;sensor decoder mode.” But not&amp;nbsp;nothing else is said about Hall sensor decoder mode in this manual.&lt;/SPAN&gt; Is there a document that gives more detail about this mode?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Does&amp;nbsp;the hall interface have features such as checks for invalid states and next expected state?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 19:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-V-Hall-sensor-decoder-mode/m-p/629890#M37902</guid>
      <dc:creator>gregprusaitis</dc:creator>
      <dc:date>2016-09-19T19:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Kinetis V - Hall sensor decoder mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-V-Hall-sensor-decoder-mode/m-p/629891#M37903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know that you have to use three hall sensors to detect the rotor position, you can connect the three hall sensors output signals to the FTM1_CH0(PTE20), FTM1_CH1(PTE21), the other hall output signals to any crossbar input pin XB_INx, for example XB_IN2(PTE24) so that you can use crossbard to route the signal to FTM1_CH1. Furthermore, you can set the FTM1ICH1SRC bit in SIM_SOPT9 so that the three hall signals are EXORed and output the exored signal to FTM1_CH1. You can set the pin in capture mode so that the rising/falling edge can trigger interrupt to switch the stator for BLDC motor control in capture ISR and use the captured value to compute the speed.&lt;/P&gt;&lt;P&gt;Regarding the hall signal logic you have to read, i think you can read the GPIOE_PDIR to get the logic even if you do not configure the pin in GPIO mode. But I am not very sure for all pin, pls confirm yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls refer to FTM/SIM and XBARA chapters in reference manual of KV4X.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 04:09:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Kinetis-V-Hall-sensor-decoder-mode/m-p/629891#M37903</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-09-20T04:09:20Z</dc:date>
    </item>
  </channel>
</rss>

