i.MXRT1060 Middleware Pack  Version 1.0.0
MDK-Middleware examples and CMSIS-Drivers for NXP i.MXRT1060 devices
 All Files Pages
Configure I/O pins and clock with MCUXpresso Config Tools

Most of the drivers require pin and clock configuration that is done with NXP's MCUXpresso Config Tools.

Prerequisites

  • Download and install the NXP MCUXpresso Config Tools
  • To be able to see all supported devices (including the i.MXRT family), you need an Internet connection

Use the tools

The following steps are required to create the configuration (enter the values that are marked bold):

  • Start the NXP MCUXpresso Config Tool
  • Check Create new configuration for processor, board or kit and click Next >
    create_new_config.png
  • Select Boards - IMXRT1060-EVK and click Finish
  • From the starting screen, select the Pins tool:
    start_config_imxrt1060evb.png
  • The tool opens:
    config_tools_started.png
  • Do all changes required for the driver (see below)
  • Go to File - Save to save the project
  • Go to File - Export - Pin Tools - Export Source Files and press Next >
    export_pin_sources.png
  • Set a directory where pin_mux.c and pin_mux.h will be created. We suggest <project_dir>\RTE\Board Support\<selected_device>
  • Go to Tools - Clocks
  • Go to Views - Clocks Diagram and check that all clocks are set correctly for the driver (see below)
  • Go to File - Export - Clocks Tool - Export Source Files and press Next >
    export_clock_sources.png
  • Set a directory where clock_config.c and clock_config.h will be created. We suggest <project_dir>\RTE\Board Support\<selected_device>

CMSIS-Driver configuration requirements

For each CMSIS-Driver, the required pin and clock setup is explained in depth below:

Continue by adding user code.