Learn the basics to run your development platform boards, daughter board and digital board. Get up and running with your multi-motor control designs.
Figure 1. Digital board (ICC-QMC-DB)
Figure 2. Daughter board (ICC-QMC-DGC)
Figure 3. LPC-Link 2 (OM13054UL)
J7 jumper
) to the daughter board using a JTAG
cable in the SWD
connectorSW20
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 |
Configure LPC-Link 2 board jumpers.
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.
FreeMASTER is a user-friendly real-time debug monitor and data visualization tool that enables runtime configuration and tuning of embedded software applications.
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.
Click Download SDK button and accept the software terms and conditions.
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.
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.
Select the project example and click the Finish button. The project selected should now be visible in your MCUXpresso worskpace.
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.
This section details how to run the FreeMASTER project provided as part of the NXP quad motor-control application.
Note: FreeMASTER run-time debugging tool installation is required. If you do not have it installed in your laptop, begin the download by clicking the link from Section 2.
To run the NXP quad motor-control FreeMASTER project, follow these instructions: