<?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 Re: S32K144 Quadrature Encoder in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771577#M2051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/adriantudor"&gt;adriantudor&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you have a look over this ? Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 May 2019 13:18:36 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2019-05-14T13:18:36Z</dc:date>
    <item>
      <title>S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771571#M2045</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;&lt;/P&gt;&lt;P&gt;can anybody help me, finding a sample code for the usage of a rotary encoder in the S32K144 Firmware with the Devkit-Motorgd extension board plugged on the upper side of the S32K144 Eval Board?&lt;/P&gt;&lt;P&gt;In the Application Demo Software "MTRDEVKSPNK144" the configuration code for flexTimer1 is&amp;nbsp;available for quadrature encoder, but it is not used or any&amp;nbsp;initialization done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very nice, if someone can provide a code snippet for the encoder usage or help me regarding the config and usage therefore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2018 14:37:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771571#M2045</guid>
      <dc:creator>alexanderdragos</dc:creator>
      <dc:date>2018-03-19T14:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771572#M2046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you wish to work with MATLAB toolbox or you need the c/h code ?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:11:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771572#M2046</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-03-27T14:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771573#M2047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;thanks a lot for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating the program in S32 Design Studio, therefore I need the c/h code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:33:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771573#M2047</guid>
      <dc:creator>alexanderdragos</dc:creator>
      <dc:date>2018-03-27T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771574#M2048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/marekstulrajter"&gt;marekstulrajter&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have such code that could be shared with the customers - even if it is just a demo code ?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 14:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771574#M2048</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-03-27T14:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771575#M2049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also try to spin a BLDC or PMSM motor with S32K144 and MotorGD in S32 Design Studio. So a demo c/h code with using encoder signals would be very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 12:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771575#M2049</guid>
      <dc:creator>andrepogoda</dc:creator>
      <dc:date>2018-04-16T12:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771576#M2050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;has there been an answer to the original question for C-code sample for quadrature encoder initialization? I have a similar request from a customer who sees the CPU to jump into default ISR when he executes FTM_DRV_INIT for Quadrature Decoder using FTM1 on K116.&lt;/P&gt;&lt;P&gt;The registers for QD are available (and I can write them without any errors) even for FTM0 where QD is not supported in K116 according to our RM. What happens if I init a QD using FTM0?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 14:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771576#M2050</guid>
      <dc:creator>Thomas_Denner</dc:creator>
      <dc:date>2019-05-13T14:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771577#M2051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/adriantudor"&gt;adriantudor&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you have a look over this ? Thank you!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 May 2019 13:18:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771577#M2051</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2019-05-14T13:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771578#M2052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM_qd.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81619i31C6E9B9B672D9D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM_qd.PNG" alt="FTM_qd.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here you have Quadrature decoder project example for S32K116.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff9900; background-color: #ffffff;"&gt;I have a similar request from a customer who sees the CPU to jump into default ISR when he executes FTM_DRV_INIT for Quadrature Decoder using FTM1 on K116.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;In this picture, as you can see, i have added flexTimer_pwm1:ftm_pwm module but this has not been initialized. If you uncomment this yellow line (//FTM_DRV_Init(INST_FLEXTIMER_PWM1, &amp;amp;flexTimer_pwm1_InitConfig, &amp;amp;ftmStateStruct);) wich is FTM0 initialization, then because this module doesn't have clock enabled (see yellow dot in picture --&amp;gt; clock config) you will get the stuck in default interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff9900; background-color: #ffffff;"&gt;The registers for QD are available (and I can write them without any errors) even for FTM0 where QD is not supported in K116 according to our RM. What happens if I init a QD using FTM0?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Even if you can write QD registers for FTM0 module you can not allocate any pin for QD FTM0, so it's useless to config QD register for FTM0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 15:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771578#M2052</guid>
      <dc:creator>adriantudor</dc:creator>
      <dc:date>2019-05-17T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Quadrature Encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771579#M2053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you implemented it with S32K144 in S32 Design Studio. I am trying to implement it using FTM2. If you can provide some help, it will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Jianfei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 17:37:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K144-Quadrature-Encoder/m-p/771579#M2053</guid>
      <dc:creator>cjf6221</dc:creator>
      <dc:date>2019-08-09T17:37:05Z</dc:date>
    </item>
  </channel>
</rss>

