NXP Model-Based Design Tools Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NXP Model-Based Design Tools Knowledge Base

Discussions

Sort by:
      Product Release Announcement Automotive Microcontrollers and Processors NXP Model-Based Design Toolbox for S32K1xx - 2018.R1     Austin, Texas, USA July 23, 2018 The Automotive Microcontrollers and Processors’ Model-Based Design Tools Team at NXP Semiconductors, is pleased to announce the release of the Model-Based Design Toolbox for S32K1xx 2018.R1. This release supports automatic code generation for S32K1xx peripherals and applications prototyping from MATLAB/Simulink for NXP’s S32K1xx Automotive Microprocessors.   FlexNet Location: https://nxp.flexnetoperations.com/control/frse/download?element=10221477   Activation link https://nxp.flexnetoperations.com/control/frse/download?element=10221477     Technical Support NXP Model-Based Design Toolbox for S32K1xx issues are tracked through NXP Model-Based Design Tools Community space. https://community.nxp.com/community/mbdt   Release Content Automatic C code generation based on S32K SDK 2.0.0 RTM drivers from MATLAB® for NXP all S32K14x derivatives: S32K142 MCU Packages with 16/32KB SRAM (*updated) S32K144 MCU Packages with 48/64KB SRAM (*updated) S32K146 MCU Packages with 128KB SRAM (*new) S32K148 MCU Packages with 192/256KB SRAM (*new) Multiple options for packages and clock frequencies are available via Model-Based Design Toolbox S32K Simulink main configuration block New S32K peripheral support added for DMA, RTC, Registers were added to extend the existing toolbox capabilities. The 2018.R1 peripheral coverage for each of the S32K14x derivatives is shown below: Redesigned the FlexTimer configuration block to support additional features for PWM generation and triggering events Added support for System Basis Chip (SBC) UJA116x configuration Redesigned the main Simulink Embedded Target library for supporting future additions of other S32K derivatives and External Devices for S32K products Implement communication port auto discovery to allow easy configuration for downloading the generated code to NXP targets and new Diagnostic options to helps with model creation or migration. 100% S32K supported peripheral coverage with examples. Currently there 115 examples available as part of the toolbox that exercise all the functionalities supported Add support for External Mode that enables Simulink on the host computer to communicate with the deployed model on NXP hardware board during runtime Enable MATLAB code profiler for NXP targets for measuring the function execution time using Processor-in-the-Loop mode   For more details, features and how to use the new functionalities, please refer to the Release Notes document attached.   MATLAB® Integration The NXP Model-Based Design Toolbox extends the MATLAB® and Simulink® experience by allowing customers to evaluate and use NXP’s S32K1xx MCUs and evaluation boards solutions out-of-the-box with: NXP Support Package for S32K1xx Online Installer Guide Add-on allows users to install NXP solution directly from the Mathwork’s website or directly from MATLAB IDE. The Support Package provide a step-by-step guide for installation and verification. NXP Model-Based Design Toolbox for S32K1xx 2018.R1 is fully integrated with MATLAB® environment in terms of installation, documentation, help and examples;   Target Audience This release (2018.R1) is intended for technology demonstration, evaluation purposes and prototyping for S32K142, S32K144, S32K146 and S32K148 MCUs and Evaluation Boards  
