DEVKIT-MPC5744P QUICK START GUIDE (QSG) Ultra-Reliable MCUs for Industrial and Automotive Applications www.nxp.
Contents • • • Quick Start Package Overview Step-by-Step Installation Instructions Hardware: DEVKIT-MPC5744P Board − − − − • Software: − − • • • • 1 Features Overview Pinout and Jumper Settings Power Supply Software Development Tools Pre-compiled Code Examples Documentation MPC574xP Family : Phantom Feature Differences OpenSDA Recommendations EXTERNAL USE
Quick Start Package Overview Board: DEVKIT-MPC5744P Low cost EVB with MPC5744P Auto quality MCU on board Documents: Name Description Quick Start Guide(QSG) Detailed description on availability of Hardware, Software and Documents to quick start with MPC5744P project (this document) Software Installation Guide(SWIG) Detailed walk through on how to install and use S32 Design Studio for Power Architecture Application Notes Detailed documents covering topics from ‘how to design hardware’ to ‘how to writ
Step-by-Step Installation Instructions In this quick start guide, you will learn how to set up the DEVKIT-MPC5744P board and run the default program. Install Software and Tools 1 Install S32 Design Studio IDE for Power Architecture. S32 Design Studio for Power See Software Installation Guide (SWIG) for detailed procedure Connect the USB Cable 2 Connect one end of the USB cable to the PC and the other end to the micro-B connector on the DEVKIT-MPC5744P board.
DEVKIT-MPC5744P Board : Features • MPC5744P has 2 x 200 MHz Power Architecture® e200Z4 Dual issue cores operating in delayed lockstep • MPC5744P qualified to AEC-Q100 Grade 1 and ambient temperature of -40 to +125 °C • Arduino™ UNO R3 footprint-compatible with expansion “shield” support − Supports DEVKIT-MOTORGD motor control shield • Integrated Open-standard Serial and Debug Adapter (OpenSDA) with support for several industry-standard debug interfaces as well as JTAG connector • Easy access to th
DEVKIT-MPC5744P Board : Overview The DEVKIT-MPC5744P is an ultra-low-cost development platform for MPC5744P Microcontrollers. Features include easy access to all MCU I/Os, a standard-based form factor compatible with the Arduino™ pin layout, providing a broad range of expansion board options, and a USB serial port interface for connection to the IDE. The board has option to be powered via USB or an external power supply.
DEVKIT-MPC5744P Board : Pinout 1 of 3 J2 FUNCTION J2 PORT PIN PIN PORT FUNCTION LT_PA15 J2-19 J2-20 PA15 CAN1_RXD LT_PA9 J2-17 J2-18 PA14 CAN1_TXD NC J2-15 J2-16 PB3 LIN0_RXD GND J2-13 J2-14 PB2 LIN0_TXD DSPI0_SCK LT_PC5 J2-11 J2-12 PD10 FLEXPWM_0_A0 DSPI0_SIN LT_PC7 J2-09 J2-10 PD4 FLEXPWM_0_B3 DSPI0_SOUT LT_PC6 J2-07 J2-08 PD3 FLEXPWM_0_A3 DSPI0_CS0 LT_PC4 J2-05 J2-06 PE11 LT_PG7 J2-03 J2-04 PC14 LT_PD2 J2-01 J2-02 PC10 J1 J1 FUNCTION 6 EXTERN
DEVKIT-MPC5744P Board : Pinout 2 of 3 J3 FUNCTION J3 PORT PD12 PD9 PJ8 PE13 PE14 PE15 PF14 PF15 PIN J3-02 J3-04 J3-06 J3-08 J3-10 J3-12 J3-14 J3-16 J4 PORT EXT_HV_PWR EXT_LV_PWR RESET 3V3_SR 5V0_SR GND GND EXT_HV_PWR FUNCTION 12V_IN 3.3V or 5V Selectable MPC5744P Reset 3.
DEVKIT-MPC5744P Board : Pinout FUNCTION FUNCTION J6 J5 3.3V 8 EXTERNAL USE Arduino Compatibility The internal rows of the I/O headers on the DEVKIT-MPC5744P are arranged to fulfill Arduino™ shields compatibility .
DEVKIT-MPC5744P Board : Jumper Settings There is only one jumper: J13 It is to select Power source: 1-2: External 12 V Supply 2-3: Default USB powered 5V Supply, through OpenSDA interface 3 1 J13 9 EXTERNAL USE Note: For high power/current consuming applications (like using external shield boards) use “External 12 V Supply” only
DEVKIT-MPC5744P Board : Communication Interfaces CAN_0 DESCRIPTION NAME PIN Port PB0 & PB1 CANH P5-01 CANL P5-02 NC P5-03 GND P5-04 LIN_0 DESCRIPTION NAME PIN GND P6-01 GND P6-02 Connect to 12V VSUP P6-03 Port PB2 & PB3 LIN P6-04 10 EXTERNAL USE CAN FlexRay LIN FlexRay_A DESCRIPTION NAME FRA-DATA-A FRA-DATA-B FlexRay_A DESCRIPTION PORT PD0 FR_A_TX FR_A_TX_EN PC15 PD1 FR_A_RX PIN P4_1 P4_2
DEVKIT-MPC5744P Board : User Peripherals Reset Button Potentiometer User Switch 1 User LEDs 11 EXTERNAL USE User Switch 2 DESCRIPTION Potentiometer (ADC1_AN6) User Switch 1 User Switch 2 User LEDs Reset Button PIN RV1/POT SW1 SW2 D7 SW3 PORT PE12 PF12 PF13 PC11 PC12 PC13
DEVKIT-MPC5744P Board : Programing Interface JTAG DESCRIPTION Support for USB Multilink Interface PIN P2 JTAG OpenSDA JTAG OpenSDA MCU Boot Entry Button OpenSDA MCU 12 EXTERNAL USE OpenSDA micro USB OpenSDA Interface DESCRIPTION OpenSDA MCU Boot Entry SW4 OpenSDA micro USB: On-board JTAG connection via open source J12 OSBDM circuit using the MK20DX128VFM5 Microcontroller OpenSDA JTAG: JTAG to update firmware in J11 OpenSDA MCU PIN
Package Level Pinout Diagram – MPC5744P (144 LQFP) 13 EXTERNAL USE
DEVKIT-MPC5744P Board : Power Supply DEVKIT-MPC5744P supports power through OpenSDA (USB) and external 12V power supply. NXP does not directly sell 12V power supplies. You can obtain a power supply through a third-party. JTAG OpenSDA JTAG OpenSDA MCU Boot Entry Button Power supply specifications: Fully regulated Switching Power Supply Input Voltage 100-240V AC 50/60Hz Output 12V 1A/2A DC Plug size: 5.5mm x 2.
Software Development Tools • S32 Design Studio IDE for Power Architecture • IDE & Compilers − Free S32 Design Studio IDE with GCC compiler − GHS MULTI Integrated Development Environment − Cosmic IDE − iSystems winIDEA IDE − SourceryTM CodeBench Development Tools • Debuggers − Free OpenSDA debugger on board and supported by S32DS IDE − P&E USB Multilink − iSystems iC6000 − Lauterbach TRACE32 JTAG Debugger 15 EXTERNAL USE
Pre-Compiled Code Examples List of code examples: • Pre-compiled example projects are available in S32DS as well as on nxp.com/DEVKIT-MPC5744P for quick start 1. 2. 3. 4. 5. 6. 7. 8. • Example projects also includes the projects from Application Note, AN4830: Qorivva Recipes for MPC574xG, migrated to MPC5744P platform 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21.
Documentation and Reference Material • Documentation Links − MPC574xP Datasheet − MPC574xP Product Brief − MPC574xP Factsheet • Application Notes − MPC5744P Startup Self Test Control Unit (STCU) Overview − MPC574xP Hardware Design Guide − Migrating from MPC5743L to MPC5744P − MPC5744P Standard 144 LQFP EVB User Guide − MPC5744P Standard 257 BGA EVB User Guide − MPC5744P Clock Calculator Guide • Reference Manuals − MPC574xP Family Reference Manual − MPC574xP Family Safety Manual 17 EXTERNAL USE
MPC574xP Family – Phantom Feature Differences FEATURES MCU Flash* RAM EE PROM Packages MPC5744P 2.5MB 384K Emulate 144 LQFP/ 257 MAPBGA MPC5743P 2.0MB 256K Emulate 144 LQFP/ 257 MAPBGA MPC5742P 1.5MB 192K Emulate 144 LQFP/ 257 MAPBGA MPC5741P 1.
MPC574xP Family – Package Feature Set Comparison FEATURES MPC574xP Package FREQ FlexCAN ENET DSPI FlexPWM eTimer PIT ADC LinFlexD eDMA CTU Zipwire FlexRay GPI GPIO 144 LQFP 4.76 MHz to 200 MHz 3 No 3 2 1) 3 2) 1 4 x 12 bit x 16 ch 3) 2 32 ch 2 4) No 1 26 79 257 MAPMGA 4.76 MHz to 200 MHz 3 Yes 4 2 3 1 4 x 12 bit x16 ch 3) 2 32 ch 2 Yes 1 29 112 1) FlexPWM1 has available only A[0-2] and B[0-2] external signals.
OpenSDA • • • • 1 of 2 OpenSDA is an open-standard serial and debug adapter It bridges serial and debug communications between a USB host and an embedded target processor 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 Load an OpenSDA Application 1. Unplug the OpenSDA USB cable if attached 1. 2.
OpenSDA 2 of 2 Using the Virtual Serial Port 1. Determine the symbolic name assigned to the DEVKIT-MPC5744P virtual serial port. On Windows platform open Device Manager and look for the COM port named “OpenSDA-CDC Serial Port”. 2. Open the serial terminal emulation program of your choice. Examples for Windows platform include Tera Term, PuTTY, or HyperTerminal. 3. Program one of the “code examples” using S32 Design Studio IDE. 4. Configure the terminal emulation program.
Recommendations • • For faster debugging, debug from RAM, because this cuts down the lengthy Flash erase operation cycles. Follow the Software Integration Guide (SWIG) for details. By default “New Project” in S32 Design Studio IDE makes application to run at 16 MHz Internal RC (IRC) oscillator. For faster performance, configure PLL to desired frequency and switch clock source to PLL before executing application code.