Getting Started with the DEVKIT-MPC5744P

Last Modified: 2019-03-19 22:37:25Supports MPC5744P Functional Safety Motor Control Development Board

Contents of this document

  • 1

    Out of the Box
  • 2

    Get Software
  • 3

    Plug It In
  • 4

    Create, Build and Load

1. Out of the Box

Applies for the DEVKIT-MPC5744P development board REV E.

1.1 Get to Know Your Evaluation Board

DEVKIT-MPC5744P development board REV E:

Get Started with the DEVKIT-MPC5744P 1.1A

Get Started with the DEVKIT-MPC5744P 1.1A

DEVKIT-MPC5744P development board REV B:

Get Started with the DEVKIT-MPC5744P 1.1B

Get Started with the DEVKIT-MPC5744P 1.1B

Differences between REV E and REV B:

Interface:

  • USB/Serial/OpenSDA is connected to LIN0 (LIN1 on REV B)
  • LIN1 using the PowerSBC physical layer (LIN0 on REV B using MC33662BLEF driver)
  • CAN0 using the PowerSBC physical layer (CAN0 on REV B using MC33901WEF driver)
  • Both FlexRay channels are used (only channel A is used on REV B)

Power:

  • When external 12 V is used, the PowerSBC generate the necessary voltages (there is used separate switching regulators on REV B)

Get Started with the DEVKIT-MPC5744P 1.1C

Get Started with the DEVKIT-MPC5744P 1.1C

1.2 Understanding the Header/Pinout

Get Started with the DEVKIT-MPC5744P 1.2A

Get Started with the DEVKIT-MPC5744P 1.2A

Get Started with the DEVKIT-MPC5744P 1.2B

Get Started with the DEVKIT-MPC5744P 1.2B

Get Started with the DEVKIT-MPC5744P 1.2C

Get Started with the DEVKIT-MPC5744P 1.2C

1.3 Understanding the Power Supply Settings

Get Started with the DEVKIT-MPC5744P 1.3

Get Started with the DEVKIT-MPC5744P 1.3

1.4 Understand the User Peripherals

Get Started with the DEVKIT-MPC5744P 1.4

Get Started with the DEVKIT-MPC5744P 1.4

1.5 Understanding Programming Interfaces

Get Started with the DEVKIT-MPC5744P 1.5

Get Started with the DEVKIT-MPC5744P 1.5

1.6 Understanding Communication Interfaces

Get Started with the DEVKIT-MPC5744P 1.6

Get Started with the DEVKIT-MPC5744P 1.6

1.7 Understanding Indication LEDs

Get Started with the DEVKIT-MPC5744P 1.7

Get Started with the DEVKIT-MPC5744P 1.7

1.8 Understanding Test Points

Get Started with the DEVKIT-MPC5744P 1.8

Get Started with the DEVKIT-MPC5744P 1.8

1.9 Understanding Safety Functionalities

Get Started with the DEVKIT-MPC5744P 1.9

Get Started with the DEVKIT-MPC5744P 1.9

1.10 Understanding the MPC574xP Family Phantom Feature Differences

Get Started with the DEVKIT-MPC5744P PT1

Get Started with the DEVKIT-MPC5744P PT1A

1.11 Understanding the MPC5744P Package Level Pinout Diagram

Get Started with the DEVKIT-MPC5744P PT1B

Get Started with the DEVKIT-MPC5744P PT1B

2. Get Software

2.1 Download the DEVKIT-MPC5744P Development Board – Quick Start Package

Download DEVKIT-MPC5744P QSP

2.2 Get your Integrated Development Environment (IDE)

DEVKIT-MPC5744P performs better when using S32 Design Studio for Power Architecture®.

Download S32 DESIGN STUDIO IDE

2.3 Get your PC Configuration Driver

Some application examples output data over the MCU UART. Make sure you have installed the driver for the board’s virtual COM port.

Download CONFIG DRIVER

When the serial port driver is installed, run any terminal application to view the serial output from the MCU UART. Configure the terminal to 57,600 baud rate, 8 data bits, no parity and 1 stop bit.

Learn more about Using a Terminal Application at Projects and Tutorials.

3. Plug It In

Watch the video to set up your development board. You can also use the step-by-step guide.

3.1 Plug the USB Cable into your DEVKIT-MPC5744P Board

Connect one end of the USB cable to the PC and the other end to the micro-B connector on your board.

Allow the PC to automatically configure the USB drivers.

DEVKIT-MPC5744P Getting Started Image

DEVKIT-MPC5744P Getting Started Image

3.2 Run the Out-of-the-Box Example

Your DEVKIT-MPC5744P comes pre-loaded with a demo using the potentiometer and the user LEDs.

Once the board is plugged in, the ADC in the DEVKIT-MPC5744P will scan the RV1 potentiometer result. Different combinations of the RGB LEDs power on as you turn it.

DEVKIT-MPC5744P Getting Started Image

DEVKIT-MPC5744P Getting Started Image

4. Create, Build and Load

Watch the video to create a new project and load a code example. You can also use the step-by-step guide.

4.1 Create a New Project in IDE

  1. Launch the S32 Design for Power Architecture® and select a default workspace or specify a new one. Then, click OK
  2. Get Started with the DEVKIT-MPC5748G-4.1a

    Get Started with the DEVKIT-MPC5748G
  3. Create a new project by selecting File → New → Project
  4. Get Started with the DEVKIT-MPC5748G-4.1b

    Get Started with the DEVKIT-MPC5748G
  5. Choose a project name and then select a project type, then click Next. We recommend using Elf S32DS Project for this one
  6. Get Started with the DEVKIT-MPC5744P 4.1C

    Get Started with the DEVKIT-MPC5744P 4.1C
  7. Select cores and parameter, then click Finish. We recommend using the default settings for now, but you can make selections in Language, Library and Debugger
  8. Get Started with the DEVKIT-MPC5744P 4.1D

    Get Started with the DEVKIT-MPC5744P 4.1D
  9. A project will be created for every core the device has. The MPC5744P has only one
  10. Get Started with the DEVKIT-MPC5744P 4.1E

    Get Started with the DEVKIT-MPC5744P 4.1E

4.2 Build a New Project in IDE

Use one of these two paths to create a project:

  • Project → Build Project
  • Get Started with the DEVKIT-MPC5744P 4.2A

    Get Started with the DEVKIT-MPC5744P 4.2A
  • Click icon to build the project, then click the icon to build all projects

The following message will be displayed on the console once you successfully build a project:

4.3 Debug a Project in IDE

  1. Connect a debugger to both the board and PC
  2. Click the debug icon in the top menu
  3. Select a Project, Interface and Port, then click Debug

    (Example: "FirstProject_Debug" and "OpenSDA for DEVKIT-MPC5744P")

  4. Get Started with the DEVKIT-MPC5744P 4.3B

    Get Started with the DEVKIT-MPC5744P 4.3B

4.4 Debug a Project from RAM

Follow one of these paths to debug from RAM:

  • Go to Project → Build Configurations → Set Active → Debug_RAM

Get Started with the DEVKIT-MPC5748G-4.4a

Get Started with the DEVKIT-MPC5748G
  • Select Debug_RAM by clicking down the arrow next to the "hammer" icon:

Finally, to debug from RAM, select the RAM-related session while debugging.

Get Started with the DEVKIT-MPC5744P 4.4C

Get Started with the DEVKIT-MPC5744P 4.4C

4.5 Make Projects from Built-In Examples

  1. Launch the S32 Design Studio for Power Architecture® and open a new file along this path: File → New → New S32DS Project from Example
  2. Get Started with the DEVKIT-MPC5748G-4.5a

    Get Started with the DEVKIT-MPC5748G
  3. Select the built-in project of your choice and click Finish
  4. Get Started with the DEVKIT-MPC5748G-4.5b

    Get Started with the DEVKIT-MPC5748G
  5. The selected project will be copied to the active workspace

4.6 Import Projects into IDE

  1. Go to File → Import. In the workspace option, click Existing Projects then click Next. Click Browse and select the example folder
  2. Get Started with the DEVKIT-MPC5748G-4.6a

    Get Started with the DEVKIT-MPC5748G
  3. To import the project into the workspace, select it and click Finish
  4. Get Started with the DEVKIT-MPC5744P 4.6B

    Get Started with the DEVKIT-MPC5744P 4.6B

Using a Terminal Application