View full article
This video is part of the Module 7: Torque Control  Workshop module and shows how to implement a FOC and control the PMSM torque and flux using standard PI controllers. This method is used to spin the PMSM in open loop using Space Vector Modulation. The video shows how to implement a control system with two control loops: FAST and SLOW
View full article
This video is part of the https://community.nxp.com/thread/467938  Workshop module and shows how to implement a simple V/F (V/Hz) scalar control to spin the PMSM in open loop using Space Vector Modulation and trapezoidal speed profile.
View full article
This video explains how to use a three phase inverter to control the voltage applied on PMSM using various PWM Modulation techniques like: bipolar modulation unipolar modulation sinusoidal modulation space vector modulation third harmonic injection The goal of this video is to cover the topic of Space Vector Modulation and PWM generation that represents the basics for applications we are going to develop throughout https://community.nxp.com/thread/464336 .
View full article
This video explains the steps required to build a control system based on Field Oriented Control theory. Step by step it is shown how the Park and Clarke Transformations works, how the values on stationary vs. rotating frames look like and what does it takes to build  a digital control system around FOC concepts with S32K144 Evaluation Board
View full article
This video explains the basics of the Permanent Magnet Synchronous Motors modes of operation with Field Oriented Control. It is not intended to replace a good engineering handbook and to go thru all the details of construction or mathematical models of the PMSM.  The topics highlighted in this video are chosen to provide specific details that represents the basics of PMSM motor control theory. The goal of this video is to refresh your knowledge about the motors and to explain some key aspects of the theory behind PMSM and Field Oriented Control that we are going to use in the next modules of the https://community.nxp.com/thread/464336 
View full article
This video shows how to build a simple S32K application with NXP's Model-Based Design Toolbox that consists in: Read the SW2 push button state at each 0.1 seconds Switch on/off the Blue LED Record the value of the push button and display its state via serial communication in FreeMASTER
View full article
        Product Release Announcement Automotive Microcontrollers and Processors Model-Based Design Toolbox v3.0.0 2017.R1         October 16, 2017 Model-Based Design Toolbox v3.0.0 for NXP’s S32K1xx Automotive Microprocessors    Main Features: Embedded target support for S32K144 and S32K142 MCUs with example for S32K144EVB-Q100 and S32K142EVB-Q100 evaluation boards Online installer available directly from MathWorks website Add-On Explorer. Installation Guide step-by-step application to provide an improved user experience for toolbox download, installation and license generation from NXP website   Documentation, help and S32K1xx examples fully integrated into MATLAB development environment for ease of use and fast prototyping New peripherals support for: Watchdog (WDOG) Power Management Controller (PMC) Low Power Timer (LPTMR) Cryptographic Services Engine (CSEC) FlexIO for supporting I2C, SPI and UART communications  Add new functionalities for: CAN with Flexible Data Rate (CAN-FD) CAN with Rx FIFO CAN Pretended Networking Blocking or Non-Blocking transmit/receive modes for Communication blocks FreeMASTER configuration block for embedded driver Support for SRAM application download  Enhance the support for all existing Simulink blocks to support basic and advanced mode of peripheral configuration Support for MATLAB 2017b release Integrates the Automotive Math and Motor Control Library release 1.1.9 for ARM M4 cores Integrates the SDK release version 0.8.4 EAR for S32K1xx MCU. NXP’s Model-Based Design Toolbox generates codes based on standard SDK API, covering most of the functionalities exposed by SDK   Download NXP’s Model-Based Design Toolbox for S32K1xx: https://nxp.flexnetoperations.com/control/frse/download?element=9501347 or browse for file here: Model-Based Design Toolbox|NXP    Getting Started Videos: How to install Model-Based Design Toolbox for S32K1xx How to get help with NXP's toolbox for S32K1xx Basic & Advanced modes for configuration of S32K1xx Motor Control example with S32K1xx FlexIO Communication example with S32K1xx Low Power Modes example with S32K1xx   Support: https://community.nxp.com/community/mbdt        
View full article
This video shows how: Install the Support Package Add-On Use of Installer Wizard Toolbox package download & install License generation and setup
View full article
This video shows how to navigate within the integration Matlab help for NXP's Model-Based Design Toolbox for S32K1xx. The following items will be highlighted: Getting HELP Open Examples Support via Community
View full article
This video shows the main differences between basic and advanced modes for peripheral configuration
View full article
This video shows how easy it is to build a motor control application for BLDC with NXP's Model-Based Design Toolbox
View full article
This video demonstrates how to: SPI Master configuration SPI Slave configuration Ping-Pong data message Data visualization via FreeMASTER
View full article
This video demonstrates how to: Wake up on time interrupt Read temperature via FlexIO interface Relay information to host PC via UART interface Go to sleep to preserve the power
View full article
This video shows the overall motor control application developed with Model Based Design Toolbox. We are going to assemble all the blocks developed throughout this course and we will have the motor running under Speed Controller supervision. We also discuss about the FreeMASTER and you can easily create nice control panels for the applications and how you can validate the Speed Controller and overall Motor Control application. We discuss about: - Speed Controller implementation in Simulink for real time systems; - Motor and Inverter protection for over-current, over- and under-voltage; - FreeMASTER control panel using HTML and Java Script; - Various tests on the MPC5744P DevKit and MotorGD DevKit;   NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about control system theory and the mathematics behind the speed controller designing process. We are going to analyse the control system stability based on poles and zeros location and then we will compute the PI speed controller gains using the Root Locus allocation method. For the cases where the system transfer function is unknown we are discussing Ziegler Nichols method for finding the controller gains and we are going to verify the control system designing process by simulating a BLDC motor behavior and building a PI speed controller to handle the system response. We discuss about: - How to choose the controller type based on system transfer function; - How to analyze system stability starting from the characteristic polynomial; - What are the gain, zeros and poles of closed loop transfer function; - Root Locus allocation method based on second order ideal model with dumping factor and natural frequency; - Ziegler Nichols tuning methods; - Simulink models for BLDC motor and PI Speed Controller NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we show how to build, simulate and test a speed estimator based on Hall Sensors for a BLDC motor. The estimator is first tested under Matlab Simulink environment and then ported into the Open Loop Control Simulink model and tested on the MPC5744P Development Kit with FreeMASTER over CAN interface.   We discuss about: - How to compute the speed; - How to build a speed estimator based on Hall sensors; - Step-by-step model building an enhancements; NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
In this video we discuss about Open Loop Control strategy and for the first time in this course we will put together all the models we have created so far and build the Simulink model that will allow us to rotate the BLDC motor. We discuss about: - Open Loop Control diagram; - Step-by-step model building an enhancements; - Test the open loop control system on the BLDC motor;   NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article
Short unedited video - showing the Model Based Design at work on our custom demo platform created with the scope of supporting various scenarios testing.
View full article
Check this short video to see the cool stuff you can do with an S32K144 DevKit. NOTE: Chinese viewers can watch the video on YOUKU using this link 注意:中国观众可以使用此链接观看YOUKU上的视频
View full article