Getting Started with the Quad Motor Control Development Platform | NXP Semiconductors

Getting Started with the Quad Motor Control Development Platform

Last Modified: 2021-05-06 17:45:41Supports Quad Motor Control Development Platform

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run

Plug It In

Learn the basics to run your development platform boards, daughter board and digital board. Get up and running with your multi-motor control designs.

Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected

      1.1 Kit Content

      IMX8MMINIEVK-BOARD-IMG1

      IMX8MMINIEVK-BOARD-IMG1

      QMC-Daughter-Front-GS-IMG

      QMC-Daughter-Front-GS-IMG

      1.2 Additional Hardware Requirements

      QMCGS-Board-img3

      QMCGS-Board-img3

      1.3 Connection Diagram

      • Attach a USB cable from the computer to the digital board
      • Connect the LPC-Link 2 board (J7 jumper) to the daughter board using a JTAG cable in the SWD connector
      • Attach a USB cable from the computer to the LPC-Link 2 board
      • Power on the board using SW20

      QMCGS-Board-img4

      QMCGS-Board-img4

      After importing and building the project, we need to prepare hardware setup to program the NXP quad motor-control application using the LPC-Link 2 debug probe.

      The daughter board allows the selection of the internal boot or serial downloader boot modes of the i.MX RT1050 crossover processor using the SW300 DIP switch. Select the internal boot mode configuring the SW300 DIP switch as described in the next table.

      Switch State

      1

      OFF

      2

      ON

      3

      ON

      4

      OFF

      QMCGS-Board-img5

      QMCGS-Board-img5

      Configure LPC-Link 2 board jumpers.

      • JP1 open: boot USB DFU
      • JP2 closed: buffers power by LPC-Link 2

      QMCGS-Board-img6

      QMCGS-Board-img6

      Get Software

      2.1 MCUXpresso Integrated Development Environment (IDE)

      The MCUXpresso IDE brings developers an easy-to-use Eclipse-based development environment for NXP® MCUs based on Arm® Cortex® -M cores, including LPC and including LPC, Kinetis and i.MX RT crossover MCUs.

      MCUXpresso Integrated Development Environment (IDE)

      2.2 MCUXpresso Project Sample Code

      MCUXpresso Project

      2.3 FreeMASTER Run-Time Debugging Tool

      FreeMASTER is a user-friendly real-time debug monitor and data visualization tool that enables runtime configuration and tuning of embedded software applications.

      FreeMASTER Run-Time Debugging Tool

      2.4 FreeMASTER Project Sample Code

      FreeMASTER Project

      Build, Run

      3.1 Get the i.MX RT1050 SDK

      In the SDK Builder, you will be asked to sign in with your NXP account (if you don't have one yet, click on Register Now), type your credentials in the fields and then click on Sign in.

      Type MIMXRT1052xxxxB on the text box (1), select it (2) in the drop-down list and click (3) Build MCUXpresso SDK button as shown.

      Build-Run-QMCGS-img1

      Build-Run-QMCGS-img1

      3.2 Accept Terms and Download

      Click Download SDK button and accept the software terms and conditions.

      3.3 Install the i.MX RT1050 SDK in MCUXpresso

      Open MCUXpresso, (1) select the Installed SDKs tab and (2) drag and drop the compressed SDK folder to its area. A warning window should pop up.

      The i.MX RT1050 crossover processor SDK should now be listed in the Installed SDK tab.

      3.4 Open the Quad Motor Control Project from File System

      Download the NXP quad motor-control application MCUXpresso project from the Tools and Software section.

      Browse the NXP quad motor-control application MCUXpresso project as shown in the next figure.

      Build-Run-QMCGS-img2

      Build-Run-QMCGS-img2

      Select the project example and click the Finish button. The project selected should now be visible in your MCUXpresso worskpace.

      3.5 Building the Project

      Click the Build button in the MCUXpresso quick start panel to compile the project.

      Check in the MCUXpresso console that the project build finished successfully and without errors.