Tera Term Tutorial

Tera Term is a very popular open source terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.

  1. Download Tera Term from SourceForge. After the download, run the installer and then return to this webpage to continue
  2. Download

  3. Launch Tera Term and select Serial

  4. Configure serial port settings (using the COM port number identified earlier) to 57,600 baud rate, 8 data bits, no parity and 1 stop bit. Go to Setup → Serial Port and update the settings
  5. Verify that the connection is open. Once connected, Tera Term will update its title bar:
  6. You are ready to go

PuTTY Tutorial

PuTTY is a popular terminal emulation application. This program can be used to display information sent from your NXP development platform's virtual serial port.

  1. Download PuTTY and run the installer
  2. Download

  3. Launch PuTTY
  4. Configure the Serial radio button and enter the COM port number that you determined earlier. Also enter the baud rate
  5. Open the serial connection
  6. You are ready to go

Installing S32 Design Studio IDE

Installing S32 Design Studio IDE

  1. Download the latest version of our S32 Design Studio IDE for Power Architecture®
  2. Go to the download folder. Run the installation file, the "Preparing to Install" dialogue box will appear
  3. When the installer wizard window is displayed, click Next

  4. Selecting the S32 Design Studio only installs this software. To install more softwares, select "Additionally Install" option

  5. We recommend you to entirely read the License Agreement. Once done, select the radio button accepting the agreement terms and click Next to continue
  6. Choose either the default or new installation location, then click Next

  7. Select a path to generate a shortcut of your choice and click Next
  8. Verify all settings in the Pre-installation Summary tab
  9. If everything is accurate, click Install
  10. At some point during the installation, you will be prompted for the software activation code

    To get your activation code, go to the Product Download page and select the License Keys tab

  11. Copy and paste the software activation code into the activation window, then select Online
  12. During installation, you need to download the P&E device drivers. Read the license agreement and click I agree
  13. Then select the destination folder and click Install. When the installation is complete, click Close
  14. You will see an Install Complete - Congratulations message in the installer wizard window once the S32 Design Studio for Power Architecture installation is complete

Introduction to OpenSDA

OpenSDA is an open-standard serial and debug adapter. It bridges serial and debug communications between a USB host and an embedded target processor.

The DEVKIT-MPC5744P comes with the OpenSDA Application preinstalled.

Follow these instructions to run the OpenSDA Bootloader and update or change the installed OpenSDA application.

Enter OpenSDA Bootloader Mode

  1. Unplug the USB cable if attached
  2. Press and hold the SW4 Bootloader Entry
  3. Plug in a USB cable between a USB host and the OpenSDA USB connector (labeled SDA)
  4. Release the SW4 Bootloader Entry

A removable drive should now be visible in the host file system with a volume label of BOOTLOADER.

You are now in OpenSDA Bootloader mode.

Load an OpenSDA Application

  1. While in OpenSDA Bootloader mode, double-click SDA_INFO.HTML in the BOOTLOADER drive. A web browser will open the OpenSDA homepage containing the name and version of the installed application. This information can also be read as text directly from SDA_INFO.HTML
  2. Locate the OpenSDA Applications folder
  3. Copy and Paste or Drag and Drop the application to the BOOTLOADER drive
  4. Unplug the USB cable and plug it in again

The new OpenSDA Application should now be running and check the latest version by repeating first step.

Use the same procedure to load other OpenSDA applications.

Using the Virtual Serial Port

  1. Determine the symbolic name assigned to the DEVKIT-MPC5744P virtual serial port

    In Windows, open Device Manager and look for the COM port named OpenSDA-CDC Serial Port

  2. Open the serial terminal emulation program of your choice

    For Windows you can use Tera Term , PuTTY  or HyperTerminal

  3. Program one of the "code examples" using S32 Design Studio IDE
  4. Configure the terminal emulation program. Most embedded examples use 8 data bits, no parity bits and one stop bit (8-N-1)
  5. Match the baud rate to the selected serial test application and open the port
  6. Press and release the SW1 Reset button at any time to restart the example application. Resetting the embedded application will not affect the connection of the virtual serial port to the terminal program

Support

Forums

Connect with other engineers and get expert advice on designing with the DEVKIT-MPC5744P Application Processor on one of our community sites.