<?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>Model-Based Design Toolbox (MBDT)のトピックRe: Multi-turn ABS encoder</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775778#M2110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Dear Sirs,&lt;BR /&gt;&lt;BR /&gt;First, read the S32K-RM and check it.&lt;BR /&gt;Then, refer to the block of SPI or I 2 C, and confirm whether it is somehow.&lt;BR /&gt;&lt;BR /&gt;After the sensorless lecture is over, the encoder servo control&lt;BR /&gt;Are there any lecture plans?&lt;BR /&gt;&lt;BR /&gt;I'm looking forward to it.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 12:32:17 GMT</pubDate>
    <dc:creator>hayaoki7</dc:creator>
    <dc:date>2018-02-06T12:32:17Z</dc:date>
    <item>
      <title>Multi-turn ABS encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775774#M2106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Can I use a S32K Model-Based Design Toolbox for S32K1xx Automotive MCU v3.0.0 to control servo motors with multi-turn ABS encoders?&lt;/SPAN&gt;&lt;SPAN style="display: none;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jan 2018 22:54:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775774#M2106</guid>
      <dc:creator>hayaoki7</dc:creator>
      <dc:date>2018-01-31T22:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-turn ABS encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775775#M2107</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/hayaoki7"&gt;hayaoki7&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can. The only think that you need to handle by yourself is the Encoder signal read-outs. For that Model-Based Design Toolbox provides 2 options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;use General Purpose Inputs block to read the encoder signal and generate interrupts each time the A/B/Z signals are changing. Based on that you will increment/decrement the counter&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;or:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;implement your our C-code to handle the encoder read-outs and use the specialized Simulink block to call that C-function in the Simulink Model.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:35:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775775#M2107</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-02-01T12:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-turn ABS encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775776#M2108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV dir="ltr"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;thank you for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sorry I still have a lack of study.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me ask you a little more.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To correspond to Biss C or T-format of communication specification of ABS encoder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To make it possible by custom code, which peripheral should I use with it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have references or documents that will be helpful when creating the custom code&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that ABS encoder is necessary for robot and linear guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next to sensorless, I think that you want encoder control plus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="display: none;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="display: none;"&gt;&lt;DIV style="width: 100%;"&gt;&lt;TEXTAREA dir="ltr" name="edit-text" rows="1" style="height: auto; padding-right: 20px; -ms-overflow-x: auto; -ms-overflow-y: hidden; box-sizing: border-box;" tabindex="0"&gt;&lt;/TEXTAREA&gt;&lt;DIV data-tooltip="テキストを消去" data-tooltip-align="t,c" style="right: 0px; display: none;"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV data-tooltip="ログインしてフレーズ集に保存" data-tooltip-align="t,c"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 23:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775776#M2108</guid>
      <dc:creator>hayaoki7</dc:creator>
      <dc:date>2018-02-01T23:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-turn ABS encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775777#M2109</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/hayaoki7"&gt;hayaoki7&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The S32K microprocessor has a dedicated peripheral that can be used to implement any kind of protocol. The peripheral is called FlexIO.&lt;/P&gt;&lt;P&gt;The FlexIO is a highly configurable module providing a wide range of functionality including:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Emulation of a variety of serial communication protocols&lt;/LI&gt;&lt;LI&gt;Flexible 16-bit timers with support for a variety of trigger, reset, enable and disable conditions&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;For documentation you can check the&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/reference-manual/S32K-RM.pdf" title="https://www.nxp.com/docs/en/reference-manual/S32K-RM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/S32K-RM.pdf&lt;/A&gt;&amp;nbsp; chapter 51&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The NXP Model Based Design Toolbox for S32K1xx implements I2C/SPI and UART protocols over FlexIO by calling dedicated drivers from SDK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/34810i366A0D0AC1D7F4EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, since your encoder support a slightly different communication protocol you will have to configure the FlexIO peripheral in a slightly different manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that you will need too implement&amp;nbsp;standard Simulink&amp;nbsp;S-Function Builder block or to use the Simulink Coder to call your custom code. You can check this as a starting point:&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/449904#comment-901737" title="https://community.nxp.com/thread/449904#comment-901737"&gt;https://community.nxp.com/thread/449904#comment-901737&lt;/A&gt;&amp;nbsp; on how to call your own C-code from Simulink models.&lt;/P&gt;&lt;P&gt;In general for custom code you should consult the MATLAB documentation since it is a standard feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 11:44:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775777#M2109</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-02-02T11:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-turn ABS encoder</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775778#M2110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Dear Sirs,&lt;BR /&gt;&lt;BR /&gt;First, read the S32K-RM and check it.&lt;BR /&gt;Then, refer to the block of SPI or I 2 C, and confirm whether it is somehow.&lt;BR /&gt;&lt;BR /&gt;After the sensorless lecture is over, the encoder servo control&lt;BR /&gt;Are there any lecture plans?&lt;BR /&gt;&lt;BR /&gt;I'm looking forward to it.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 12:32:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Multi-turn-ABS-encoder/m-p/775778#M2110</guid>
      <dc:creator>hayaoki7</dc:creator>
      <dc:date>2018-02-06T12:32:17Z</dc:date>
    </item>
  </channel>
</rss>

