<?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: Module 1: Environment Setup in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1152573#M5017</link>
    <description>&lt;P&gt;If you solve the problem,i hope you can share with me,thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Sep 2020 03:29:48 GMT</pubDate>
    <dc:creator>Jerry_zhang</dc:creator>
    <dc:date>2020-09-14T03:29:48Z</dc:date>
    <item>
      <title>Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734725#M1644</link>
      <description>&lt;P style="padding: 0px;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333399; font-size: 16.5pt;"&gt;&lt;STRONG&gt;INTRODUCTION&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="color: #333333;"&gt;In this module of the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://community.nxp.com/thread/464336" target="_blank" rel="noopener noreferrer"&gt;3-Phase PMSM Workshop&lt;/A&gt;, the focus is on the hardware and software setups that are going to be used throughout this workshop to implement and test a complete 3-phase Permanent Magnet Synchronous Motor (PMSM) control system with NXP’s S32K micro-controller family. Except for the hardware components that can be purchased from NXP website or various distributors around the world, the software tools used for developing the applications are free of charge.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="color: #333333;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="color: #333333;"&gt;The following table summarize the most important resources that will be used for reference for upcoming modules:&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="height: 25px; background-color: #434343;"&gt;
&lt;TD style="width: 37.6198%; height: 25px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;S32K144EVB &amp;amp; SoC&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD style="width: 43.3802%; height: 25px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;DEVKIT MOTORGD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="background-color: #ffffff; height: 162px;"&gt;
&lt;TD style="width: 37.6198%; height: 162px;"&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;S32K144EVB&amp;nbsp; –&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-automotive-platform/s32k144-evaluation-board:S32K144EVB" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;STRONG&gt;Product home page&lt;/STRONG&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;S32K144EVB&amp;nbsp; –&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/docs/en/quick-reference-guide/S32K144EVB-QSG.pdf" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Quick Start Guide&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;S32K144 SoC –&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/docs/en/reference-manual/S32K-RM.pdf" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Reference Manual&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;S32K144 SoC –&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/docs/en/data-sheet/S32K-DS.pdf" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Data Sheet&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD style="width: 43.3802%; height: 162px;"&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;DEVKIT MOTORGD&amp;nbsp; –&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/support/developer-resources/hardware-development-tools/ultra-reliable-mcus-development-platform/low-cost-motor-control-solution-for-devkit-platform:DEVKIT-MOTORGD" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Product home page&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: white;"&gt;&lt;SPAN style="color: #333333;"&gt;DEVKIT MOTORGD&amp;nbsp; –&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/docs/en/quick-reference-guide/DEVKIT-MOTORGD_QSG.pdf" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Quick Start Guide&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: white;"&gt;&lt;SPAN style="color: #333333;"&gt;MC34GD3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/docs/en/data-sheet/MC34GD3000.pdf" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Data Sheet&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: white;"&gt;&lt;SPAN style="color: #333333;"&gt;PMSM DEVKIT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; –&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/power-management/wireless-power/3-phase-pmsm-development-kit-with-nxp-s32k144-mcu:MTRDEVKSPNK144" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Product home page&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 3px; background-color: #434343;"&gt;
&lt;TD colspan="2" style="width: 81%;"&gt;
&lt;P style="padding: 0px;"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;DEVELOPMENT TOOLS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 25px; background-color: #ffffff;"&gt;
&lt;TD colspan="2" style="width: 81%; height: 25px;"&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;MATLAB TOOLBOX for S32K1xx Add-On Installer –&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.mathworks.com/matlabcentral/fileexchange/64740-nxp-support-package-s32k1xx" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;MathWorks File Exchange Page&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;FreeMASTER&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Run-Time Debugging Tool&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; –&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/power-management/wireless-power/freemaster-run-time-debugging-tool:FREEMASTER" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Product home page&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: white;"&gt;&lt;SPAN style="color: #333333;"&gt;S32DS-ARM Design Studio IDE for ARM&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; –&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/support/developer-resources/run-time-software/s32-design-studio-ide/s32-design-studio-ide-for-arm-based-mcus:S32DS-ARM" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;Product home page&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top: 12.0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #333333;"&gt;Support &amp;amp; Training&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;–&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: white;"&gt;&lt;STRONG&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://community.nxp.com/community/mbdt" target="_blank" rel="noopener noreferrer"&gt;Community page&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #333399; font-size: 16.5pt;"&gt;&lt;STRONG&gt;HARDWARE SETUP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;Nowadays, to most common and convenient way to implement the Field Oriented Control (FOC) to control the rotor position in a PMSM is numerical/digital approach. In the distant past like ‘70s &amp;amp; ‘80s most of the applications were developed using analogue techniques which posed a lot of challenges in terms of maintenance and scalability.&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;Today, we face an abundance of cost effective micro-controller solutions that are reliable, performant and integrates various functionalities that makes engineers life easier than ever. One of such solution is the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-automotive-platform/32-bit-automotive-general-purpose-microcontrollers:S32K" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;NXP’s S32K&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;scalable family of AEC-Q100 qualified 32-bit ARM Cortex-M4F and Cortex-M0+ based MCUs targeted for general purpose automotive and high reliability industrial applications.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;Due to its low cost, large availability and feature-rich options we choose to implement the motor control solution on NXP’s&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-automotive-platform/s32k144-evaluation-board:S32K144EVB" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;S32K144EVB Development Kit&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;. As is shown in Fig. 1, this small form factor low cost (US$49) platform is a perfect development system for quick application prototyping and demonstration.&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_59.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35793i0698F212E6A87956/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_59.png" alt="pastedImage_59.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 1: S32K144EVB’s components &amp;amp; ports used during the workshop&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333;"&gt;The main component of this development platform is the S32K144 MCU that integrates a 32bit Cortex M4F core capable of running at 112MHz with 512KB of Flash memory and 54KB of RAM&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;. Dedicated hardware peripherals for motor control (FTM, ADC, PDB, Timers) and a large collection of communication blocks makes this MCU a suitable candidate for various industrial and automotive applications. A block diagram with the most important components and features is shown in Fig. 2.&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;In addition to this punchy MCU on the evaluation board we can also find:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="padding: 0px 0px 0px 30px;"&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;dedicated OpenSDA serial debug interface that will help us debug and visualize the data in real time;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;high speed communication CAN controller that support CAN-FD protocol;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;various interconnect standard headers to interface with other devices;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;analogue and digital inputs/outputs to control the application and/or signal various states;&lt;/LI&gt;
&lt;/UL&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_68.png" style="width: 525px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35794iB196C1DC67F69847/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_68.png" alt="pastedImage_68.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 2: S32K144 MCU Block Diagram&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;The S32K144EVB is design to work in conjunction with various plug in modules the most common one being the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/support/developer-resources/hardware-development-tools/ultra-reliable-mcus-development-platform/low-cost-motor-control-solution-for-devkit-platform:DEVKIT-MOTORGD" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;DEV-KIT MOTORGD&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that is designed to offer a low cost (US$49) power inverter solution for PMSM and BLDC motor control applications.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;As it is depicted in Fig. 3, the kit can be configured to drive PMSM or BLDC applications with a simple jumper configuration that selects which type of measurements are performed: inverter phase currents for PMSM or Back-EMF voltages for BLDC.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;A dedicated MOSFET gate driver MC34GD3000 controls the 3-phase inverter that can deliver up to 5Amps RMS on each phase. To address sensor based motor control applications the shield support both HALL or ENCODER type of feedback.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_78.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35797iDC31B9FB0D96F053/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_78.png" alt="pastedImage_78.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 3: DEV-KIT MOTORGD’s components &amp;amp; ports used during the workshop&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;To simplify the design process NXP’s is offering a complete out of the box solution for PMSM control application as shown in Fig. 4. The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/power-management/wireless-power/3-phase-pmsm-development-kit-with-nxp-s32k144-mcu:MTRDEVKSPNK144" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;MTRDEVKSPNK144 3-phase PMSM Development Kit with NXP S32K144 MCU&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is designed to enable rapid prototyping and evaluation of the motor control application without having to wait for the final hardware design.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_84.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35817i015BC1A8BE850137/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_84.png" alt="pastedImage_84.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 4: NXP’s MTRDEVKSPNK144 kit used during the workshop&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="color: #333333;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;Anyhow, the workshop is designed to be generic. The only part that is absolutely need it:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/s32-automotive-platform/32-bit-automotive-general-purpose-microcontrollers:S32K" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;S32K144 MCU&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;. The Model-Based Design approach and the models we are going to develop throughout this workshop are generic and should help you prototype on any other setup made of power inverter and motor.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in 0in 0.0001pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="background: white; margin: 0in; margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #333399; font-size: 16.5pt;"&gt;&lt;STRONG&gt;SOFTWARE SETUP&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;NXP offers a wide set of enablement tools and software to help customers to prototype and develop complex applications on top of NPX’s hardware. This workshop keep focus on Model-Based Design prototyping techniques and all the applications that are designed to control the PMSM are developed with NXP’s Model-Based Design Toolbox for S32K1xx.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;This toolbox is designed to work in conjunction with MATLAB and Simulink tools from MathWorks in order to facilitate fast prototyping and deployment with the help of MATLAB Embedded Coder automatic C-code generation as depicted in Fig. 5.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;The generated code is configured to:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="padding: 0px 0px 0px 30px;"&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;enable special functionalities that are delivered as standard drivers by the NXP’s &lt;STRONG&gt;SDK&lt;/STRONG&gt; package for S32K MCU families;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;enable optimized software routines design for motor control supported by NXP’s &lt;STRONG&gt;Automotive Math and Motor Control Library&lt;/STRONG&gt; (AMMCLIB);&lt;/LI&gt;
&lt;/UL&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_95.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35820i07D831BCCC900096/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_95.png" alt="pastedImage_95.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 5: NXP’s Model-Based Design Toolbox SW Architecture Philosophy&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;The main advantages of this approach are:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="padding: 0px 0px 0px 30px;"&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;no longer have to focus on C-code implementation leaving extra time available for algorithm development and research;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;re-use existing standard peripheral initialization code provided via standard SDK;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;re-use special motor control and math functions exposed via AMMCLIB;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;easy to migrate between S32K MCU derivatives to match your own criteria of cost vs. performance;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;simplify the migration between NXP’s platforms that are supported via various Model-Based Design Toolboxes;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;easy to integrate the MATLAB generated code for generic algorithm into a dedicated Integrated Development Environment such as S32 Design Studio;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="padding: 0px;"&gt;NOTE: ALL THE SOFTWARE TOOLS USED IN THIS WORKSHOP ARE FREE. SOME OF THE TOOLS REQUIRES A VALID LICENSE THAT CAN BE OBTAINED FREE-OF-CHARGE FROM YOUR NXP ACCOUNT&lt;/P&gt;
&lt;PRE class="jive_text_macro jive_macro_alert"&gt;&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;&lt;/PRE&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;NXP’s Model-Based Design Toolbox for S32K1xx is delivered as an Add-On package that can be installed automatically in MATLAB. This way MATLAB is going to take care of all installation steps and dependencies. This Add-On can be obtained:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="padding: 0px 0px 0px 30px; text-align: justify;"&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;directly from NXP website:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://nxp.flexnetoperations.com/control/frse/download?element=9501347" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;https://nxp.flexnetoperations.com/control/frse/download?element=9501347&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;directly from MathWorks website:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.mathworks.com/matlabcentral/fileexchange/64740-nxp-support-package-s32k1xx" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;https://www.mathworks.com/matlabcentral/fileexchange/64740-nxp-support-package-s32k1xx&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="color: #333333; border: none windowtext 1.0pt; font-size: 11.5pt; padding: 0in;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;The easiest way to install the toolbox is to get it directly from MathWorks site via MATLAB Add-Ons Browser as shown in Fig. 6.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_107.png" style="width: 551px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35821i61445B2C02FDBC7C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_107.png" alt="pastedImage_107.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 6: Browse for Add-Ons in MATLAB&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;With a simple search with &lt;STRONG&gt;S32K&lt;/STRONG&gt; keyword a list of available toolboxes should become visible. Most likely the first result returned is the &lt;STRONG&gt;NXP Support Package S32K1xx&lt;/STRONG&gt; toolbox.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="text-align: justify;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_111.png" style="width: 702px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35822i5A3AB427E730FD97/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_111.png" alt="pastedImage_111.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="text-align: justify;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 7: Search results&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;Select the package and click on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Add&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to start the installation process.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_117.png" style="width: 692px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35826i069C9421F26E542E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_117.png" alt="pastedImage_117.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 8: Adding the NXP’s toolbox to your local MATLAB Add-on collection&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: justify;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;After the installation is completed you need to select the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Open Folder&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to change the MATLAB path to navigate to the folder where the toolbox has been installed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="padding: 0px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_121.png" style="width: 706px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35828i749E1438CC1588BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_121.png" alt="pastedImage_121.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="padding: 0px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_123.png" style="width: 694px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35831i9A685ABA6C6F764E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_123.png" alt="pastedImage_123.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="color: #333333; border: 1pt none windowtext; font-size: 13px; padding: 0in;"&gt;Fig. 9: Support Package Install completed&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;Execute the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Installer.p&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file to start the Step-by-step Installer Wizard that will configure the rest of the tools on your PC. You need to have an active NXP account to be able to download the packages and generate a license file. The GUI is configured to make your journey simpler.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;You need to perform&amp;nbsp;four steps as depicted in Fig. 10:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="list-style-type: circle;"&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;download the package: this is semi-automatic since you need to log-in with NXP account to gain access to mltbx package.&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;install the package: this is done automatically by MATLAB&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;generate the license: this is a manual step.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;Watch this &lt;A href="https://community.nxp.com/videos/7974" target="_blank" rel="noopener noreferrer"&gt;video&lt;/A&gt;&amp;nbsp;t&lt;/SPAN&gt;o get more details in case you face issues with online documentation from NXP website&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px; text-align: justify;"&gt;verify the install: this is done automatically by the Installer Guide.&lt;/LI&gt;
&lt;/UL&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_2.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35832i550F380B13D9CA24/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 10: NXP’s Toolbox Installation Guide&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;The final step is to configure a compiler tool-chain that will be used to cross-compile from ARM architecture the MATLAB generated code. The actual toolbox for S32K1xx supports GCC, IAR and GreenHills compilers. For convenience, the toolbox is shipped with the free GCC toolchain that is fully supporting the S32K MCU families.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;To keep things simple and Simulink models available for anyone we are going to configure the GCC as tool-chain that is going to be used for cross-compilation of motor control applications.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;Fig. 11 shows the default location of the GCC compiler within the Model-Based Design Toolbox suite and how to create a new System Variable to point to the location of the GCC tool-chain. Please note that the name of the System Variable is defined as: GCC_S32K_TOOL. If you plan to use a different tool-chain please refer to NXP’s Model Based Design Toolbox help that is available directly from MATLAB.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_4.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35833i10C5C82F0327DC9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 11: Setting up the GCC tool-chain as compiler for MBD Toolbox&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;In addition to the Model-Based Design Toolbox installation and configuration you will need to install the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/products/power-management/wireless-power/freemaster-run-time-debugging-tool:FREEMASTER" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="font-size: 11.5pt; border: none windowtext 1.0pt; padding: 0in;"&gt;FreeMASTER Run-Time Debugging Tool&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;. The installer can be found in the same Toolbox folder as the GCC tool-chain or it can be downloaded separately from the NXP’s official website. The installation of FreeMASTER is very simple, just run the executable and follow the on the screen instructions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="color: #333399; font-size: 16.5pt;"&gt;&lt;STRONG&gt;VERIFICATION&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;There is no better way to verify something than to create an application. To validate that the hardware and software setup is done correctly and prepared for motor control application development we need to build an example that should validate the following aspects:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="list-style-type: circle; text-align: justify;"&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;MATLAB code generation: this validates that the NXP toolbox installed correctly, the GCC path and system variable is set correctly, the proper MATLAB licenses exists and are valid&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;Application download: this validates that the board is recognized by the Windows OS, the correct OpenSDA USB drivers are installer and configures, the board is alive&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;Application running: this validates that the application programmed on the board is executed, the HW inputs and output are operational, the communication with the board is stable&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;We can test these aspects with a basic application that consists in:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="list-style-type: circle; text-align: justify;"&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;Read the SW2 push button state at each 0.1 seconds&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;Switch on/off the Blue LED&lt;/LI&gt;
&lt;LI style="margin: 0.2em 0px;"&gt;Record the value of the push button and display its state via serial communication in FreeMASTER&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;The application flow is shown in Fig. 12. The code that runs on S32K144 MCU will be pooling at each 0.1 seconds the state of the SW2 push button and depending on the value read via the associated digital input will update the state of the Blue LED by writing 1 or 0 to the associated digital output. In the same time the application needs to configure the UART peripheral to send the value of the variable associated with the SW2 push button state to the FreeMASTER where it can be displayed in real time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_3.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35837i657BD22DCCF1BB46/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 12: Basic Application – hardware mapping&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="border: none windowtext 1.0pt; padding: 0in; color: #333333; font-size: 11.5pt;"&gt;On the S32K144EVB the hardware schematics indicates that the signal from the SW2 push button is routed to the general-purpose pin PTC12. That is the input we are going to use for reading the push button state at each 0.1 seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="height: 307px;"&gt;
&lt;TD style="height: 307px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_5.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35840i47FBEFE768D22E25/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 25px;"&gt;
&lt;TD style="height: 25px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 13: Push button signal routing&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;The Blue LED is associated with the PTD0 general-purpose pin. Each time the SW2 push button will be depressed we need to switch the Blue LED ON.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_8.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35845iE13AC342CC032DA9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 14: Blue LED signal routing&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;To communicate with the S32K144 MCU, we are going to use the built-in OpenSDA that will have a dual purpose: to load/flash the application into the MCU flash memory and to assist with serial communication over the virtual COM port mapped on top of physical USB. For S32K144EVB the MK20 microprocessor that implements the OpenSDA protocol is connected with the S32K144 MCU via RX/TX assigned for UART1 peripheral instance as it is shown in Fig. 15.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_11.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35858i3C43FF309EB0CED0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 15: Communication between the Host PC and S32K144 MCU&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;To get more information about the OpenSDA hardware and software please visit NXP’s&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A style="color: #2989c5; text-decoration: none;" href="https://www.nxp.com/support/developer-resources/run-time-software/kinetis-developer-resources/ides-for-kinetis-mcus/opensda-serial-and-debug-adapter:OPENSDA" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;&lt;SPAN style="font-size: 11.5pt; border: none windowtext 1.0pt; padding: 0in;"&gt;OpenSDA webpage&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;The entire can be implemented in a matter of minutes using standard Simulink blocks from NXP’s Model Based Design Toolbox for S32K1xx Simulink Library.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_1.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35861i1AC5B9C0956324EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 16: NXP’s Model-Based Design Simulink Library&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;Check the video below for to see a step-by-step tutorial regarding the implementation details and final setup validation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #000000; background-color: #000000; border-color: #000000;" width="100%"&gt;
&lt;THEAD&gt;
&lt;TR style="background-color: #efefef;"&gt;
&lt;TH style="width: 93%; background-color: #000000;" colspan="3"&gt;&lt;SPAN style="color: #ffffff;"&gt;Hands-on video training: How to build an application from scratch with NXP's Model-Based Design Toolbox for S32K MCU family for testing the Hardware and Software environment setup&lt;/SPAN&gt;&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR style="background-color: #000000;"&gt;
&lt;TD style="width: 19%; text-align: center;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;TD style="width: 61.4981%; text-align: center;"&gt;
&lt;DIV class="lia-vid-container video-embed-center"&gt;
&lt;DIV id="lia-vid-6185806973001w320h240r836" class="lia-video-brightcove-player-container"&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6185806973001w960h540r194" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6185806973001" data-account="6153537070001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6153537070001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6185806973001w960h540r194');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.nxp.com/t5/video/gallerypage/video-id/6185806973001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/DIV&gt;
&lt;A class="video-embed-link" href="https://community.nxp.com/t5/video/gallerypage/video-id/6185806973001" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer noopener noreferrer noopener noreferrer"&gt;(view in My Videos)&lt;/A&gt;&lt;/DIV&gt;
&lt;/TD&gt;
&lt;TD style="width: 12.5019%; text-align: center;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colspan="3" style="width: 19%;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;The final model is shown below:&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_3.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35862i7D8E4DD9C9B92AD4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 16: Simulink model to verify the Hardware and Software setup&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #333333; border: none windowtext 1.0pt; padding: 0in;"&gt;When the application is loaded and executed on the target the following result should be visible in FreeMASTER&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6; border-width: 1px; border-color: #ffffff;" width="100%"&gt;
&lt;TBODY style="border: inherit solid inherit;"&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="font-size: inherit; padding: 5px; text-align: center;"&gt;&lt;SPAN class="lia-inline-image-display-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pastedImage_5.png" style="width: 624px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35871iBBC6C75EC3BFC4F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="border: inherit solid inherit;"&gt;
&lt;TD style="border: inherit solid inherit; font-size: inherit; padding: 5px;"&gt;
&lt;P style="text-align: center;"&gt;&lt;SPAN style="font-size: 13px; color: #333333; border: 1pt none windowtext; padding: 0in;"&gt;Fig. 17: FreeMASTER variable display&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;We hope you enjoy the new workshop format and find this information useful. Feel free to LIKE this article and comment below.&lt;/P&gt;
&lt;P style="text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;STRONG&gt;Update revisions&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 2.0pt 0in 2.0pt 0in;"&gt;&lt;SPAN style="font-size: 11.5pt;"&gt;March&amp;nbsp;18, 2019&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL style="padding: 0px 0px 0px 30px;"&gt;
&lt;LI style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;update the model&amp;nbsp;to work with&amp;nbsp;&lt;A style="color: #2989c5; text-decoration: none;" href="https://community.nxp.com/docs/DOC-342724" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN style="color: blue;"&gt;Model-Based Design Toolbox for MPC57xx Automotive Version 3.0.0&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;May 06, 2020&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="font-size: 12.0pt;"&gt;&lt;SPAN&gt;update the model&amp;nbsp;to work with &lt;A style="color: #2989c5; text-decoration: none;" href="https://community.nxp.com/docs/DOC-346265" target="_blank" rel="noopener noreferrer"&gt;&lt;SPAN style="color: blue;"&gt;Model-Based Design Toolbox for MPC57xx Automotive Version 3.2.0&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 15 Jan 2021 05:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734725#M1644</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2021-01-15T05:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734726#M1645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simulink&amp;nbsp; 2015b model used in this lecture in case you need to open/import in older MATLAB version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 07:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734726#M1645</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-01-24T07:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734727#M1646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This&amp;nbsp;Simulink model is now available on MATLAB 2018b and MBDT for S32K14x 2018.R1 release&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 12:40:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734727#M1646</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-11-27T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734728#M1647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dumitru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing a Problem while Building the Code. i completed the Installation of the 2018 R1 Toolbox and i am using matlab 2018b but when i build the Code, Simulink freezes and stops working without giving any sort of Output or Errors. have you encoutered this Problem before?&lt;/P&gt;&lt;P&gt;if so please provide me with some Information on how to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Ali Terro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2019 09:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734728#M1647</guid>
      <dc:creator>ali_terro</dc:creator>
      <dc:date>2019-07-08T09:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734729#M1648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;STRONG style="background-color: #ffffff; color: #51626f; font-weight: 400; "&gt;Dumitru,&lt;/STRONG&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;I have encountered a problem&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;while&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 16px;"&gt;executing&lt;/SPAN&gt;&amp;nbsp;the Module 1. The code can be download as the&amp;nbsp; one shown.&amp;nbsp; The&amp;nbsp; code does not executing on MPC5744P DevKit.&amp;nbsp; Is there a&amp;nbsp; solution?&amp;nbsp;&amp;nbsp; PS : I use matlab 2018a and mbd toolbox 3.0.0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;Thanks very much and wait for your reply!&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #51626f; font-weight: 400; "&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2019 01:55:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734729#M1648</guid>
      <dc:creator>462150318</dc:creator>
      <dc:date>2019-11-04T01:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734730#M1649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/462150318@qq.com"&gt;462150318@qq.com&lt;/A&gt;‌,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I think your post is related, or the same, with the question asked here&amp;nbsp;&lt;A href="https://community.nxp.com/thread/499879"&gt;HotFix: MBD Toolbox 3.0.0 for MPC57xx&lt;/A&gt;&amp;nbsp; so let's discuss your problem here, and not on the Hotfix page.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;The MPC board can be programmed using the RappID Bootloader, while the S32K has an alternative option where the code can be programmed by copying the .mot file on the mounted Disk. So, for MPC, once the code was successfully compiled, a popup should appear asking you to reset the board and the bootloader will start transferring the code. Can you confirm this?&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;If the code was generated and the build was successful, you can also test flashing the generated mot file using the S32DS for Power, and check if the code works. This approach will help us to see if there is a code generation/compiling problem or a flashing issue.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2019 09:05:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734730#M1649</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-11-04T09:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734731#M1650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Daniel,&lt;/P&gt;&lt;P&gt;First of all, Thanks for teaching this great course.&lt;/P&gt;&lt;P&gt;I am having few issues while doing the module1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;First issue:&lt;/P&gt;&lt;P&gt;I could able to generate the code without any errors using the 2019a version. but my kit is not blinking LEd at all while I am pressing sw2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;I could successfully map the elf file to free master. But I could not see the sw2 status variable in freemaster. Could you please help me with this. Please see the attached model and generated code. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 04:18:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734731#M1650</guid>
      <dc:creator>palla071</dc:creator>
      <dc:date>2019-11-15T04:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734732#M1651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/palla071@umn.edu"&gt;palla071@umn.edu&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project attached has its name on s32k11x but inside the project attached, the Config block gas the target set for S32K144. On which board do you want to run your project? Also, the .mot file attached in the archive&amp;nbsp; is working on S32K144EVB (Pressing SW2 turns the Blue LED on).&lt;/P&gt;&lt;P&gt;For the second question, please check inside the FreeMaster Config Block the selected UART pins that they have been correctly selected. Please reply with the board you want to run and I will check the pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734732#M1651</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-11-18T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734733#M1652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Marius,&lt;/P&gt;&lt;P&gt;Thanks for your response. I am trying to run the code in S32K144EVB. I was using GCC compiler in the files that I have shared. For some reason,it was not working. Then I tried to change the compiler to IAR. Then it started working. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 14:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734733#M1652</guid>
      <dc:creator>palla071</dc:creator>
      <dc:date>2019-11-18T14:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734734#M1653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dimitri,&lt;/P&gt;&lt;P&gt;Right now I have installed on MATLAB 2019a and&amp;nbsp;can I use the available models?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Feb 2020 15:17:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734734#M1653</guid>
      <dc:creator>rajarama_purani</dc:creator>
      <dc:date>2020-02-10T15:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734735#M1654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for this demo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question about the out-port that I need to add so that I can show it in Freemaster.&lt;/P&gt;&lt;P&gt;I did all the steps but still the out-port name is not shown in Freemaster, Is there a way to check what I missed ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 19:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734735#M1654</guid>
      <dc:creator>hossam_yonis</dc:creator>
      <dc:date>2020-04-21T19:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734736#M1655</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/hossam.yonis@valeo.com"&gt;hossam.yonis@valeo.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on your MATLAB/Simulink version you will probably need to define the Simulink Outport in the model itself as a "volatile" data type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, you will need to check the generated code and see in which variable the Simulink store the output. It is typically something like &amp;lt;model_name&amp;gt;_b.&amp;lt;variable_name&amp;gt; and plot that in the FreeMASTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that works!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 08:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734736#M1655</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2020-04-22T08:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734737#M1656</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;Thank you for the tip, I created a simulink signal object and make it's storage class as global and now works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734737#M1656</guid>
      <dc:creator>hossam_yonis</dc:creator>
      <dc:date>2020-04-22T11:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734738#M1657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same issue. Even when I create a simulink signal object like &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/hossam.yonis@valeo.com"&gt;hossam.yonis@valeo.com&lt;/A&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="354698" data-objecttype="3" href="https://community.nxp.com/people/hossam.yonis@valeo.com"&gt;‌&lt;/A&gt; , I can't find the variable in freemaster. It seems to read correctly the addresses, because the value of the variable change when I change the address.&lt;/P&gt;&lt;P&gt;In the generated code, what can I do with the variable name?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 19:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734738#M1657</guid>
      <dc:creator>jeremoto</dc:creator>
      <dc:date>2020-07-09T19:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734739#M1658</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/jeremoto"&gt;jeremoto&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, I recommend using "volatile" - this way the variable will not be optimized out by cross-compiler (GCC/IAR/etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the data store then:&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/115485i14EDDC859C013FE3/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;&lt;/P&gt;&lt;P&gt;If you use the signals to assign variables then:&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/115486i2DADB99AC55522A0/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;If you still can't find it after using "volatile" then have a look in the generated code. Typically, Simulink creates a structure and your variable is one of these structure fields.&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, 10 Jul 2020 07:07:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734739#M1658</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2020-07-10T07:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734740#M1659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works with the data store memory. Thank you !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 08:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/734740#M1659</guid>
      <dc:creator>jeremoto</dc:creator>
      <dc:date>2020-07-13T08:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1151488#M4989</link>
      <description>&lt;P&gt;Hi dumitru-daniel_,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; I followed the software setup steps in module1,but it doesn't work well ,i can't&amp;nbsp; use the simulink&amp;nbsp; model "Verify_SW_HW_Setup" you uploaded to generate code .My matlab version is matlab 2019a.I tried "MBDToolbox_S32K1xx_2018.R1_20180723" and" MBDToolbox_S32K1xx_4.2.0_20200720",the same errors happended . I will upload some pictures about the errors and the&amp;nbsp;&lt;SPAN&gt;location of the GCC compiler&amp;nbsp;in my computer.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Would you please&amp;nbsp; give me some advices.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thanks a lot. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&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; &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; &amp;nbsp; &amp;nbsp; &amp;nbsp;Jerry&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 09:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1151488#M4989</guid>
      <dc:creator>Jerry_zhang</dc:creator>
      <dc:date>2020-09-10T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1151796#M4993</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/50705"&gt;@Daniel_Popa&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The figures and videos in module 1 to module 10 cannot be loaded and displayed for several days.&lt;/P&gt;&lt;P&gt;I have checked my internet connection, web browser setting and disabled ad filter, I have even tried to browse these pages using starbuck's wifi and with different web browser, firefox, chrome, ms edge, but the figures and videos cannot be displayed.&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 00:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1151796#M4993</guid>
      <dc:creator>Jimny</dc:creator>
      <dc:date>2020-09-11T00:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1151816#M4996</link>
      <description>&lt;P&gt;The same problem occurs to me.&lt;/P&gt;&lt;P&gt;I use matlab 2019b and NXP_MBDToolbox_S32K1xx 4.2.0&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124875iE349A36982AB297A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2.png" style="width: 702px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/124876i07F75C9C7563A383/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 01:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1151816#M4996</guid>
      <dc:creator>Jimny</dc:creator>
      <dc:date>2020-09-11T01:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Module 1: Environment Setup</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1152573#M5017</link>
      <description>&lt;P&gt;If you solve the problem,i hope you can share with me,thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 03:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Module-1-Environment-Setup/m-p/1152573#M5017</guid>
      <dc:creator>Jerry_zhang</dc:creator>
      <dc:date>2020-09-14T03:29:48Z</dc:date>
    </item>
  </channel>
</rss>

