Getting Started with MC56F80000-EVK | NXP Semiconductors

Getting Started with MC56F80000-EVK

Last Modified: Jan 6, 2023Supports MC56F80000-EVK

Contents of this document

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run
  • 4

    Create

1. Plug It In

1.1 Get Familiar with the Board

1.2 Attach the USB Cable

There are two micro-USB connectors on the board. The bottom one (J12) is for on-board OpenSDA to support programming, debugging and virtual serial port. The upper one (J26) is used as virtual serial port realized by CP2012N. Both micro-USB connectors can supply power for the board. Plug the USB cable into the bottom one for OpenSDA.

1.3 Run the Out-of-Box Demo

Your MC56F80000-EVK board comes loaded with a simple switch LED demo. The green LED D2 lights up, indicating that the board is powered on. The LEDs D7, D8, D5 light up one by one, and then turn off one by one.

2. Get Software

Installing software for the MC56F80000-EVK

2.1 Install Your Toolchain

NXP offers a complimentary toolchain called CodeWarrior IDE. There are many versions of this IDE, to support MC56F80xxx, the version of the CodeWarrior for MCUs should be v11.2 or later.

You can find the installation steps for CodeWarrior v11.2 below.

  1. Click the link CodeWarrior. Find the CodeWarrior v11.2 item and click the DOWNLOAD
  2. Click on “CodeWarrior for MCU Professional Edition” of version 11.2
  3. Download “CodeWarrior for MCU v11.2 - Windows” and “com.freescale.mcu11_2.dsc.updatesite.zip” files into the same directory
  4. Click the .exe file, then follow the instruction to finish the installation

2.2 Jump-Start Your Design with the MCUXpresso SDK

The MCUXpresso Software Development Kit (SDK) is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.

Let's find out how to download the latest SDK release for the MC56F80000-EVK.

  1. Click the link Get MCUXpresso SDK . You will see the below page
  2. Select the Processors, dsc, 56F80000, 56F807xx items sequentially

    You will find all the 56F807xx series parts shown here. Due to the MC56F80748 that is used on the EVK, we select the MC56F80748 here. If the other parts are used on your side, please select the corresponding item to download the appropriate SDK package

  3. Click the Build MCUXpresso SDK
  4. You could select the middleware needed in your application here. Then click the DOWNLOAD SDK
  5. Once the building is done, the page below will appear. Click Download SDK
  6. In the pop up window, select the marked item shown in below figure
  7. Finally, select Agree to finish the download

2.3 FreeMASTER

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

Get FreeMASTER

The OpenSDA supports the virtual COM port communication on MC56F80000-EVK for FreeMASTER.

If using the CP210x USB to UART bridge virtual COM port communication on MC56F80000-EVK, you need to download and install the CP210x drivers. The CP210x Windows Drivers v6.7.6 works well here.

CP210x drivers

2.4 MCUXpresso Config Tools

The MCUXpresso Config Tool is an integrated suite of configuration tools that guides users in creating new MCUXpresso SDK projects, and also provides pin and clock tools to generate initialization C code for custom board support. It's recommended to install the latest version of the MCUXpresso Config Tools.

MCUXPRESSO CONFIG TOOLS

2.5 Serial Terminal

Many of the MCUXpresso SDK examples output data over the MCU UART. Make sure you install an terminal application.

Not sure how to use a terminal application? Try one of these tutorials: Tera Term Tutorial, PuTTY Tutorial

3. Build, Run

3.1 Explore the MCUXpresso SDK Example Code

The MCUXpresso SDK comes with a long list of example applications code. To see what's available, browse to the SDK boards folder of your SDK installation and select mc56f80000evk(< SDK_Install_Directory>/boards/mc56f80000evk).

To learn more about specific example code, open the readme.txt file in an example's directory

3.2 Build, Run

If one or more of the demo application or driver examples sound interesting, you're probably wanting to know how you can build and debug by yourself. The following guide provides easy, step-by-step instructions on how to open, build and debug an example code using the CodeWarrior IDE.

  1. Import an example project
    1. Launch CodeWarrior 11.2, then go to file → Import
    2. In the list of import source, expand the General tree control and select Existing projects into Workspace. Then click Next
    3. Select Browse
    4. Navigate to the example projects downloaded, <SDK_Directory>/boards/ mc56f80000evk/demo_apps/hello_world, select codewarrior and click OK
    5. The selected project appears in the Projects list, click Finish
  2. Build an example project
    1. Now the project appears in the CodeWarrior Project view of the Workbench window. The project has four build configurations with different optimization configuration and memory model. 'flash_sdm_lpm_debug and 'flash_ldm_lpm_debug' are configured as speed optimization level 1, 'flash_sdm_lpm_release' and 'flash_ldm_lpm_release' are configured as speed optimization level 4. 'flash_sdm_lpm_debug' and 'flash_sdm_lpm_release' are configured as small data and large program memory model, 'flash_ldm_lpm_debug' and 'flash_ldm_lpm_release' are configured as large data and large program memory model.

      Click on the configuration name and choose the desired build configuration.

    2. Build the project by selecting the project to be complied and clicking the tool bar Build icon, or right clicking on the project and selecting Build Project
    3. You can see the status of the build in the Console tab
  3. Run an example project

    Now the project has been compiled, you can now download it to the board and run it. Make sure the MC56F80000-EVK is plugged in.

    1. Click the tool bar Debug icon, and select Debug Configurations
    2. The Debug configurations dialog box appears. expand the CodeWarrior tree control and select the build configuration. Then click Debug
    3. The debugger downloads program to the board and Debug perspective appears. The execution halts at the first statement of main()
    4. Open a terminal program and connect to the COM port the board enumerated as. Configure the terminal with these settings:
      • 115200 baud rate
      • 8 data bits
      • No parity
      • One stop bit
      • No flow control
    5. Start the application by clicking the Resume button.
    6. The hello_world application is now running, and a banner is displayed on the terminal
    7. Use the controls in the menu bar to pause, step into and step over instructions, and then stop the debugging session by click on the Terminate icon

4. Create

Create an Application for the MC56F80000-EVK

4.1 New Project with CodeWarrior

When a bare-mental project is preferred, use the CodeWarrior new project wizard to create a new project. Now, let's use CodeWarrior to show how to create a bareboard project and edit on it.

When a bare-mental project is preferred, use the CodeWarrior new project wizard to create a new project. Now, let's use CodeWarrior to show how to create a bareboard project and edit on it.

4.2 Create a New Project with MCUXpresso Config Tool

Use the MCUXpresso Config Tool to create a new project based on the SDK.

The following steps will guide you through creating a project with MCUXpresso Config Tool.