<?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: In the codewarrior did not find the Quadrature Decoder</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255439#M7516</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;skype&lt;/SPAN&gt;&lt;SPAN&gt;, please tell me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your account.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2013 07:05:01 GMT</pubDate>
    <dc:creator>jikehe</dc:creator>
    <dc:date>2013-05-28T07:05:01Z</dc:date>
    <item>
      <title>In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255431#M7508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the CodeWarrior Components Library did not find the Quadrature Decoder component,but find it in the help &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;documentation。&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Quadrature Decoder.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119417iDCDC72C790D5B96A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Quadrature Decoder.JPG" alt="Quadrature Decoder.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 08:43:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255431#M7508</guid>
      <dc:creator>jikehe</dc:creator>
      <dc:date>2013-05-24T08:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255432#M7509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think that component only shows up if your microcontroller actually has a quadrature encoder implemented.&lt;/P&gt;&lt;P&gt;You would need to disable the filter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="4422_4422.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119413i9488BC660D9EB761/image-size/large?v=v2&amp;amp;px=999" role="button" title="4422_4422.png" alt="4422_4422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 08:50:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255432#M7509</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-05-24T08:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255433#M7510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you，but show “Target processor does not contain peripheral of this type”，I use MK10DX256ZVLQ10 MCU&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Quadrature Decoder.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119414i8349FFA97C56E1BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Quadrature Decoder.JPG" alt="Quadrature Decoder.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 09:27:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255433#M7510</guid>
      <dc:creator>jikehe</dc:creator>
      <dc:date>2013-05-24T09:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255434#M7511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, that means that your MK10DX256ZVLQ10 does not seem to have a hardware quadrature decoder.&lt;/P&gt;&lt;P&gt;What you could use instead the is a software encoder.&lt;/P&gt;&lt;P&gt;I'm using the 'QuadCounter' shown here: &lt;A href="http://mcuoneclipse.com/2012/07/03/pid-with-processor-expert/" title="http://mcuoneclipse.com/2012/07/03/pid-with-processor-expert/"&gt;PID with Processor Expert&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 09:41:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255434#M7511</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-05-24T09:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255435#M7512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a MK10DX128VLH7 and it has two quadrature counters (in FTM1 and FTM2). There are so many variants, sometimes it's difficult to find the proper reference manual and data sheet and to select the right part. There is a systematic nomenclature for manuals, maybe someone could explain a little.&lt;/P&gt;&lt;P&gt;Apparently DX is kind of a revision, 128 is a size, VLH is a package and 7 is the speed.&lt;/P&gt;&lt;P&gt;My reference manual is named: K10P64M72SF1RM.pdf and it is for three devices, all with 64 pins, so P64. Here 72 could be the speed and RM is "reference manual".&lt;/P&gt;&lt;P&gt;It took me an hour or so to find it on the Freescale website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 10:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255435#M7512</guid>
      <dc:creator>dieterteuchert</dc:creator>
      <dc:date>2013-05-24T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255436#M7513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I input the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;QuadCounter&lt;/SPAN&gt; package, but it seems not implemented. Is there any problem in my Codewarior ?&amp;nbsp; Our Codewarior version is10.3 beta. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="321.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119415i6F116D7E102685C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="321.bmp" alt="321.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And do you have any samplesfor the component in PE? &lt;/P&gt;&lt;P&gt; Looking forward to your help, many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 14:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255436#M7513</guid>
      <dc:creator>dianel_cheng</dc:creator>
      <dc:date>2013-05-26T14:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255437#M7514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Using MCU10.3 beta indeed could be your problem, as this was a beta a year ago, and there is already 10.4 available. I recommend that you use 10.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the latest version of the encoder from GitHub:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/ErichStyger/mcuoneclipse/wiki" title="https://github.com/ErichStyger/mcuoneclipse/wiki"&gt;Home · mcuoneclipse Wiki · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This project described here &lt;A href="http://mcuoneclipse.com/2013/03/03/pololu-freedom-line-following-robot/" title="http://mcuoneclipse.com/2013/03/03/pololu-freedom-line-following-robot/"&gt;Pololu Line Following Robot with Freedom Board | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;is using the two quadrature encoder. The link to the project sources are the end of that article.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 May 2013 16:32:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255437#M7514</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-05-26T16:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255438#M7515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to use Quadcounter components?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="4455_4455.png"&gt;&lt;IMG alt="4455_4455.png" src="https://community.nxp.com/t5/image/serverpage/image-id/119416i3A108386BE4A6883/image-size/large?v=v2&amp;amp;px=999" title="4455_4455.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;do you have examples, like a &lt;/SPAN&gt;&lt;/SPAN&gt;Serial_LDD &lt;EM&gt;Typical Usage&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 id="toc-hId-1452838150"&gt;Block reception/transmission, with interrupt service&lt;/H3&gt;&lt;P&gt;The most of applications use a serial communication in the interrupt mode when an application is asynchronously notified by a driver about transmission/reception events.&lt;/P&gt;&lt;P&gt;The following example demonstrates a simple "Hello world" application. The program waits until 'e' character is received and then sends text "Hello world".&lt;/P&gt;&lt;P&gt;Required component setup :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDProperties.html#IntService" rel="noopener noreferrer" target="_blank"&gt;Interrupt service/event&lt;/A&gt;&lt;/EM&gt; : Enabled &lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDProperties.html#DataWidth" rel="noopener noreferrer" target="_blank"&gt;DataWidth&lt;/A&gt;&lt;/EM&gt; : 8 bits &lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDProperties.html#Receiver" rel="noopener noreferrer" target="_blank"&gt;Receiver&lt;/A&gt;&lt;/EM&gt; : Enabled &lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDProperties.html#Transmitter" rel="noopener noreferrer" target="_blank"&gt;Transmitter&lt;/A&gt;&lt;/EM&gt; : Enabled &lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDProperties.html#InitEnable" rel="noopener noreferrer" target="_blank"&gt;Enabled in init. code&lt;/A&gt;&lt;/EM&gt; : yes &lt;/LI&gt;&lt;LI&gt;Methods to enable : &lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDMethods.html#SendBlock" rel="noopener noreferrer" target="_blank"&gt;SendBlock&lt;/A&gt;, &lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDMethods.html#ReceiveBlock" rel="noopener noreferrer" target="_blank"&gt;ReceiveBlock&lt;/A&gt; &lt;/LI&gt;&lt;LI&gt;Events to enable : &lt;A _jive_internal="true" href="https://community.nxp.com/thread/Serial_LDDEvents.html#OnBlockReceived" rel="noopener noreferrer" target="_blank"&gt;OnBlockReceived&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Content of ProcessorExpert.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="code"&gt;volatile bool DataReceivedFlg = FALSE; char OutData[] = "Hello world"; char InpData[10]; LDD_TError Error; LDD_TDeviceData *MySerialPtr;&amp;nbsp; void main(void) { . . . MySerialPtr = AS1_Init(NULL);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialization of AS1 component */ for(;;) { Error = AS1_ReceiveBlock(MySerialPtr, InpData, 1U);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Start reception of one character */ while (!DataReceivedFlg) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Wait until 'e' character is received */ } if (InpData[0] == 'e') { Error = AS1_SendBlock(MySerialPtr, OutData, sizeof(OutData)); /* Send block of characters */ } DataReceivedFlg = FALSE; } } &lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Content of Event.c:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="code"&gt;extern volatile bool DataReceivedFlg;&amp;nbsp; void AS1_OnBlockReceived(LDD_TUserData *UserDataPtr) { DataReceivedFlg = TRUE; /* Set DataReceivedFlg flag */ } &lt;/PRE&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 13:02:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255438#M7515</guid>
      <dc:creator>jikehe</dc:creator>
      <dc:date>2020-11-02T13:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: In the codewarrior did not find the Quadrature Decoder</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255439#M7516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you have&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;skype&lt;/SPAN&gt;&lt;SPAN&gt;, please tell me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;your account.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:05:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/In-the-codewarrior-did-not-find-the-Quadrature-Decoder/m-p/255439#M7516</guid>
      <dc:creator>jikehe</dc:creator>
      <dc:date>2013-05-28T07:05:01Z</dc:date>
    </item>
  </channel>
</rss>

