Create a new model and configure it for NXP Hardware

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

Create a new model and configure it for NXP Hardware

Create a new model and configure it for NXP Hardware

 

 

 

 

2

Introduction


Developing embedded applications for NXP microcontrollers—especially platforms like the S32K series—involves using tools such as MATLAB/Simulink (MBDT – Model-Based Design Toolbox), S32 Design Studio (S32DS), and EB tresos. This article walks through the key steps involved in creating a new model and configuring it properly for NXP hardware, focusing on a practical workflow used in automotive and embedded systems projects.

 

 

 

3

Prerequisites


Before starting, ensure the following tools are installed and correctly configured:

  • MATLAB & Simulink
  • NXP MBDT
  • S32 Design Studio / EB tresos
  • NXP RTD drivers
  • USB / JTAG debugger (e.g., PEMicro)
  • Target hardware (e.g., S32K344, S32K358)

In addition to having the required tools installed, it is important to ensure that all components are properly integrated and compatible with each other. This includes matching the MATLAB/Simulink version with the supported release of the NXP MBDT, as well as aligning the RTD package with the selected microcontroller and AUTOSAR version. Environment variables, compiler paths, and licensing (for MATLAB, Simulink, and EB tresos) should also be verified prior to starting development.

From a hardware perspective, make sure that the evaluation board or target ECU is correctly powered and that the debug interface (such as PEMicro) is functioning. Installing the appropriate USB drivers and checking connection through debug tools can prevent communication issues later in the workflow.

Finally, it is recommended to validate the toolchain setup by running a simple example, such as a GPIO toggle or LED blink application, either directly in S32DS or through an existing Simulink example provided by MBDT. This step helps confirm that code generation, compilation, flashing, and execution on the target hardware are all working correctly before moving on to a more complex development.

 

 

 

4

Creating a New Simulink Model


Step 1: Launch Simulink

  • Open MATLAB
  • Type simulink in the command window
  • Select Blank Model
Sebastian13_0-1784719500241.png

Step 2: Save the Model

  • Save with a clear naming convention, e.g. s32k344_led_blink.mdl

 

 

 

5

Configure the Model for NXP Hardware


Step 3: Open Model Configuration Parameters

  • Navigate to Model Settings (Ctrl + E) → Hardware Implementation

Step 4: Select Hardware Board

  • Set Hardware board to the appropriate NXP target
  • For example, NXP S32Kxx

Step 5: Select a Configuration Template

  • Set Configuration Project Template to the appropriate NXP target
  • For example, S32K344-Q172 S32 Config Tool

If the board is not visible, ensure MBDT is properly installed.

Sebastian13_1-1784719557125.png

 

 

 

6

Add Simulink Blocks


Using the Library Browser, configure hardware peripherals.

Sebastian13_3-1784719625876.png

Step 6: Configure GPIO for LED

  • Add a Dio block
  • Configure:
    • Function: Dio_FlipChannel
    • Channel: e.g. DioLed0

Step 7: Add Level Variable

  • Add Data Store Memory and Data Store Write blocks
  • Connect the Dio block to the Data Store Write

This will blink an LED because the Dio_FlipChannel function toggles the logical state of the selected GPIO pin every time it is executed. By connecting it to a Data Store Write, you are effectively allowing the system to store or propagate the updated state within the model. The blinking frequency is directly controlled by the task rate of your model, which makes it easy to adjust the LED behavior simply by changing the sample time, without modifying the core logic.

In the Library Browser you will find numerous example projects that may be helpful (for example, s32k3xx_dio_s32ct).

Sebastian13_4-1784719654387.png

 

 

 

7

Build the Model


Step 8: Generate Code

Click Build Model (Ctrl + B)

Sebastian13_5-1784719707916.png

When you press the build button, Simulink automatically translates your model into C code and prepares it for execution on the target microcontroller. The generated files can be found in the project folder, where you can explore how each block was converted into embedded code. After generation, the toolchain creates an executable file and attempts to deploy it directly to the target board.

 

 

 

8

Flash and Run on Hardware


Step 9: Connect Target Board

  • Connect via debugger (USB / JTAG)

