Using the MCUXpresso Pins Tool

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

Using the MCUXpresso Pins Tool

Using the MCUXpresso Pins Tool

This documents describes how to use this tool in order to generate the routing and muxing for pins. This tool is available as an online WEB application https://mcuxpresso.nxp.com

Pins Tool Overview

The Pins Tool is an easy-to-use way to configure the pins of the device. The Pins Tool software enables you to create, inspect, change, and modify any aspect of the pin
configuration and muxing of the device. This document introduces you to the Pins Tool. It describes the basic components of the tool and lists the steps to configure and use the tool to configure the pins.

This tool is provided as an online WEB application.

You need to generate a downloadable MCUXpresso SDK v.2 package. The below link shows the steps for do that.

Generating a downloadable MCUXpresso SDK v.2 package 

User interface

The Pins Tool consists of several views.

pastedImage_12.png

Using the Pins Tool

The Pins Tool is designed to configure routing of signals from peripherals either to pins or to internal signals.
To define routing path, first select a peripheral, then select the signal, and finally select the pin.

1. Select a peripheral for example GPIO. The following image illustrates the filtering controls in the Pins view.

pastedImage_1.png

pastedImage_1.png

2.  Route the selected Signal to the desired pin. It is possible to easily identify routed pins/peripherals in the package using highlighting.

By default, the current selection (pin/peripheral) is highlighted in the package view.
• Red indicates that the pin has an error.
• Green indicates that the pin is muxed or used.
• Light grey indicates that the pin is available for mux, but is not muxed or used.
• Yellow border around the pin such that the other color is still visible indicates that the pin is selected. For example, by peripheral or by pin.

pastedImage_2.png

3. Select one of non-conflicting/available pins. Once you have selected Peripheral, Signal, and Route to, the pin configuration is done. Later, it is also possible to configure the pin electrical features. Use the table drop down menu to configure the pin. To configure pins, start from left to right – select the peripheral first, then select required signal, and finally select the routed pin.

pastedImage_4.png

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.

Code generation

The tool generates source code that can be incorporated into an application to initialize pins routing. The source code is generated automatically on change or can be generated manually by selecting the main menu Pins > Generate Now.

pastedImage_4.png

The generated code is shown in the Sources tab on the right window. It shows all generated files and each file has its own tab.

pastedImage_5.png

It is also possible to copy and paste the generated code into the source files. The view generates code for each function.

In addition, it is possible to Export generated source using the Export option.

1. Select Pins > Export

pastedImage_6.png

pastedImage_7.png

2. Click Next.
3. Select the name of the zip file and click Finish. Your download should automatically begin. 

pastedImage_8.png

Enjoy!!

 

Related links:

Introducing MCUXpresso SDK v.2 for LPC54xxx Series 

Generating a downloadable MCUXpresso SDK v.2 package 

MCUXpresso Config Tools is now available!  

How to start with SDK v.2.0 for LPC5411x using LPCXpresso IDE 

No ratings
Version history
Last update:
‎11-24-2016 04:03 PM
Updated by: