MCUXIDECTUG
MCUXIDECTUG
Contents
Chapter 1 Introduction........................................................................................... 6
1.1 Versions.....................................................................................................................................6
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 2 / 150
3.5 Code generation...................................................................................................................... 59
3.6 Using pins definitions in code.................................................................................................. 60
3.7 Full initialization of pins............................................................................................................60
3.8 Create Default Routing............................................................................................................ 60
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 3
Chapter 7 Trusted Execution Environment Tool.................................................. 95
7.1 AHB with security extension-enabled devices.........................................................................96
7.1.1 User Memory Regions view...................................................................................................... 96
7.1.2 Security Access Configuration view.......................................................................................... 98
7.1.2.1 SAU .............................................................................................................................................98
7.1.2.2 Interrupts......................................................................................................................................99
7.1.2.3 Secure/Non-secure MPU........................................................................................................... 100
7.1.2.4 MPC........................................................................................................................................... 102
7.1.2.5 Masters/Slaves.......................................................................................................................... 103
7.1.2.6 Pins............................................................................................................................................ 104
7.1.2.7 Miscellaneous............................................................................................................................ 107
7.1.3 Memory attribution map.......................................................................................................... 108
7.1.3.1 Core 0........................................................................................................................................ 108
7.1.3.2 Other masters............................................................................................................................ 109
7.1.4 Access Overview.....................................................................................................................111
7.1.5 Code generation......................................................................................................................112
7.2 RDC-enabled devices............................................................................................................113
7.2.1 User Memory Regions view.................................................................................................... 113
7.2.1.1 Access templates.......................................................................................................................113
7.2.2 Security Access Configuration view........................................................................................ 114
7.2.2.1 RDC........................................................................................................................................... 114
7.2.2.1.1 RDC Masters.............................................................................................................. 114
7.2.2.1.2 Memory Regions.........................................................................................................116
7.2.2.1.3 Peripherals..................................................................................................................117
7.2.2.2 XRDC2 Domains view............................................................................................................... 118
7.2.2.2.1 MPU............................................................................................................................ 118
7.2.2.2.2 Domains......................................................................................................................120
7.2.2.2.3 Masters....................................................................................................................... 120
7.2.2.2.4 Peripherals..................................................................................................................122
7.2.2.2.5 Memory Regions.........................................................................................................124
7.2.2.2.6 Memory Slots.............................................................................................................. 125
7.2.2.3 Miscellaneous............................................................................................................................ 126
7.2.3 Memory Attribution Map.......................................................................................................... 126
7.2.4 Access Overview.....................................................................................................................128
7.2.5 Domains Overview.................................................................................................................. 129
7.2.6 Code generation......................................................................................................................130
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 4
8.7.5 Updating data..........................................................................................................................143
8.8 Output path overrides............................................................................................................ 144
Chapter 9 Support..............................................................................................145
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 5
NXP Semiconductors
Chapter 1
Introduction
The MCUXpresso Config Tools set is a suite of evaluation and configuration tools that help you from initial evaluation to production
software development. Following tools are included:
Name Description
Pins Tool Enables you to configure the pins of a device. Pins tool enables you to create, inspect, change, and modify
any aspect of the pin configuration and muxing of the device.
Clocks Tool Enables you to configure initialization of the system clock (core, system, bus, and peripheral clocks) and
generates the C code with clock initialization functions and configuration structures.
Peripherals Tool Enable you to configure the initialization for the MCUXpresso SDK drivers.
Device Enables you to generate a Device Configuration Data (DCD) image using the format and constrains
Configuration Tool specified in the Boot ROM reference manual.
TEE (Trusted Enables you to configure security policies of memory areas, bus masters, and peripherals, in order to
Execution isolate and safeguard sensitive areas of your application.
Environment) Tool
1.1 Versions
The suite of these tools is called MCUXpresso Config Tools. These tools are provided as an online web application or as a desktop
application or as integrated version in MCUXpresso IDE.
NOTE
The desktop version of the tool contacts the NXP server and fetches the list of the available processors. Once used,
the processors data is retrieved on demand.
TIP
To use the desktop tool in the offline mode, create a configuration for the given processor while online. The tool will
then store the processors locally in the user folder and enable faster access and offline use. Otherwise, it is possible
to download and export the data using the Export menu.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 6 / 150
Versions
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 7
NXP Semiconductors
Chapter 2
User Interface
NOTE
The same command can be invoked also from popup menu on the MEX file or from toolbar in Project Explorer view.
NOTE
Configuration is also saved when you select Update Code in the toolbar.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 8 / 150
Creating, saving, and opening a configuration
• Overwrite – All files are merged into the current configuration. It imports all the functions only. If the imported
function has the same name as an existing one, then the existing one is replaced with the imported one.
8. Click Finish.
NOTE
Only C files with valid YAML configuration can be imported. It imports the configuration only, then the whole C file
is re-created based on this setting. The rest of the C and DTSI files are ignored.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 9
Creating, saving, and opening a configuration
2. In the Import wizard, select MCUXpresso Config Tools > Import Board/Kit Configuration.
3. Click Next.
4. On the next page, select the board/kit variant from the dropdown menu.
5. Select which functional groups to import (based on tools) by selecting the checkbox in the left column.
6. Define how to import the functional groups by selecting one of the two available options in the dropdown menu in the
right column:
• Rename – All files are merged into the current configuration. It imports all the functions only. If the imported function
has the same name as an existing one, it is automatically renamed to the indexed one. For example, if BOARD_InitPins
exists in the configuration then the imported function is renamed to BOARD_InitPins1.
• Overwrite – All files are merged into the current configuration. It imports all the functions only. If the imported function
has the same name as an existing one, then the existing one is replaced with the imported one.
7. Click Finish.
NOTE
Currently, register configuration can be imported into the Clocks tool only.
NOTE
A processor memory-dump file in the CSV or S19 format is required for importing register configuration.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 10
Creating, saving, and opening a configuration
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 11
Creating, saving, and opening a configuration
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 12
Toolbar
7. Click Finish.
NOTE
All registers are imported from the dump file regardless of their relevance to clock configuration, therefore, the list
can contain registers not needed by the Clocks tool.
If this information is not corrupted, it is possible to reimport the clock settings into the tool using the following steps.
1. In the Menu bar, select File > Import….
2. From the list, select MCUXpresso Config Tools > Import Source Files.
3. Click Next.
4. Click Browse.
5. Navigate and select the source file previously produced by one of the Config tools (for example, clock_config.c).
6. If the settings parse successfully, clock configurations are added into the current global configuration.
2.2 Toolbar
The toolbar is on the top of the window and includes buttons/menus of frequently used actions common to all tools. See the
following sections for more information.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 13
Toolbar
Table 2. Toolbar
Item Description
Config Tools Overview Open the Overview dialog with information about currently used tools.
Update Code Open the update dialog allowing you to update generated peripheral initialization code
directly within specified toolchain project.
Generate Code Regenerate source code when "Enable Code Preview" preference is disabled.
Functional group selection Select functional group. Functional group in the Peripherals tool represents a group
of peripherals that are initialized as a group. The tool generates a C function for each
function group that contains the initialization code.
Call from default initialization Set the current functional group to be initialized by the default initialization function.
Functional group properties Open the Functional group properties dialog to modify name and other properties of
the function group.
Tool selection Display icons of individual tools. Use them to switch between tools.
In addition, the toolbar may contain additional items depending on the selected tool. See the chapters dedicated to individual tools
for more information.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 14
Toolbar
To inspect the code difference between the versions, click the change link.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 15
Toolbar
To update the project without opening the Update Files dialog, deselect the Always show details before Update Code checkbox.
To access the Update Code dialog from the Update Code dropdown menu, select Open Update Code Dialog.
NOTE
The generated code is always overwritten.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 16
Toolbar
NOTE
Previous version of the file can be retrieved from Eclipse local history.
You can use two additional buttons to further configure functional groups:
Icon Description
NOTE
Red/orange background indicates errors/warnings in the configuration.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 17
Toolbar
• De-initialization function - If this feature is set, an additional function that sets all pins in this functional group to their
after-reset state is generated. The new function has a suffix _deinit.
Clocks tool:
• Set custom #define prefix - If this property is set, the custom prefix is used for macros define in pin_mux.h. Otherwise the
name of the functional group is used as the prefix.
• Prefix - The custom prefix string. If it is empty, no prefix is used.
• Other settings - The processor-specific settings are specific for each processor. See the tooltips for details.
Peripherals tool:
• Prefix - It is used for identifiers, constants, and functions related to the functional group that is used in generated code. If it
is not specified, no prefix is used.
TEE tool:
• Set custom #define prefix - If this property is checked, the custom prefix is used for macros define in generate code.
Otherwise the name of the functional group is used as the prefix.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 18
Status bar
Icon Description
2.4 Preferences
To configure preferences in the Preferences dialog, select Window>Preferences>MCUXpresso Config Tools from the Menu bar.
NOTE
You can restore settings to default by selecting Restore Defaults in the lower right corner of the dialog.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 19
Preferences
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 20
Preferences
Table 5. Preferences
Item Description
Line ending style Select between Windows (CR + LF), Linux/Mac (LF), or Default
(based on host).
Generate files read-only Prevent modifying the source files unintentionally. Generated
source files are marked as read-only.
Create empty configuration if no yaml is available Generates a configuration even if no yaml is present.
Always overwrite files without asking Update existing files automatically, without prompting.
Always show details before Update Code Review changes before the project is updated.
Undo history size Enter the maximum number of steps that can be undone. Enter
0 to disable.
NOTE
The proxy settings are copied from operating
system settings. In case of error, you can specify
proxy information in the tools.ini file, located in
the <install_dir>/bin/ folder. Make sure that the file
contains the following lines:
— Djava.net.useSystemProxies=true (already
present by default)
— Dhttp.proxyHost=<somecompany.proxy.net>
— Dhttp.proxyPort=80
NOTE
Authentication is
not supported.
Work Offline Disable both the connection to NXP cloud and the download of
processor/board/kit data.
Check for application updates Check for application updates on a weekly basis
Show pin label & identifier table columns (Pins tool) Select to show the pin label and the label identifier in the
relevant views.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 21
Configuration preferences
Item Description
Require Identifier for Pins (Pins Tool) Controls generation of pins “Identifier” related warnings. With
this preference enabled, warnings will be generated for
bidirectional signals that have no Identifier set.
Show Overview window on opening configuration for the Open the Overview dialog on opening configuration for the
first time first time.
Automatically load last configuration on startup Avoid the startup window and load the last used
configuration instead.
Enable Code Preview Controls how the code is generated. When this preference
is enabled, code generation is performed automatically after
every change in the configuration and the Code Preview is
updated accordingly. When this preference is disabled, code
generation is stopped, warning message is displayed in Code
Preview window, and the action can be manually triggered by
using one of the available options:
• By pressing the “generate code” link highlighted in the
warning message from the Code Preview window.
• By pressing the Update Code button in the toolbar, where
code update is preceded by code generation.
Component template folder The path to the folder with component templates. Keep
empty to use the default path. The default path is to folder
component_templates in data of the Config tools.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 22
Configuration preferences
Item Description
Validate boot init only Validate tools' dependencies only against ‘boot init’ function
group. When selected, dependencies from all functional
groups of all tools must be satisfied in the functional groups
marked for default initialization. Clearing this option hides
warnings in case the user is using complex scenarios with
alternating functional groups within the application code.
Custom source file copyright header Add a custom copyright header to generated source files that
do not already contain copyright.
Generate extended information into header file Generate extended information into the header file. For
projects created in earlier MCUXpresso versions, this option is
selected by default.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 23
Problems view
Item Description
Generate code only for registers that are different from the Generate code only for registers that are different from the
after-reset state after-reset state. For projects created in earlier MCUXpresso
versions, this option is selected by default.
Output path overrides Rules that are used to override the path of the output files are
generated by tools. They are applied in the Update code and
Exports commands. A special dialog allows editing. For more
information, see Output path overrides.
WARNING
When the source does not contain YAML code, it can't be imported.
To open the Problems view, click the Show Problems view button in the Toolbar, or select Views > Problems from the Menu bar.
The Problems table contains the following information:
Item Description
Resource Resource related to the problem, such as signal name, the clock signal.
Type Type of the problem. It is either the validation checking dependencies between tools, or a single
tool issue.
Every issue comes with a context menu accessible by right-clicking the table row. Use this menu to access information about the
problem or to apply a quick fix where applicable. You can also copy the rows for later use by right-clicking the row and selecting
Copy or by using the Ctrl+C shortcut. You can use the Ctrl+left-click shortcut to add additional rows to the selection.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 24
Registers view
NOTE
Quick fix is only available for problems highlighted with the "light bulb" icon.
Filter buttons are available on the right side of the Problems view ribbon.
Button Description
Enables the Validate boot init only preference. See Configuration preferences section for details.
Filters messages in the Problems view. If selected, only problems for the active tool are displayed. See
Configuration preferences section for details.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 25
Registers view
Table 9. Registers
Item Description
Peripheral filter drop-down list List the registers only for the selected peripheral. Select all to list registers for
all the peripherals.
Show modified registers only checkbox Hide the registers that are left in their after-reset state or are not configured.
The following table lists the color highlighting styles used in the Registers view.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 26
Log view
Color Description
Yellow Indicates that the bitfield has been affected by the last change made in the tool.
background
Gray text color Indicates that the bitfield is not edited and the value is the after-reset value.
NOTE
This view contains registers for the selected tool. The view uses registers as internal parameters but it might not
handle all the register writes needed in the code. The register writes are done inside the SDK functions that are
called by the generated code. There might be additional registers accessed in the SDK code during the setup
process, and such register writes are not known to the tool and are not displayed in the registers view.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 27
Config tools overview
Item Description
Configuration – General Info Displays the name of and the path to the MEX file of the current
configuration. Click the link to open the folder containing
the MEX file. To import additional settings, click the Import
additional settings into current configuration button.
Configuration – HW Info Displays the processor, part number, core, and SDK-version
information of the current configuration.
Pins/Clocks/Peripherals/TEE/Device Configuration Displays basic information about the Pins, Clocks, Peripherals,
TEE, and Device Configuration tools.
NOTE
If you have disabled a tool and want to reopen it, click the tool icon in the upper right corner or select it from the
Main Menu. The Config Tools Overview opens automatically.
To enable/disable the tools, click the toggle button. You can navigate to the tools by clicking their icons. Following information
about the tools is also available:
Item Description
Generated code Contains the list of source-code files. Click the links to open the files in the Code Preview view.
Functional groups Contains the list of the currently active functional groups. To select the groups in the Functional
groups tab in the toolbar, select the relevant links.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 28
Config Tools snippets
•
Figure 16. Config Tools Overview
NOTE
Unsupported tools are not displayed in the overview.
NOTE
In the current version, the Config tools snippets view is supported for the Peripherals tool only.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 29
NXP Semiconductors
Chapter 3
Pins Tool
Pins tool is an easy-to-use tool for configuration of device pins. The Pins tool software helps create, inspect, change, and modify
any element of pin configuration and device muxing.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 30 / 150
Pins routing principle
Items (pins/internal signals) in the Routed pin/signal column in the Routing Details view have following decorators:
• Exclamation mark and default text color indicates that such item selection causes a register conflict or the item cannot
be routed to the selected peripheral signal (some other peripheral signal can be).
• Exclamation mark and gray text color indicates that the item cannot be routed to any signal of the selected peripheral.
The item is available for different peripheral using the same signal.
NOTE
Route to field in Routing details view contains items that are connectable to the selected signal (without its
channel if applicable). So when selected signal is “GPIO, 6” then the Routed pin/signal provides items connectable
to “GPIO”.
NOTE
In the Pins view and the Package view, you can configure only pins and not internal signals.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 31
Pins routing principle
NOTE
It is necessary to select the ADC peripheral where the signal leads to (input in ADC). It is a limitation of the Pins tool
that the signal is not listed for the PWM peripheral (output). Notice the direction of the signal in the Arrow column.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 32
Pins routing principle
2. Routing the signal from a pin on the package to internal peripheral input signal through an inter-peripheral crossbar
NOTE
Only if a crossbar switch is present.
The signal leads from a pin on the package (XB_IN) connected through an inter-peripheral crossbar, to an internal
peripheral (B) input node. In other words, the signal leads from XB_IN to B (XB_IN > B). To configure a signal in this way,
perform the following steps (routing pin 55 using XB_IN6 to EVTG0 input A (XB_IN6 > EVTG0) used as example):
a. Add a row in the Routing Details view.
b. Select peripheral B from the drop-down list in the Peripheral column.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 33
Pins routing principle
NOTE
In this example, GPIOF0 is multiplexed with XB_IN6, QTimerB channel 2 output/input and QSPI1 SCLK signal. In
this case, the tool will automatically pick XB_IN6 for the pin as XB_IN6 is the only option to be routed to EVTG0
input A.
3. Routing the signal from internal peripheral (A) output to a pin via inter-peripheral crossbar
NOTE
Only if a crossbar switch is present.
The signal leads from internal peripheral (A) output to a pin connected through an inter-peripheral crossbar on the package
(XB_OUT). In other words, the signal leads from A to XB_OUT (A > XB_OUT). To configure a signal in this way, perform
the following steps (routing EVTG0 output to a pin 87 using XB_OUT4 used as an example):
a. Add a row in the Routing Details view.
b. Select peripheral A from the drop-down list in the Peripheral column.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 34
Pins routing principle
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 35
Example workflow
NOTE
In this example, GPIOC14 is multiplexed with XB_OUT4, SDA of I2C0 and fault4 of eFlexPWMA. In this case, the
tool will automatically configure XB_OUT4 for the pin GPIOC14 (pin 87) as XB_OUT4 is the only option for EVTG0
output A.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 36
Example workflow
NOTE
For GPIO peripherals, you can set the Direction by clicking the cell and selecting from the drop-down menu. If you
select Output, you can also set GPIO initial state by clicking the cell in the GPIO initial state column. If you select
Input, you can also set GPIO interrupt by clicking the cell in the GPIO interrupt column.
3. The Pins tool automatically generates the source code for pin_mux.c and pin_mux.h on the right panel of Code Preview.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 37
Example workflow
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 38
User interface
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 39
User interface
NOTE
Power Groups are not supported for all processors.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 40
User interface
This view shows the list of all the pins available on a given device. The Pin name column shows the default name of the pin, or if
the pin is routed. The next columns are optional. They are Label, Identifier, and Expansion header connections (One column for
each expansion header). The pin name is changed to show appropriate function for selected peripheral if routed. The next column
of the table shows peripherals and signals and pin name(s) on given peripheral. Peripherals with few items are cumulated in the
last column.
To route/unroute a pin to the given peripheral, select the relevant cell in the Pin column. Routed pins are highlighted in green. If
a conflict in routing exists, the pins are highlighted in red.
Every routed pin appears in the Routed pins table.
When multiple functions are specified in the configuration, the Pins view shows pins for selected function primarily. Pins for
different functions are shown with light transparency and cannot be configured until switched to this function.
Select a row to open a drop-down list that offers the following options:
• Route/Unroute the pin.
• Highlight the pin in the Package view.
• Set the label and identifier for the pin.
• Add a comment to the pin. You can later inspect the comment in the Code Preview view.
TIP
The option to route more signals to a single pin is indicated by an ellipsis (...). Select the cell to open a dialog to
choose from multiple available signals. The dialog also displays which signals are routed by default.
3.3.2 Package
The Package view displays the processor package. The processor package provides an overview of the package including
resource allocation.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 41
User interface
This view shows package overview with pins location. In the center are the peripherals.
To highlight the pin/peripheral configuration in the Pins and Routing Details views, right-click the pin or peripheral and
select Highlight.
For BGA packages, use the Resources icon to see them.
• Green color indicates the routed pins/peripherals.
• Gray color indicates that the pin/peripheral is not routed.
• Dark Gray color indicates that the pin/peripheral is dedicated. It is routed by default and has no impact on generated code.
The view also shows the package variant and the description (type and number of pins).
The following icons are available in the toolbar:
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 42
User interface
Icon Description
Show pins as you can see it from the bottom. This option is available on BGA packages only.
Show pins as you can see it from the top. This option is available on BGA packages only.
Switch package.
Package legend.
Select the information displayed as pin labels. This option is not available on BGA packages.
NOTE
Depending on the processor package selected, not all views are available.
The Switch package for the Processor window shows list of available processor packages, showing package type and number
of pins.
Error
Configured
Not configured
Warning
Dedicated: Device is routed by default and has no impact on the generated code.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 43
User interface
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 44
User interface
Type any text to search across the table/tree. It will search for the pins/peripheral signals containing the specified text. You can
also use wildcards "*" and "?" to help you filter results you want. Use "space" to search for multiple strings at the same time.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 45
User interface
NOTE
The electrical features are configured only for pins in the table. For example, the routed pins.
The table is empty when a new configuration is created, which means no pin is configured. Each row represents configuration of
a single pin and if there are no conflicts, then the code is immediately updated. For Boards/Kits, the pins are routed already.
Add a row with the Add new row button in the view toolbar.
Configure the pin/signal by selecting the Peripheral first, then the required Signal, and finally, the pin to Route to.
Use the columns in the right side of the table to configure the electrical features.
You can also use the Pins and Peripheral Signals views to route pins and peripheral signals and view/modify the configuration in
the Routing Details view. If the feature is not supported, n/a is displayed.
To highlight peripheral/pin information in the Package and Pins views, right-click the row and select Highlight.
To filter rows, type the text or the search phrase in the filter area in the view toolbar.
NOTE
When you enter the search text, it also searches the text in the full pin names displays rows that contain the
search text.
To display pins or signals only, use the Pins and Signals buttons in the view toolbar.
To add a row to the end of table, click the Add new row button.
To remove the selected row, click the Delete the selected row button.
To delete a specific row or insert a new row at a given position, right-click and use the dropdown list commands.
To add a specific number of rows, enter the number in the field.
To clear the table, type 0.
To change the order of the rows, use the arrow icons to move one row up or down.
To filter table entries by text, enter the text string in the type filter text field.
To copy the row, right-click any cell in the row and select Copy. You can later paste the copied row into the Routing Details view
of another functional group or configuration by right-clicking the table and choosing Paste.
The gray background indicates read-only items.
The italic value indicates that the value is not configured and it shows the after-reset value and no code is generated, so the
configuration relies on the after reset value or the values configured from the different functions.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 46
User interface
TIP
• Click the Routing Details Legend button in top right corner of the view to display a dialog explaining the fields.
• If you select the same value as the after-reset value, the tool will always generate code to set this feature.
Use the drop-down "Reset" value to reset the value to its after-reset state.
• If an item does not support reset to after reset value, the Reset menu is not available.
The pin identifier is used to generate the #define in the pin_mux.h file. However, it is an optional parameter. If the parameter is
not defined, the code for #define is not generated. Additionally, you can define multiple identifiers, using the “;” character as a
separator. You can also set the identifier by typing it directly into the cell in the Identifier column in the Routing Details views.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 47
User interface
In this case, it is possible to select from values if the pin is routed. See Routing Details.
A check is implemented to ensure whether the generated defines are duplicated in the pin_mux.h file. These duplications are
indicated in the identifier column as errors. See Identifier errors.
You can also select the pin to use in a given routing from the Routing Details view. However, the identifier must be a valid C
identifier and must be used in the source code.
If multiple functions are used, each individual function can include a special prefix. Check the Pins > Functional Group Properties
> Set custom #define prefix checkbox to enter prefix of macros in particular function used in the generated code of the pin_mux.h
file. Entered prefix text must be a C identifier. If unchecked, the Function name is used as a default prefix.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 48
User interface
The expansion header is not automatically preset for every supported device. If the header is not preconfigured, follow these steps
to create and modify an expansion header configuration:
1. Open the view by selecting Window> Show view>Expansion Header from the Main menu.
2. Add a header by selecting the Add button in the view toolbar.
3. In the Add New Expansion Header window, select the Header type from the drop-down list.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 49
User interface
Expansion Header view now displays the connector layout. You can point your cursor over the pins to display additional
information. Right-click the pin to display a shortcut menu of additional options.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 50
User interface
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 51
User interface
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 52
User interface
You can create more than one expansion header configuration. Switch between the configurations in the view's
drop-down list.
To highlight the pin/routing configuration in the Pins and Routing Details views, right-click the connector pin and
select Highlight.
Modify the configuration parameters at any time by selecting the Edit button. Information in the Pins view is
updated automatically.
Remove a configuration by selecting the Remove button.
Use the Label drop-down list to switch between display information for header, board, and routing.
NOTE
Only a single expansion board can be configured per expansion header.
1. In the Expansion Header view, click the Apply expansion board to the selected header. Alternatively, select Pins>Apply
expansion board from the Menu bar.
2. In the Apply expansion board dialog, click Browse to locate the XML file with expansion board information and click OK.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 53
User interface
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 54
User interface
3.3.6 Functions
Functions are used to group a set of routed pins, and they create code for the configuration in a function which then can be called
by the application.
The tool allows to creates multiple functions that can be used to configure pin muxing.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 55
User interface
The usage of pins is indicated by 50% opacity in Pins, Peripheral Signals, and Package views. Each function can define a set of
routed pins or re-configure already routed pins.
When multiple functions are specified in the configuration, the package view primarily shows the pins and the peripherals for the
selected function. Pins and peripherals for different functions are shown with light transparency and cannot be configured, until
switched to this function.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 56
User interface
Peripheral
with error
Unallocated
peripheral
Highlighted
unrouted pin
Routed pin
Highlighted
peripheral Allocated
peripheral
Dedicated
peripheral
Unrouted pin
Dedicated pin
• Package view
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 57
Errors and warnings
If an error or warning is encountered, the conflict in the Routing Details view is represented in the first column of the row
and the error/warning is indicated in the cell, where the conflict was created. The last two rows in the figure above show the
peripheral/signal where the erroneous configuration occurs. The detailed error/warning message appears as a tooltip.
For more information on error and warnings color, see the Highlighting and Color Coding section.
The tooltip of the cell shows more details about the conflict or the error, typically it lists the lines where conflict occurs.
You can also select Pins > Automatic Routing from the Main menu to resolve any routing issues.
NOTE
Not all routing issues can be resolved automatically. In some cases, manual intervention is required.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 58
Code generation
For multicores, the sources are generated for each core. Appropriate files are shown with @Core #{number} tag.
NOTE
The tag name may be different depending on the selected multi-core processor family/type.
You can also copy and paste the generated code into the source files. The view generates code for each function. In addition to
the function comments, the tool configuration is stored in a YAML format. This comment is not intended for direct editing and can
be used later to restore the pins configuration.
YAML configuration contains configuration of each pin. It stores only non-default values.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 59
Using pins definitions in code
TIP
For multicore processors, it will generate source files for each core. If processor is supported by SDK, it can
generate BOARD_InitBootPins function call from main by default. You can specify "Call from BOARD_InitBootPins"
for each function, in order to generate appropriate function call.
The name of the define is composed from function group prefix and pin identifier. For more details, see Functional groups and
Labels and identifiers sections.
To write to this GPIO pin in application using the SDK driver (fsl_gpio.h), you can, for example, use the following code referring
to the generated defines for the pin with identifier LED_RED:
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 60
Create Default Routing
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 61
NXP Semiconductors
Chapter 4
Clocks Tool
The Clocks Tool configures initialization of the system clock (core, system, bus, and peripheral clocks) and generates the C code
with clock initialization functions and configuration structures.
4.1 Features
The Clocks tool allows you to perform various actions related to the Clock initialization, among them the following:
• Inspect and modifies element configurations on the clock path from the clock source up to the core/peripherals.
• Validate clock elements settings and calculates the resulting output clock frequencies.
• Generate a configuration code using the SDK.
• Modify the settings and provides output using the table view of the clock elements with their parameters.
• Navigate, modify, and display important settings and frequencies easily in Diagram view.
• Edit detailed settings in Details view.
• Inspect the interconnections between peripherals and consuming clocks in Module Clocks view.
• Find clock elements settings that fulfill given requirements for outputs.
• Fully integrated in tools framework along with other tools.
• Shows configuration problems in Problems view and guides the user for the resolution.
• Register values define generation of C.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 62 / 150
Clock configuration
NOTE
All clock settings are stored individually for each clock configuration so that each clock configuration is
configured independently.
Clocks configurations (functional groups) are presented at the top of the view. You can switch between them by selecting them
from the dropdown menu.
NOTE
The code generation engine of the tool generates function with the name derived from the Clock
configuration name.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 63
Clock sources
NOTE
Global settings can be changed at any time.
NOTE
Some clock sources remain inactive even though the checkbox is checked. It is because the clock sources
functionality depends on other settings like power mode or additional enable/disable setting options. You can hover
the cursor on the setting to see a tooltip with information on the element and possible limitations/options.
Error marker Indicates that there is an error in the settings or something related to it. See the tooltip of the
setting for details.
Warning marker Indicates that there is a warning in the settings or something related to it. See the tooltip of
the setting for details.
Lock icon Indicates that the settings (that may be automatically adjusted by the tool) are locked
to prevent any automatic adjustment. If the setting can be locked, they are automatically
locked when you change the value. To add/remove the lock manually, use the pop-up menu
command Lock/Unlock.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 64
Frequency settings
NOTE
The clock element settings that cannot be automatically adjusted by the tool
keep their value as is and do not allow locking. They are: clock sources, clock
selectors, and configuration elements.
Yellow Indicates that the field is directly or indirectly changed by the previous user action.
background
Gray text Indicates that the value of setting does not actively influence the clock. It is disabled or
relates to an inactive clock element. For example, on the clock path following the unavailable
clock source or disabled element. The frequency signal also shows the text “inactive” instead
of frequency. The value is also gray when the value is read-only. In such a state, it is not
possible to modify the value.
In case the tool has reached/attained the required frequency, it appears locked and is displayed as follows:
In case the tool is not able to reach/attain the required frequency or some other problem occurs, it is displayed as follows:
The frequency value in square brackets [ ] indicates the value that the tool is actually using in the calculations instead of the value
that has been requested.
NOTE
You can edit or set requirements only for the clock source and the output frequencies. The other values can be
adjusted only when no error is reported.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 65
Frequency settings
Figure 71. Pop-up commands for outputs in the clocks table view
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 66
Dependency arrows
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 67
Details view
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 68
Clocks diagram
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 69
Clocks diagram
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 70
Clocks diagram
• Clock source – Produces a clock signal of a specified frequency. If it is an external clock source, it can have one or more
related pins.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 71
Clocks menu
• Clock output – Marks the clock signal output that has some name and can be further used by the peripherals or other parts
of the processor. You can put a lock and/or frequency request.
Refresh Refresh each clocks configuration with explicit invocation of code generation.
Reset To Processor Defaults Resets the clock model ito processor defaults.
Unlock Settings on the Active Path Unlocks all locks in the settings that are on the active path.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 72
Code generation
2. Go through the locked outputs (if there are any) and verify the requirements (there can possibly be typos in the required
frequency, wrong units, and so on).
3. If you seek only to enable some clock output, try to use pop-up the menu command Enable that tries to automatically
find settings providing any valid frequency on clock output.
4. If the required clock output value cannot be satisfied try to use the pop-up menu command “Advanced resolver for
{clock output}”.
5. If you are OK to have a near frequency value around of the requested value but would like to keep the clock selectors
and clock sources unchanged, right-click and from the pop-up menu select Clock output > Find near value.
6. If the problems still persist, find the elements and settings with marked errors in the diagram or tables and see the
details in the tooltip.
7. If you cannot reach the values you need, use the diagram view to see the elements on clock path leading to the clock
output you want to have set. Try to check and adjust the settings of these elements manually in the Details view.
8. Try to remove locks by selecting Clocks > Unlock All Settings. In case too many changes are required and conflicting,
you can simply reset the model to the default values and start from the beginning. To reset, select Clocks > Reset to
processor defaults.
You can resolve most of the reported problems using the Problems view. Each problem is listed as a separate row. The following
options appear when you right-click on a selected row in the Problems view.
• Show problem - Shows the problem in the Clocks Diagram view.
If one the solutions are possible, then the pop-up is extended by:
— Remove lock - Removes the lock from erroneous element.
— Find Near value - Finds the nearest value.
— Enable - If the clock output is disabled, tries to find settings that provide valid frequency on the clock output.
— Advanced resolver - Invoked advanced resolver that tries to find suitable settings to achieve the required frequency. For
more information, see the Advance resolver in the pop-up menu commands.
Find Near Value Dialog
◦ Unlock settings active path and try again - unlocks all elements that lead to selected output and tries to recompute.
◦ Unlock settings and try again - unlocks all locked values and tries to recompute. If automatic value computation fails,
nothing is changed.
◦ Cancel - cancels the modifications.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 73
Code generation
Code Preview automatically highlights differences between the current and immediately preceding iteration of the code. You
can choose between two modes of highlighting by clicking the Set viewing style for source differences. You can also disable
highlighting altogether from the same dropdown menu.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 74
Clock Consumers view
If you need access to values of registers calculated by the tool, the defines with these values can be generated into
new file registers.h. It can be enabled by default (Edit->Configuration Preferences). For more information, see section
Configuration Preferences.
NOTE
Information about which peripherals are consuming which output clock is available in the clock output tooltip.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 75
NXP Semiconductors
Chapter 5
Peripherals Tool
5.1 Features
The Peripherals tool features:
• Configuration of initialization for SDK drivers
• User-friendly user interface allowing to inspect and modify settings
• Smart configuration component selection along the SDK drivers used in toolchain project
• Instant validation of basic constraints and problems in configuration
• Generation of initialization source code using SDK function calls
• Multiple functional-group support for initialization alternatives
• Configuration problems are shown in the Problems view and marked with decorators in other views
• Integration in MCUXpresso Config Tools framework along with other tools
• Middleware configuration support (USB, FREEMaster, LwIP)
• The settings can be automatically migrated to a different SDK component version
• Support of code snippets
Term Definition
Functional group Represents a group of peripherals that are initialized as a group. The tool generates
a C function for each functional group that contains the initialization code for the
peripheral instances in this group. Only one functional group can be selected as default
initialization, the others are treated as alternatives that are not initialized by default.
Peripheral instance Occurrence of a peripheral (device) of specific type. For example, UART peripheral
has three instances on the selected processor, so there are UART0, UART1, and
UART2 devices.
Configuration component Provides user interface for configuring SDK software component (for example,
peripheral driver) and generates code for its initialization.
Component instance Configuration component can have multiple instances with different settings. (for
example, for each peripheral instance like UART0, UART1).
Component mode Specific use case of the component instance (for example, TRANSFER mode of DSPI,
or interrupt-based mode of communication).
5.3 Workflow
The following steps briefly describe the basic workflow in the Peripherals tool.
1. In the Peripherals view, select the peripheral instance you would like to configure (use the checkbox).
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 76 / 150
User interface overview
2. In case more components are available for use by the peripheral, the Select component dialog appears. The dialog
displays the list of suitable configuration components for the selected peripheral matching the SDK driver for the
selected processor.
3. Select the component that you want to use and click OK.
4. In the settings editor that automatically opens, select the Component mode that you would like to use and configure
individual settings.
NOTE
The selection of the component mode may impact appearance of some settings. Therefore, the selection of the
mode must be always the first step.
5. Open the Code Preview and see the output source code.
NOTE
The source code preview is automatically generated after each change if no error is reported.
6. You can use the Update Code button from the toolbar. Alternatively, you can export the source code by selecting
File>Export... from the Menu bar.
NOTE
To export the source code, you can also click the Export button in the Code Preview view.
7. Settings can be saved in a MEX format (used for all settings of all tools) by selecting File>Save from the Menu bar.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 77
User interface overview
Item Description
Global settings Open a tab aggregating global settings of all configuration sets.
NOTE
For details on other items, refer to the Toolbar chapter.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 78
User interface overview
1. Select the functional group you want to modify using the Functional group dropdown list.
2. In the Initialization order list, use the up and down arrows to adjust the sequence of initialization.
3. Click Save order to save your settings, or Cancel to close the dialog without changes.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 79
User interface overview
Option Description
Display configuration-component information Point the mouse cursor at the configuration component to
display general configuration-component information.
Open the Settings Editor of the configuration component Left-click the configuration component to open its
Settings Editor.
Add new configuration components Left-click the + button and select from the list to add a
component. In the Select component dialog, you can filter
the list to show only toolchain-project-relevant, or latest
version components. You can also click the + buttons next
to Middleware/Peripheral drivers/Other categories to add new
components in them directly.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 80
User interface overview
Option Description
Filter configuration components by name Type a text string to filter configuration component names in the
search bar.
Right-click the the configuration component to open a shortcut menu. Several options are available in the shortcut menu.
Option Description
Open in another view Duplicates the configuration component in the Settings Editor.
Lock/Unlock editing of component instance Lock/Unlock the editing of the component instance.
Save to use case library Create a template from the configuration component.
NOTE
If the component has any global settings, a dialog
appears prompting you to confirm the removal. If
the component doesn't have any global settings,
the component is deleted after removing the
last instance.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 81
User interface overview
Option Description
Open in another view Duplicate the component instance in the Settings Editor.
Initialized in user code Mark the peripheral as configured by user code (available on not
configured peripherals).
Lock/Unlock editing of component instance Lock/Unlock the editing of the component instance.
Save to use case library Create a template from the component instance.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 82
User interface overview
• Double-click the component instance in the Peripherals or Components view to display component instance settings.
• Left-click the component in the Components view to display global settings of the component.
5.4.4.2 Settings
Following setting types are available in the Settings Editor.
• Boolean – Two state setting (yes/no, true/false).
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 83
User interface overview
The ‘+’ button adds a new item at the end of array. To rearrange the position or delete an item, right-click the item and select
one of the following options: Move up, Move down, Move to top, Move to bottom, or Remove. You can also copy-paste an array
from one instance to another by right-clicking the array label and choosing Copy. You can then navigate to another instance
array, right-click the table, and choose Paste to add it.
NOTE
The array can be copied and pasted to another configuration, including in the second running instance of
Config Tools.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 84
User interface overview
Name Displays the component instance name. This name is used in the
generated code in constants and function identifiers and is derived from
the peripheral name. You can change it at any time by clicking the Custom
name button and editing the field.
Mode Displays the required usage for the component instance and influences
available settings. Use the dropdown menu to change the mode
(where applicable).
Peripheral Displays the name of the peripheral to be associated with the component
instance. Use the dropdown menu to change it.
Lock editing Click the button to lock/unlock component editing. Source code will still
be generated.
Enable/disable component instance switch Use the switch to enable or disable selected component instance. By
disabling the instance, you don’t remove it from the tools configuration, but
prevent its inclusion in the generated code.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 85
User interface overview
NOTE
Not all components might have this option enabled.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 86
User interface overview
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 87
User interface overview
Each row in the dialog corresponds to one configuration component that can be migrated to other version. The dialog above
displays the current version specified in the current configuration component and a combo box allowing you to select the new
version that replaces the current one.
In standalone Config Tools, it is possible to migrate settings to any available version. In IDE/toolchain project mode, the combo
box contains only the component with the version matching the SDK component currently used in the project.
The default selection in the toolchain-less configuration is "Do not migrate". In the toolchain configuration, the default selection
is the only version to which the migration can be performed. If "do not migrate" is selected, no changes are made to the
particular component.
The Ignore checkbox prevents the component from the migration during next check.
After you confirm the dialog by selecting "Migrate", the component is replaced by the component matching the selected version
of the SDK component. The settings are migrated to the corresponding settings in the new version of the component, where it
is possible.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 88
Problems
If the new version of the component contains some new settings, these settings are filled with the default values. Check manually
if the components are set properly.
5.5 Problems
The tool validates the settings and problems and errors are reported in the Problems view.
If there is an error related to the setting or component, an error decorator is shown next to the element containing an error.
Right-click the button to display a list of issues, then left-click the issue to display possible solutions.
There is a new possibility to do quick fix from the table in the context menu after right-clicking on the cell that contains the
warning/error icon (see register initialized SCTimer, for example LPC54114. Resources->Outputs setting).
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 89
Code generation
NOTE
For multicore processors, the peripherals.c/.h are generated for each core, containing functional groups associated
with that core. It can be configured in functional group properties.
NOTE
Some components, such as the USB or FlexSPI, may generate additional output files.
These files contain initialization code for peripherals produced by selected configuration components including:
• Constants and functions declaration in header file.
• Initialized configuration structures variables (constants).
• Global variables for the user application that are used in the initialization. For example, handles and buffers.
• Initialization function for each configuration component.
• Initialization function for each functional group. The name of the function is the same as the functional group name. These
functions include execution of all assigned components’ initialization functions.
• Default initialization function containing call to the function initializing the selected functional group of peripherals.
NOTE
The prefixes of the global definitions (defines, constants, variables, and functions) can be configured in the
Properties of the functional group.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 90
Code generation
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 91
NXP Semiconductors
Chapter 6
Device Configuration Tool
Device Configuration tool allows you to configure the initialization of memory interfaces of your hardware. Use the Device
Configuration Data (DCD) view to create different types of commands and specify their sequence, define their address, values,
sizes, and polls.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 92 / 150
Code generation
• Specify command type - Left-click the row's Command cell and choose from the dropdown menu.
• Specify register address for a command - Left-click the row's Address cell and choose from the dropdown menu.
• Specify a value or a mask for a command - Left-click the row's Value(s) / Mask(s) cell to open the mask window. Enter the
value into the field and select OK. Alternatively, select Cancel to cancel the operation, or Reset to reset the value.
NOTE
You can remove all commands by clicking Device Configuration in the Menu bar and choosing Clear All Commands
from the dropdown menu.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 93
Code generation
Code Preview automatically highlights differences between the current and immediately preceding iteration of the code. You
can choose between two modes of highlighting by clicking the Set viewing style for source differences. You can also disable
highlighting altogether from the same dropdown menu.
Device Configuration source code can be generated in a C array (default) or binary format.
The code in a C array format is generated in two files:
• dcd.c
• dcd.h
The code in a binary format is generated in a single file:
• dcd.bin
To change the code format, choose the required option from the dropdown menu in the Device Configuration Data (DCD) view.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 94
NXP Semiconductors
Chapter 7
Trusted Execution Environment Tool
In the Trusted Execution Environment, or TEE tool, you can configure security policies of memory areas, bus masters, and
peripherals, in order to isolate and safeguard sensitive areas of your application.
You can set security policies of different parts of your application in the Security Access Configuration and its subviews, and review
these policies in the Memory Attribution Map, Access Overview and Domains Overview views. Use the User Memory Regions view
to create a convenient overview of memory regions and their security levels.
You can also view registers handled by the TEE tool in the Registers view, and inspect the code in the Code Preview tool.
NOTE
In order for your configuration to come into effect, make sure you have enabled the relevant enable secure check
option in the Miscellaneous subview of the Security Access Configuration view.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 95 / 150
AHB with security extension-enabled devices
NOTE
Pre-production only.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 96
AHB with security extension-enabled devices
Enter/change the memory region's parameters by clicking the row's cells. In the Security Level column, you have these options
to choose from:
• NS-User - Non-secure user
• NS-Priv - Non-secure privileged
• S-User - Secure user
• S-Priv - Secure privileged
• NSC-User - Non-secure callable user
• NSC-Priv - Non-secure callable privileged
• Any
Errors in configuration are highlighted by a red icon in the relevant cell. In the case the issue is easily fixed, you can right-click the
cell to display a dropdown list of offered solutions.
Remove the memory region by selecting the table row and clicking the Remove selected memory region(s) button in the
view's header.
You can import memory region configuration from other IDE projects by clicking the Import memory regions configuration from the
IDE project(s) button in the view toolbar. Select the project that you want from the list to import its memory regions settings into
your current project.
NOTE
After the import, you might have to correct some of the security levels manually.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 97
AHB with security extension-enabled devices
7.1.2.1 SAU
In the SAU subview, you can enable and configure SAU (Security attribution unit).
When enabled, you can set up SAU memory regions, specify their start and size or end address, and specify their security level.
SAU automatically sets the entire memory space to a Secure security level when disabled. It also sets the entire memory space
to a secure security level when enabled but without set memory regions.
You can choose between two security levels:
• NS - Non-secure
• NSC - Non-secure callable
Alternatively, you can set all the SAU memory regions to non-secure security level by selecting the All Non-Secure.
NOTE
This option is only available when SAU is disabled.
You can also decide to generate code even for disabled memory regions by selecting the option Generate sources for
disabled regions.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 98
AHB with security extension-enabled devices
7.1.2.2 Interrupts
In the Interrupts subview, you can set security designation for device's peripheral interrupts. In case if the processor contains more
than a single core or processing unit, additional Handling by Core tables might appear. In these tables, you can specify if the
interrupts coming from the peripheral can be handled by the core or processing unit.
All interrupts are set to Secure by default. If you want to change the interrupt source's security designation, left-click the Secure cell
of the interrupt and choose from the dropdown menu. Alternatively, right-click the interrupt's Name cell and choose the security
designation from the context menu. To select multiple entries, use the Ctrl+Left-click shortcut, then right-click the selected area
for the context menu. Alternatively, you can use Shift+Up/Down after selecting the row to expand the selection.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 99
AHB with security extension-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 100
AHB with security extension-enabled devices
MPU is disabled by default and must be enabled by selecting the Enable MPU option.
NOTE
Not every device supports MPU.
Use the MPU Memory Attributes table to name and configure MPU memory attribute sets. Click the cells of the Memory Type and
Device Attributes columns to display the available choices.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 101
AHB with security extension-enabled devices
Use the MPU Memory Regions table to enable and configure MPU memory regions.
1. Enable the region.
2. Specify the Address.
3. Specify either the Size or the End Address.
4. Set the Exec option if you want the region to be able to run code.
5. Set the Permissions (Read Only or Read/Write).
6. Set the Privileges.
NOTE
Privileged access can be set by default for all memory regions not handled by MPU by selecting the Enable
privileged software access to the default memory map option.
7.1.2.4 MPC
In the MPC (Memory Protection Checker) subview, you can set security policies on entire memory sectors as defined by
physical addresses.
Set the memory sector security level by left-clicking the relevant cell in the Security level column and choosing from the dropdown
list. Alternatively, you can right-click the relevant cell in the Sector column and choose the security level from the context menu.
To select multiple entries, use the Ctrl+Left-click shortcut, then right-click the selected area for the context menu.
You have four security levels to choose from, in ascending order of security:
• NS-User - Non-secure user
• NS-Priv - Non-secure privileged
• S-User - Secure user
• S-Priv - Secure privileged
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 102
AHB with security extension-enabled devices
7.1.2.5 Masters/Slaves
In the Masters/Slaves subview, you can configure security levels for bus masters and slaves.
Set the bus master/slave security level by left-clicking the relevant cell in the Security level column and choosing from the
dropdown list. Alternatively, you can right-click the relevant cell in the Master and Slave column and choose from the security
level from the context menu. To select multiple entries, use the Ctrl+Left-click shortcut, then right-click the selected area for the
context menu.
You have four security levels to choose from, in ascending order of security:
• NS-User - Non-secure user
• NS-Priv - Non-secure privileged
• S-User - Secure user
• S-Priv - Secure privileged
You can further specify the interrelation between master and slave security levels by selecting the following options:
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 103
AHB with security extension-enabled devices
• Simple Master in Strict Mode - Select to allow simple bus master to read and write on same level only. De-select to allow to
read and write on same and lower level.
• Smart Master in Strict Mode - Select to allow smart bus master to execute, read, and write to memory at same level only.
De-select to allow to execute on same level only, read and write on same and lower level.
NOTE
Instruction-type bus master security level must be equal to bus slave security level. Data and others security level
must be equal or higher than bus slave security level.
7.1.2.6 Pins
In the Pins subview, you can specify if the reading GPIO state is allowed or denied.
All pins' reading GPIO state is set to Allow by default. If you want to change the pins reading GPIO state, left-click the Reading
GPIO state cell of the pin and choose from the dropdown menu. Alternatively, right-click the pin's Name cell and choose the
reading GPIO state from the context menu. To select multiple entries, use the Ctrl+Left-click shortcut, then right-click the selected
area for the context menu. Alternatively, you can use Shift+Up/Down after selecting the row to expand the selection.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 104
AHB with security extension-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 105
AHB with security extension-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 106
AHB with security extension-enabled devices
7.1.2.7 Miscellaneous
In the Miscellaneous subview, you can set various configuration options. The list of these options depends on processor data, and
varies greatly. All the options influence your register settings, and can be inspected in the Register view. Only some of the options
directly influence configuration that you have made in the Security Access Configuration view. Point your cursor over individual
options to display a tooltip explaining the function of each option.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 107
AHB with security extension-enabled devices
7.1.3.1 Core 0
In the Core 0 subview, you can review security levels set for Core 0 to the code, data, and peripherals memory regions. The table
is read-only.
The Access by Master table displays MSW or SAU+IDAU, MPC (Memory Protection Checker) security level, and Resulting
Security Level status of listed code, data, and peripherals memory regions, alongside their physical addresses.
To set the display options, do the following:
1. Click the Filter access for checkbox to enable filtering options.
2. Select the master security access that you want to review by choosing from the Master dropdown menu.
3. Optionally, set the security level of the selected master by choosing from the Security mode dropdown menu. This setting
has no effect on the configuration.
4. Optionally, customize the output by de-selecting the Show details and Merged SAU+IDAU options.
5. Optionally, filter displayed memory regions in the Filter area.
Point your cursor over the color-coded cells to display a tooltip with information about the security level combination.
Double-click the cell to open the pertinent settings in Security Access Configuration.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 108
AHB with security extension-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 109
AHB with security extension-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 110
AHB with security extension-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 111
AHB with security extension-enabled devices
Point your cursor at an entry to display a tooltip with information about the entry.
You can group the displayed information by security or by masters by using the button on the right-hand side of the toolbar.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 112
RDC-enabled devices
Some AHB with security extension-enabled devices support ROM preset as well as C code. You can choose to have the code
generated in the ROM preset by selecting the option in the Miscellaneous subview.
Create a new memory region by clicking the Add new memory region button in the view's header.
Enter/change the memory region's parameters by clicking the row's cells.
Modify the access policy of memory regions by clicking the cell in the Access column. This action opens the Access
templates dialog.
Errors in configuration are highlighted by a red icon in the relevant cell. In the case the issue is easily fixed, you can right-click the
cell to display a dropdown list of offered solutions.
Remove the memory region by selecting the table row and clicking the Remove selected memory region(s) button in the view's
header.
NOTE
Make sure to first specify the number of domains in the M4 Domain/M7 Domain > Domains.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 113
RDC-enabled devices
Select access template by clicking the topmost cell of domain column to open a dropdown list containing all options.
Once you have selected access templates for all domains, click OK to return to the User Memory Regions view.
7.2.2.1 RDC
In the RDC subview, you can assign masters to domains and specify access rules for slaves for each domain.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 114
RDC-enabled devices
Allocate a master to a domain by clicking the cell in the Domain column in the Masters table and selecting the domain from the
dropdown list.
Select the Lock checkbox to prevent further register modifications.
Alternatively, you can select the options by right-clicking the master and using the dropdown list.
NOTE
Some masters are allocated to specific domains by default and cannot be reallocated.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 115
RDC-enabled devices
Use the Memory Regions Configuration table to enable and configure MRC slaves:
1. Enable the region.
2. Specify the Address.
3. Specify either the Size or the End Address.
4. Optional: Lock the settings to prevent further register modifications.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 116
RDC-enabled devices
7.2.2.1.3 Peripherals
In the Peripherals subview, you can view and configure the PDAP (Peripheral Domain Access Permissions) for peripherals.
NOTE
When enabled, the master cannot access this peripheral until obtaining a semaphore. During the time that the
domain has the semaphore in possession, its bus masters have exclusive access to the peripheral.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 117
RDC-enabled devices
7.2.2.2.1 MPU
In the MPU subview, you can enable and configure MPU (Memory Protection Unit). You can create regions, specify their address,
size, and other parameters.
The MPU enforces privilege rules, separates processes, and enforces access rules to memory, and supports the standard ARMv7
Protected Memory System Architecture model.
MPU is disabled by default and must be enabled by selecting the Enable MPU option.
NOTE
Not every device supports MPU.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 118
RDC-enabled devices
Use the MPU Memory Attributes table to name and configure MPU memory attribute sets. Click the cells of the Memory Type and
Inner/Outer Attributes columns to display the available options.
Use the MPU Memory Regions table to enable and configure MPU memory regions.
1. Enable the region.
2. Specify the Address.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 119
RDC-enabled devices
7.2.2.2.2 Domains
In the Domains subview, you can view, add/remove, and rename XRDC2 domains. Each CPU supports up to 16 XRDC2 domains.
7.2.2.2.3 Masters
In the Masters subview, you can add/remove, view, configure XRDC2 domain assignments to available RDC masters.
Master Domain Assignment Controller (MDAC) is responsible for the generation of the DID, nonsecure and privileged attributes
for every system bus transaction in the device based on pre-programmed Master Domain Assignment (MDA) registers.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 120
RDC-enabled devices
NOTE
The match field specifies the reference value for the comparison with the MDAC match input. The match field width
varies by MDAC instance from 0 to 16 bits. Unimplemented bits are read as 0. A size of 0 bits generates a hit on
all comparisons.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 121
RDC-enabled devices
NOTE
The mask field specifies which bits are valid for the match comparison. Only bit positions in which the mask value
is zero are compared. The mask field width is the same as the mask field which varies by MDAC instance from 0
to 16 bits. A mask value of all ones generates a hit on all comparisons.
5. Select the XRDC2 domain assignment from the dropdown list in the Domain column.
6. Select the security access type from the dropdown list in the Secure column.
7. Select the privileged access type from the dropdown list in the Privileged column.
8. Optional: select the Lock checkbox to prevent further register modifications.
7.2.2.2.4 Peripherals
In the Peripherals subview, you can view the access templates for PAC (Peripheral Access Controller) and configure access for
all peripherals managed by PAC on the selected RDC domain.
The Peripheral Access Controller submodule performs access control for a set of peripherals connected to a peripheral bus bridge
or integrated into a peripheral subsystem.
The Access Template table displays the ID and name of all access templates available for the PAC on the selected device. The
information is data driven and display-only.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 122
RDC-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 123
RDC-enabled devices
Use the Memory Regions Configuration table to configure access for a non-peripheral memory space:
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 124
RDC-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 125
RDC-enabled devices
Use the Memory Slots Configuration table to configure access for a memory space:
1. Select the Enable checkbox.
2. Set the Lock to the desired state.
3. Set the Access Template for all listed domains.
Alternatively, you can select the options by right-clicking the master and using the dropdown list.
7.2.2.3 Miscellaneous
In the Miscellaneous subview, you can set various configuration options. The list of these options depends on processor data, and
varies greatly. All the options influence your register settings, and can be inspected in the Register view. Only some of the options
directly influence configuration that you have made in the Security Access Configuration view. Point your cursor over individual
options to display a tooltip explaining the function of each option.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 126
RDC-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 127
RDC-enabled devices
2. Select the master that you want to review by choosing from the Master dropdown menu.
3. Optionally, set the security level of the selected master by choosing from the Security mode dropdown menu. This setting
has no effect on the configuration.
4. Optionally, customize the output by de-selecting the Show Details, Show Code, Show Data, Show Peripherals, and Show
External options.
5. Optionally, filter displayed memory regions in the Filter area.
Point your cursor over the cells to display a tooltip with information about the security level combination.
Double-click the cell to open the pertinent settings in Security Access Configuration.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 128
RDC-enabled devices
Point your cursor at an entry to display a tooltip with information about the entry.
You can group the displayed information by security or by masters by using the button on the right-hand side of the toolbar.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 129
RDC-enabled devices
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 130
RDC-enabled devices
Code Preview automatically highlights differences between the current and immediately preceding iteration of the code. You
can choose between two modes of highlighting by clicking the Set viewing style for source differences. You can also disable
highlighting altogether from the same dropdown menu.
Some AHB with security extension-enabled devices support ROM preset as well as C code. You can choose to have the code
generated in the ROM preset by selecting the option in the Miscellaneous subview.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 131
NXP Semiconductors
Chapter 8
Advanced Features
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 132 / 150
Tools advanced configuration
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 133
Exporting registers
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 134
Command line execution
NOTE
In MCUXpresso IDE tools commands can be executed only on command line with these parameters: -
application com.nxp.swtools.framework.application [tools commands]
For performance reasons, when CLI is expected to be used multiple times with the same processor, the data is only loaded if it
is not already on disk. If there is newer data on the server, it is not updated.
Long-running jobs share data, so they do not get updated in the middle of execution. To update local data that may have a newer
version on the server, use the -updateData parameter.
Recommended usage:
• For manual one time usage, include the -updateData parameter on the CLI.
• For multiple executions, for example, continuous integration set-up you job:
— Use the command with -updateData, which updates possibly outdated data.
— Use all other commands in the package without this parameter:
copy /Y eclipsec.exe toolsc.exe
@rem updates all local data if newer exists
tools.exe -updateData -consoleLog -HeadlessTool Pins
@rem now runs tools many times
tools.exe -consoleLog -HeadlessTool Pins -Load some.mex -ExportAll c:/directory
tools.exe -consoleLog -HeadlessTool Pins -Load other.mex -ExportAll c:/other_directory
@rem and so on.
The following commands are supported in the framework:
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 135
Command line execution
Force language -nl {lang} Forces set language Removal of the '.nxp' folder -nl zh
from home directory is
{lang} is in recommended, as some text
ISO-639-1 standard might be cached
Select SDK version -SDKversion Version of the MCU to be Requires -MCU command -SDKversion
selected by framework test_ksdk2_0
Select part number -PartNum Selects specific package of Requires -MCU and -PartNum
the MCU SDKversion commands MK64FX512VLL12
Configuration name -ConfigName Name of newly created Name is used when new -ConfigName
configuration - used in configuration is created by "MyConfig"
export -MCU and -SDKversion
commands
Select tool -HeadlessTool Selects a tool that should None -HeadlessTool Clocks
be run in headless mode
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 136
Command line execution
Export all generated -ExportAll Exports generated files Requires -HeadlessTool -HeadlessTool Pins
files (with source code and so command -ExportAll C:/exports/
on. Code is regenerated generated
before export
Enable tool -Enable Enables the tool if it is Requires -HeadlessTool -HeadlessTool Pins
disabled in the current Pins Enable
configuration
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 137
Command line execution
Export all -ExportAll Exports generated files Requires -HeadlessTool -HeadlessTool Pins
generated files (with source code etc.) Pins -ExportAll C:/exports/
generated
(to simplify all Code will be regenerated
exports commands to before export
one command)
Includes -ExportSrc,
ExportCSV, -ExportHTML
and in framework
ExportMEX
Argument is expected as a
folder name
Export CSV file -ExportCSV Exports generated csv file. Requires -HeadlessTool -HeadlessTool
Pins Pins -ExportSrc C:/
The code will be exports/src
regenerated before export
Argument is expected as a
folder name
Export HTML report file -ExportHTML Exports generated html Requires -HeadlessTool -HeadlessTool Pins
report file. Pins -ExportHTML C:/
exports/html
The code will be
regenerated before export
Argument is expected as a
folder name
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 138
Command line execution
Includes -ExportSrc
and in framework
ExportMEX
Argument is expected
as a folder name
Code will
be regenerated
before export
Argument is expected
as a folder name
Export HTML report file -ExportHTML Exports generated html Requires -ExportHTML C:/
report file. HeadlessTool Clocks exports/html
Code will
be regenerated
before export
Argument is expected
as a folder name
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 139
Command line execution
Export HTML report file -ExportHTML Exports generated html Requires -HeadlessTool
report file HeadlessTool Peripherals
Peripherals ExportHTML C:/
The code will exports/html
be regenerated
before export
Argument is expected
to be a folder
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 140
Managing data and working offline
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 141
Managing data and working offline
NOTE
By default, the data is downloaded and cached automatically during the Creating a new standalone configuration
for processor, board, or kit process.
NOTE
Internet connection is required for data download.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 142
Managing data and working offline
4. Click Browse to specify the location and name of the resulting ZIP file.
5. Click Finish,
Data is now saved on your local computer in a ZIP format. You can physically (for example, with a USB stick) move it to an
offline computer.
NOTE
You can also export downloaded data by selecting File > Export > Processor Data > Export Processor Data from
the Menu bar.
NOTE
You can also import data by selecting File>Import>MCUXpresso Config Tools>Import Processor Data from the
Menu bar.
NOTE
If you select the relevant option in Window > Preferences > MXUXpresso Config Tools in the Menu bar, data will
be updated automatically or after a prompt.
NOTE
Internet connection is required for data update.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 143
Output path overrides
NOTE
This action does not affect user templates.
NOTE
An invalid path is logged as a warning and the original non-overridden path is used.
Rules can be edited in the Output Path Override dialog box in the configuration settings. The new rule is added to the end of the
list, the removal is performed for the selected element. The rules are applied to the path in a defined order, which can be changed.
The rule contains:
• Enabled – defines whether the rule will be used by the applied path or skipped.
• Description – used as a user-friendly description of the rule
• Regular expression – matches the overriding parts in the whole output path. The format is taken from the Java
regular expression.
• Replacement expression – used as a replacement of all matches in the path. Substring groups can be referenced by using
placeholder $1, $2 and so on.
The output path override rules can be exported using the wizard to a yaml file. The structure of the yaml file is similar to that of
the dialog box.
Example content of the output path override yaml file:
outputPathOverrides:
-description: Rule group.h
enabled:true
regex:(bo)ar(d)(/.*\.h)
replacement: $2ar$1$3
-description:Rule2
...
The second way to set the rules is to replace them by overriding the output path from the yaml file using wizards or the command
line. Rules are used only if all rules are valid. An empty list deletes the current rules. An empty list in the output path overrides the
yaml file.
outputPathOverrides: [
]
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 144
NXP Semiconductors
Chapter 9
Support
If you have any questions or need additional help, perform a search on the forum or post a new question. Visit https://
community.nxp.com/community/mcuxpresso/mcuxpresso-config .
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 145 / 150
NXP Semiconductors
Chapter 10
Revision history
Table 29. Revision history
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
User's Guide 146 / 150
Definitions
Legal information
Definitions Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
Draft — A draft status on a document indicates that the content is still representation or warranty that such applications will be suitable for the
under internal review and subject to formal approval, which may result specified use without further testing or modification.
in modifications or additions. NXP Semiconductors does not give any
Customers are responsible for the design and operation of their applications
representations or warranties as to the accuracy or completeness of
and products using NXP Semiconductors products, and NXP Semiconductors
information included in a draft version of a document and shall have no
accepts no liability for any assistance with applications or customer product
liability for the consequences of use of such information.
design. It is customer’s sole responsibility to determine whether the NXP
Semiconductors product is suitable and fit for the customer’s applications and
Disclaimers products planned, as well as for the planned application and use of customer’s
third party customer(s). Customers should provide appropriate design and
Limited warranty and liability — Information in this document is believed
operating safeguards to minimize the risks associated with their applications
to be accurate and reliable. However, NXP Semiconductors does not give
and products.
any representations or warranties, expressed or implied, as to the accuracy
or completeness of such information and shall have no liability for the NXP Semiconductors does not accept any liability related to any default,
consequences of use of such information. NXP Semiconductors takes no damage, costs or problem which is based on any weakness or default in the
responsibility for the content in this document if provided by an information customer’s applications or products, or the application or use by customer’s
source outside of NXP Semiconductors. third party customer(s). Customer is responsible for doing all necessary testing
for the customer’s applications and products using NXP Semiconductors
In no event shall NXP Semiconductors be liable for any indirect, incidental,
products in order to avoid a default of the applications and the products or of the
punitive, special or consequential damages (including - without limitation -
application or use by customer’s third party customer(s). NXP does not accept
lost profits, lost savings, business interruption, costs related to the removal or
any liability in this respect.
replacement of any products or rework charges) whether or not such damages
are based on tort (including negligence), warranty, breach of contract or any Terms and conditions of commercial sale — NXP Semiconductors products
other legal theory. are sold subject to the general terms and conditions of commercial sale,
Notwithstanding any damages that customer might incur for any reason as published at http://www.nxp.com/profile/terms, unless otherwise agreed
whatsoever, NXP Semiconductors’ aggregate and cumulative liability towards in a valid written individual agreement. In case an individual agreement
customer for the products described herein shall be limited in accordance with is concluded only the terms and conditions of the respective agreement
the Terms and conditions of commercial sale of NXP Semiconductors. shall apply. NXP Semiconductors hereby expressly objects to applying the
customer’s general terms and conditions with regard to the purchase of NXP
Right to make changes — NXP Semiconductors reserves the right to make Semiconductors products by customer.
changes to information published in this document, including without limitation
specifications and product descriptions, at any time and without notice. This Export control — This document as well as the item(s) described herein may be
document supersedes and replaces all information supplied prior to the subject to export control regulations. Export might require a prior authorization
publication hereof. from competent authorities.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 147
Trademarks
Suitability for use in non-automotive qualified products — Unless this Security — Customer understands that all NXP products may be subject to
data sheet expressly states that this specific NXP Semiconductors product unidentified vulnerabilities or may support established security standards or
is automotive qualified, the product is not suitable for automotive use. specifications with known limitations. Customer is responsible for the design
It is neither qualified nor tested in accordance with automotive testing and operation of its applications and products throughout their lifecycles
or application requirements. NXP Semiconductors accepts no liability for to reduce the effect of these vulnerabilities on customer’s applications
inclusion and/or use of non-automotive qualified products in automotive and products. Customer’s responsibility also extends to other open and/or
equipment or applications. proprietary technologies supported by NXP products for use in customer’s
applications. NXP accepts no liability for any vulnerability. Customer should
In the event that customer uses the product for design-in and use in automotive
regularly check security updates from NXP and follow up appropriately.
applications to automotive specifications and standards, customer (a) shall use
the product without NXP Semiconductors’ warranty of the product for such Customer shall select products with security features that best meet rules,
automotive applications, use and specifications, and (b) whenever customer regulations, and standards of the intended application and make the
uses the product for automotive applications beyond NXP Semiconductors’ ultimate design decisions regarding its products and is solely responsible
specifications such use shall be solely at customer’s own risk, and (c) customer for compliance with all legal, regulatory, and security related requirements
fully indemnifies NXP Semiconductors for any liability, damages or failed concerning its products, regardless of any information or support that may be
product claims resulting from customer design and use of the product for provided by NXP.
automotive applications beyond NXP Semiconductors’ standard warranty and
NXP has a Product Security Incident Response Team (PSIRT) (reachable
NXP Semiconductors’ product specifications.
at [email protected]) that manages the investigation, reporting, and solution
release to security vulnerabilities of NXP products.
Evaluation products — This product is provided on an “as is” and “with
all faults” basis for evaluation purposes only. NXP Semiconductors, its
affiliates and their suppliers expressly disclaim all warranties, whether express, Trademarks
implied or statutory, including but not limited to the implied warranties of
non-infringement, merchantability and fitness for a particular purpose. The Notice: All referenced brands, product names, service names, and
entire risk as to the quality, or arising out of the use or performance, of this trademarks are the property of their respective owners.
product remains with customer. NXP — wordmark and logo are trademarks of NXP B.V.
In no event shall NXP Semiconductors, its affiliates or their suppliers be liable AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Cordio,
to customer for any special, indirect, consequential, punitive or incidental CoreLink, CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, Keil, Mali,
damages (including without limitation damages for loss of business, business Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, Socrates, Thumb,
interruption, loss of use, loss of data or information, and the like) arising out the TrustZone, ULINK, ULINK2, ULINK-ME, ULINK-PLUS, ULINKpro, μVision,
use of or inability to use the product, whether or not based on tort (including Versatile — are trademarks or registered trademarks of Arm Limited (or its
negligence), strict liability, breach of contract, breach of warranty or any other subsidiaries) in the US and/or elsewhere. The related technology may be
theory, even if advised of the possibility of such damages. protected by any or all of patents, copyrights, designs and trade secrets. All
Notwithstanding any damages that customer might incur for any reason rights reserved.
whatsoever (including without limitation, all damages referenced above and Airfast — is a trademark of NXP B.V.
all direct or general damages), the entire liability of NXP Semiconductors, its
Bluetooth — the Bluetooth wordmark and logos are registered trademarks
affiliates and their suppliers and customer’s exclusive remedy for all of the
owned by Bluetooth SIG, Inc. and any use of such marks by NXP
foregoing shall be limited to actual damages incurred by customer based on
Semiconductors is under license.
reasonable reliance up to the greater of the amount actually paid by customer
for the product or five dollars (US$5.00). The foregoing limitations, exclusions Cadence — the Cadence logo, and the other Cadence marks found at
and disclaimers shall apply to the maximum extent permitted by applicable law, www.cadence.com/go/trademarks are trademarks or registered trademarks of
even if any remedy fails of its essential purpose. Cadence Design Systems, Inc. All rights reserved worldwide.
version shall prevail in case of any discrepancy between the translated and ColdFire+ — is a trademark of NXP B.V.
English versions.
EdgeLock — is a trademark of NXP B.V.
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 148
Trademarks
MCUXpresso Config Tools User's Guide v.12 (IDE), Rev. 3, 30 June 2022
NXP Semiconductors 149
Please be aware that important notices concerning this document and the product(s) described
herein, have been included in section 'Legal information'.