Step 10: Deploy

  • From Simulink (External Mode or Build & Deploy)
  • Or manually via S32 Design Studio

 

 

 

 

 

 

10

Conclusion


Creating a new model and configuring it for NXP hardware involves:

  • Setting up the Simulink model
  • Configuring hardware-specific parameters
  • Adding peripheral blocks
  • Generating and deploying embedded code

This workflow enables rapid prototyping and production-ready embedded development, especially in automotive systems leveraging AUTOSAR and NXP platforms.

%3CLINGO-SUB%20id%3D%22lingo-sub-2397758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECreate%20a%20new%20model%20and%20configure%20it%20for%20NXP%20Hardware%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2397758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3C!--%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A%20%20MBDT%20COMMUNITY%20POST%20DOCUMENTATION-STYLE%20TEMPLATE%0A%0A%20%20HOW%20TO%20USE%0A%20%20----------%0A%20%201.%20Replace%20%5Bbracketed%20placeholders%5D%20with%20your%20content.%0A%20%202.%20To%20add%20a%20new%20section%3A%20copy%20a%20whole%20%22SECTION%20N%22%20block%2C%20paste%20below%2C%0A%20%20%20%20%20change%20the%20badge%20number%2C%20the%20heading%20id%2C%20and%20add%20a%20TOC%20entry.%0A%20%203.%20To%20make%20a%20TOC%20link%20jump%20to%20a%20section%2C%20the%20href%3D%22%23partN%22%20must%20match%0A%20%20%20%20%20the%20heading's%20id%3D%22partN%22.%0A%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%0A--%3E%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%3C!--%20%20TABLE%20OF%20CONTENTS%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E1%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--463177285%22%20id%3D%22toc-hId--463115696%22%3ETable%20of%20Contents%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%3C!--%20TOC%20entries%20--%3E%0A%3CUL%20style%3D%22list-style%3A%20none%3B%20padding%3A%200%200%200%204px%3B%20margin%3A%200%3B%20color%3A%20%231565c0%3B%22%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part2%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EIntroduction%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part3%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPrerequisites%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part4%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ECreating%20a%20New%20Simulink%20Model%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part5%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EConfigure%20the%20Model%20for%20NXP%20Hardware%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part6%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EAdd%20Simulink%20Blocks%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part7%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EBuild%20the%20Model%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part8%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFlash%20and%20Run%20on%20Hardware%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part9%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EReferences%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part10%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EConclusion%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%202%20-%20Introduction%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E2%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part2%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-2024335548%22%20id%3D%22toc-hId-2024397137%22%3EIntroduction%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3EDeveloping%20embedded%20applications%20for%20NXP%20microcontrollers%E2%80%94especially%20platforms%20like%20the%20%3CSTRONG%3ES32K%20series%3C%2FSTRONG%3E%E2%80%94involves%20using%20tools%20such%20as%20%3CSTRONG%3EMATLAB%2FSimulink%20(MBDT%20%E2%80%93%20Model-Based%20Design%20Toolbox)%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ES32%20Design%20Studio%20(S32DS)%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3EEB%20tresos%3C%2FSTRONG%3E.%20This%20article%20walks%20through%20the%20key%20steps%20involved%20in%20creating%20a%20new%20model%20and%20configuring%20it%20properly%20for%20NXP%20hardware%2C%20focusing%20on%20a%20practical%20workflow%20used%20in%20automotive%20and%20embedded%20systems%20projects.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%203%20-%20Prerequisites%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E3%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part3%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-216881085%22%20id%3D%22toc-hId-216942674%22%3EPrerequisites%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3EBefore%20starting%2C%20ensure%20the%20following%20tools%20are%20installed%20and%20correctly%20configured%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EMATLAB%20%26amp%3B%20Simulink%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENXP%20MBDT%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ES32%20Design%20Studio%3C%2FSTRONG%3E%20%2F%20%3CSTRONG%3EEB%20tresos%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ENXP%20RTD%20drivers%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3CLI%3EUSB%20%2F%20JTAG%20debugger%20(e.g.%2C%20%3CSTRONG%3EPEMicro%3C%2FSTRONG%3E)%3C%2FLI%3E%0A%3CLI%3ETarget%20hardware%20(e.g.%2C%20%3CSTRONG%3ES32K344%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ES32K358%3C%2FSTRONG%3E)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIn%20addition%20to%20having%20the%20required%20tools%20installed%2C%20it%20is%20important%20to%20ensure%20that%20all%20components%20are%20properly%20integrated%20and%20compatible%20with%20each%20other.%20This%20includes%20matching%20the%20MATLAB%2FSimulink%20version%20with%20the%20supported%20release%20of%20the%20NXP%20MBDT%2C%20as%20well%20as%20aligning%20the%20RTD%20package%20with%20the%20selected%20microcontroller%20and%20AUTOSAR%20version.%20Environment%20variables%2C%20compiler%20paths%2C%20and%20licensing%20(for%20MATLAB%2C%20Simulink%2C%20and%20EB%20tresos)%20should%20also%20be%20verified%20prior%20to%20starting%20development.%3C%2FP%3E%0A%3CP%3EFrom%20a%20hardware%20perspective%2C%20make%20sure%20that%20the%20evaluation%20board%20or%20target%20ECU%20is%20correctly%20powered%20and%20that%20the%20debug%20interface%20(such%20as%20PEMicro)%20is%20functioning.%20Installing%20the%20appropriate%20USB%20drivers%20and%20checking%20connection%20through%20debug%20tools%20can%20prevent%20communication%20issues%20later%20in%20the%20workflow.%3C%2FP%3E%0A%3CP%3EFinally%2C%20it%20is%20recommended%20to%20validate%20the%20toolchain%20setup%20by%20running%20a%20simple%20example%2C%20such%20as%20a%20GPIO%20toggle%20or%20LED%20blink%20application%2C%20either%20directly%20in%20S32DS%20or%20through%20an%20existing%20Simulink%20example%20provided%20by%20MBDT.%20This%20step%20helps%20confirm%20that%20code%20generation%2C%20compilation%2C%20flashing%2C%20and%20execution%20on%20the%20target%20hardware%20are%20all%20working%20correctly%20before%20moving%20on%20to%20a%20more%20complex%20development.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%204%20-%20Creating%20a%20New%20Simulink%20Model%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E4%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part4%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--1590573378%22%20id%3D%22toc-hId--1590511789%22%3ECreating%20a%20New%20Simulink%20Model%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EStep%201%3A%20Launch%20Simulink%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOpen%20MATLAB%3C%2FLI%3E%0A%3CLI%3EType%20%3CCODE%3Esimulink%3C%2FCODE%3E%20in%20the%20command%20window%3C%2FLI%3E%0A%3CLI%3ESelect%20%3CSTRONG%3EBlank%20Model%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sebastian13_0-1784719500241.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sebastian13_0-1784719500241.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392922iCBA638D6BDA7EEBA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sebastian13_0-1784719500241.png%22%20alt%3D%22Sebastian13_0-1784719500241.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3E%3CSTRONG%3EStep%202%3A%20Save%20the%20Model%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESave%20with%20a%20clear%20naming%20convention%2C%20e.g.%20%3CCODE%3Es32k344_led_blink.mdl%3C%2FCODE%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%205%20-%20Configure%20the%20Model%20for%20NXP%20Hardware%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E5%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part5%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-896939455%22%20id%3D%22toc-hId-897001044%22%3EConfigure%20the%20Model%20for%20NXP%20Hardware%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EStep%203%3A%20Open%20Model%20Configuration%20Parameters%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ENavigate%20to%20%3CSTRONG%3EModel%20Settings%3C%2FSTRONG%3E%20(%3CCODE%3ECtrl%20%2B%20E%3C%2FCODE%3E)%20%E2%86%92%20%3CSTRONG%3EHardware%20Implementation%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EStep%204%3A%20Select%20Hardware%20Board%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESet%20%3CSTRONG%3EHardware%20board%3C%2FSTRONG%3E%20to%20the%20appropriate%20NXP%20target%3C%2FLI%3E%0A%3CLI%3EFor%20example%2C%20%3CSTRONG%3ENXP%20S32Kxx%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EStep%205%3A%20Select%20a%20Configuration%20Template%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESet%20%3CSTRONG%3EConfiguration%20Project%20Template%3C%2FSTRONG%3E%20to%20the%20appropriate%20NXP%20target%3C%2FLI%3E%0A%3CLI%3EFor%20example%2C%20%3CSTRONG%3ES32K344-Q172%20S32%20Config%20Tool%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIf%20the%20board%20is%20not%20visible%2C%20ensure%20MBDT%20is%20properly%20installed.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sebastian13_1-1784719557125.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sebastian13_1-1784719557125.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392923i64A3D20FA89C4F5E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sebastian13_1-1784719557125.png%22%20alt%3D%22Sebastian13_1-1784719557125.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FDIV%3E%0A%3C!--%20%20SECTION%206%20-%20Add%20Simulink%20Blocks%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E6%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part6%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--910515008%22%20id%3D%22toc-hId--910453419%22%3EAdd%20Simulink%20Blocks%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3EUsing%20the%20%3CSTRONG%3ELibrary%20Browser%3C%2FSTRONG%3E%2C%20configure%20hardware%20peripherals.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sebastian13_3-1784719625876.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sebastian13_3-1784719625876.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392925i33F0F535884DD9EA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sebastian13_3-1784719625876.png%22%20alt%3D%22Sebastian13_3-1784719625876.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%3E%3CSTRONG%3EStep%206%3A%20Configure%20GPIO%20for%20LED%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdd%20a%20%3CSTRONG%3EDio%3C%2FSTRONG%3E%20block%3C%2FLI%3E%0A%3CLI%3EConfigure%3A%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EFunction%3A%3C%2FSTRONG%3E%20%3CCODE%3EDio_FlipChannel%3C%2FCODE%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EChannel%3A%3C%2FSTRONG%3E%20e.g.%20%3CCODE%3EDioLed0%3C%2FCODE%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EStep%207%3A%20Add%20Level%20Variable%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAdd%20%3CSTRONG%3EData%20Store%20Memory%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EData%20Store%20Write%3C%2FSTRONG%3E%20blocks%3C%2FLI%3E%0A%3CLI%3EConnect%20the%20Dio%20block%20to%20the%20Data%20Store%20Write%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20will%20blink%20an%20LED%20because%20the%20%3CCODE%3EDio_FlipChannel%3C%2FCODE%3E%20function%20toggles%20the%20logical%20state%20of%20the%20selected%20GPIO%20pin%20every%20time%20it%20is%20executed.%20By%20connecting%20it%20to%20a%20Data%20Store%20Write%2C%20you%20are%20effectively%20allowing%20the%20system%20to%20store%20or%20propagate%20the%20updated%20state%20within%20the%20model.%20The%20blinking%20frequency%20is%20directly%20controlled%20by%20the%20task%20rate%20of%20your%20model%2C%20which%20makes%20it%20easy%20to%20adjust%20the%20LED%20behavior%20simply%20by%20changing%20the%20sample%20time%2C%20without%20modifying%20the%20core%20logic.%3C%2FP%3E%0A%3CP%3EIn%20the%20Library%20Browser%20you%20will%20find%20numerous%20example%20projects%20that%20may%20be%20helpful%20(for%20example%2C%20%3CCODE%3Es32k3xx_dio_s32ct%3C%2FCODE%3E).%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sebastian13_4-1784719654387.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sebastian13_4-1784719654387.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392926i3EFE19338B53D00E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sebastian13_4-1784719654387.png%22%20alt%3D%22Sebastian13_4-1784719654387.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3C%2FDIV%3E%0A%3C!--%20%20SECTION%207%20-%20Build%20the%20Model%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E7%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part7%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-1576997825%22%20id%3D%22toc-hId-1577059414%22%3EBuild%20the%20Model%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EStep%208%3A%20Generate%20Code%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EClick%20%3CSTRONG%3EBuild%20Model%3C%2FSTRONG%3E%20(%3CCODE%3ECtrl%20%2B%20B%3C%2FCODE%3E)%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Sebastian13_5-1784719707916.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Sebastian13_5-1784719707916.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392927iA90AD0AF3617895E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Sebastian13_5-1784719707916.png%22%20alt%3D%22Sebastian13_5-1784719707916.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWhen%20you%20press%20the%20build%20button%2C%20Simulink%20automatically%20translates%20your%20model%20into%20C%20code%20and%20prepares%20it%20for%20execution%20on%20the%20target%20microcontroller.%20The%20generated%20files%20can%20be%20found%20in%20the%20project%20folder%2C%20where%20you%20can%20explore%20how%20each%20block%20was%20converted%20into%20embedded%20code.%20After%20generation%2C%20the%20toolchain%20creates%20an%20executable%20file%20and%20attempts%20to%20deploy%20it%20directly%20to%20the%20target%20board.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%208%20-%20Flash%20and%20Run%20on%20Hardware%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E8%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part8%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--230456638%22%20id%3D%22toc-hId--230395049%22%3EFlash%20and%20Run%20on%20Hardware%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3E%3CSTRONG%3EStep%209%3A%20Connect%20Target%20Board%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EConnect%20via%20debugger%20(USB%20%2F%20JTAG)%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSTRONG%3EStep%2010%3A%20Deploy%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFrom%20Simulink%20(%3CSTRONG%3EExternal%20Mode%3C%2FSTRONG%3E%20or%20%3CSTRONG%3EBuild%20%26amp%3B%20Deploy%3C%2FSTRONG%3E)%3C%2FLI%3E%0A%3CLI%3EOr%20manually%20via%20%3CSTRONG%3ES32%20Design%20Studio%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%209%20-%20References%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E9%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part9%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--2037911101%22%20id%3D%22toc-hId--2037849512%22%3EReferences%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocument%2Fguide%2Fmcu-automotive-board-quick-starts%3AGS-S32K3X4EVB-T172%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EQuick%20Start%20Guide%20for%20S32K3X4EVB%20Board%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FModel-Based-Design-Toolbox-MBDT%2Fbd-p%2Fmbdt%22%20target%3D%22_self%22%3EModel-Based%20Design%20Toolbox%20(MBDT)%20%E2%80%93%20How%20To%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%20SECTION%2010%20-%20Conclusion%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E10%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part10%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-449601732%22%20id%3D%22toc-hId-449663321%22%3EConclusion%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%3ECreating%20a%20new%20model%20and%20configuring%20it%20for%20NXP%20hardware%20involves%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESetting%20up%20the%20Simulink%20model%3C%2FLI%3E%0A%3CLI%3EConfiguring%20hardware-specific%20parameters%3C%2FLI%3E%0A%3CLI%3EAdding%20peripheral%20blocks%3C%2FLI%3E%0A%3CLI%3EGenerating%20and%20deploying%20embedded%20code%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThis%20workflow%20enables%20%3CSTRONG%3Erapid%20prototyping%20and%20production-ready%20embedded%20development%3C%2FSTRONG%3E%2C%20especially%20in%20automotive%20systems%20leveraging%20AUTOSAR%20and%20NXP%20platforms.%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2397758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDeveloping%20embedded%20applications%20for%20NXP%20microcontrollers%E2%80%94especially%20platforms%20like%20the%20%3CSTRONG%3ES32K%20series%3C%2FSTRONG%3E%E2%80%94often%20involves%20using%20tools%20such%20as%20%3CSTRONG%3EMATLAB%2FSimulink%20(MBDT%20%E2%80%93%20Model-Based%20Design%20Toolbox)%3C%2FSTRONG%3E%2C%20%3CSTRONG%3ES32%20Design%20Studio%20(S32DS)%3C%2FSTRONG%3E%2C%20and%20%3CSTRONG%3EAUTOSAR%20tools%20like%20EB%20tresos%3C%2FSTRONG%3E.%20This%20article%20walks%20through%20the%20key%20steps%20involved%20in%20creating%20a%20new%20model%20and%20configuring%20it%20properly%20for%20NXP%20hardware%2C%20focusing%20on%20a%20practical%20workflow%20used%20in%20automotive%20and%20embedded%20systems%20projects.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
No ratings
Version history
Last update:
Wednesday
Updated by: