Freescale Semiconductor MPC5604P User Manual

Controller board

Advertisement

Quick Links

Freescale
User's Guide
MPC5604P Controller Board
User's Guide
by: Petr Konvicny
Automotive and Industrial Solutions Group
1

About This Book

This document describes the design of MPC5604P
Controller Board, which is targeted for rapid
development of motor control applications.
To locate any published updates for this document, refer
to the world-wide web at: http://www.freescale.com/.
2

Introduction

Freescale MPC5604P Controller Board is a controller
board integrated to Freescale embedded motion-control
series of development tools. It is supplied with universal
interface interconnecting with, among others, one of the
embedded motion-power stages or evaluation boards,
providing a ready-made software-development platform
for a various electrical motors, DC converters.
The MPC5604P Controller Board is an
evaluation-module type of board which includes an
MPC5604P device, a various position sensing interfaces,
© Freescale, Inc., 2012. All rights reserved.
Document Number: MPC5604PUG
Contents
1
About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2.1
Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2
MPC5604P Controller Board Architecture . . . . . . . . . . . . . . . 3
2.3
Board Jumper Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.4
Board LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3
Interface Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1
Power Supply J100 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2
UNI3 Interface J300 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.3
MC33937A Interface J302 . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4
Resolver Connector J207 . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.5
Encoder/Hall Connector J500 and J501 . . . . . . . . . . . . . . . 12
3.6
LIN Connector J101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7
CAN Connector J103 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.8
USB Connector J311 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.9
Header J10 and J15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.10
Header J4, J7, and J9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.11
Header J3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4
Design Consideration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.1
MPC5604P Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2
Clock Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.3
4.4
Encoder/Hall Sensor Interface . . . . . . . . . . . . . . . . . . . . . . . 22
4.5
Resolver and SinCos Sensor Interface . . . . . . . . . . . . . . . . 23
4.6
Analog Signal Sensing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.7
Power Supplies and Voltage Reference . . . . . . . . . . . . . . . 26
4.8
4.9
UNI-3 Brake Signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.10
CAN Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.11
FlexRAY Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6
Board Set-Up Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7
MPC5604P Controller Board Schematics . . . . . . . . . . . . . . . . . . . 29
8
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Rev. 0, 07/2012

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPC5604P and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Freescale Semiconductor MPC5604P

  • Page 1: Table Of Contents

    Design Consideration ........19 MPC5604P Features ......19 series of development tools.
  • Page 2: Features

    The MPC5604P Controller Board facilitates the evaluation of various features present in the MPC5604P. It can be used to develop real-time software and hardware products based on MPC5604P in TQFP144 package. It provides the features necessary for the user to write and debug software, demonstrate the functionality of that software, and to interface with the customer’s application specific device(s).
  • Page 3: Mpc5604P Controller Board Architecture

    Introduction MPC5604P Controller Board Architecture The MPC5604P Controller Board is flexible enough to allow the user to fully exploit the MPC5604P features to optimize a performance of their product. Its basic building blocks are depicted in Figure 1. The block color differentiates a block function.
  • Page 4: Board Jumper Configuration

    Introduction For the on-board block location, see Figure Figure 2. MPC5604P Controller Board Block Location Board Jumper Configuration Table 1 Figure 3 for proper jumper configuration. Table 1. MPC5604P Controller Board Jumper Options Selector Function Connections JP1, JP2 Terminate CAN bus node.
  • Page 5 Introduction Table 1. MPC5604P Controller Board Jumper Options Selector Function Connections J204 Resolver COS input Positive input for COS OPAM is DC offset voltage set up by trimmer R209. Positive input for COS OPAM is REFCOS input of resolver. J205...
  • Page 6 Introduction Table 1. MPC5604P Controller Board Jumper Options Selector Function Connections J503 Encoder 0 Home Encoder0 JP500 pin six closed HOME input signal is connected to GPIO A[3]. DC BUS Voltage DC BSUS Voltage signal R315 populated from UNI-3 is connected to GPIO B[13], ADC 1 input zero.
  • Page 7: Board Leds

    Introduction Table 1. MPC5604P Controller Board Jumper Options Selector Function Connections BRAKE UNI-3 Brake output signal is R333 populated connected to GPIO C[3]. UNI-3 PFC output signal is R334 populated connected to GPIO G[6] (PWMA3). PFC_EN UNI-3 PFC Enable signal is...
  • Page 8: Interface Description

    The following chapters summarize the on-board connectors and headers pin-outs, signal meanings and MCU pins assignments. Power Supply J100 The MPC5604P Controller Board can be supplied either by using the 2.1 mm DC power plug J100 or the UNI-3 connector (J300, pin 19). MPC5604P Controller Board User’s Guide, Rev. 0...
  • Page 9: Uni3 Interface J300

    The board is designed to operate in the voltage range from 8V to 18V. The board is protected against a reverse battery. UNI3 Interface J300 The UNI-3 interface (connector J300) defines the interface between the MPC5604P Controller Board and a 3 phase electrical motor power stages. The list of UNI-3 signals follows: •...
  • Page 10: Interface Pin Signal Name

    Power factor correction Digital output enable PFCZC PWM_X3 Power factor correction Digital input Zero-cross D[9] or A[0] Phase A Back-EMF Digital input zero crossing D[12] or A[1] Phase B Back-EMF Digital input zero crossing MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 11: Mc33937A Interface J302

    Resolver Connector J207 The controller board is able to calculate motor rotor position from resolver or SIN/COS sensor. They are connected to the board through connectors J207, Table 5 shows pin description. MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 12: Encoder/Hall Connector J500 And J501

    B or Hall 1 input ENC2_PhaseB / signal HALL1 ENC1_INDEX / A[2] Digital input signals Digital input HALL2 F[12] INDEX or Hall 2 input ENC2_INDEX / signal HALL2 ENC1_HOME A[3] Digital input signals Digital input HOME MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 13: Lin Connector J101

    The MC33905 LIN transceiver is used as an on-board LIN hardware interface. The LIN node can be configured to either the Master or Slave mode, see Table Table 9 shows the LIN connector pin-out and pin assignment to the MCU. MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 14: Can Connector J103

    Interface Pin Signal Name MCU Signal Description Direction CANH CAN0_RXD / CAN bus H Differential bidirectional CAN0_TXD CANL CAN0_RXD / CAN bus L Differential bidirectional CAN0_TXD — Ground — — Not connected — MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 15: Usb Connector J311

    Motor 1 - Phase A bottom Digital output switch control PWMA1 D[13] Motor 1 - Phase B top Digital output switch control PWMB1 D[14] Motor 1 - Phase B bottom Digital output switch control MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 16: Header J4, J7, And J9

    0 input ADC0_AN1 B[8] ADC module 0 channel Analog input 1 input ADC0_AN2 C[1] ADC module 0 channel Analog input 2 input ADC0_AN3 C[2] ADC module 0 channel Analog input 3 input MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 17 6 input ADC1_AN7 E[9] ADC module 1 Analog input channel 7 input ADC1_AN8 E[10] ADC module 1 Analog input channel 8 input ADC1_AN9 E[11] ADC module 1 Analog input channel 9 input MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 18: Header J3

    SPI3_SCK E[13] Digital input/output Digital I/O SPI3_SOUT E[14] Digital input/output Digital I/O SPI3_SIN E[15] Digital input/output Digital I/O SPI3_CS0 F[3] Digital input/output Digital I/O — Ground — +3.3Vdc — +3.3V voltage — MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 19: Design Consideration

    The used core is the Harvard-bus interface version of the e200z0. The MPC5604P has a single level of memory hierarchy consisting of 40 KB on-chip SRAM, 512+64 KB of on-chip Flash memory. Both SRAM and Flash memory can hold instruction and data.
  • Page 20: Clock Source

    (120MHz) for internal Motor control, SWG, and communication modules. The MPC5604P can also use internal 16 MHz RC oscillator as clock source, in this mode FlexRAY protocol clock does not support IRCOSC as a clock source.
  • Page 21: Uni3 Interfaces And External Fault Management

    Analog or digital signals from the power stage M1 can be processed by hardware to maintain fault management. The MPC5604P has four fault inputs and switch off PWM output signals in module. The FAULT0 signal can be set up as under- or over-voltage. Whether the output signals from Phase A or DCBUS over-current comparator can be asserted to the input FAULT1, depends on jumper position J301.
  • Page 22: Encoder/Hall Sensor Interface

    Hall sensors outputs, see Figure 7. A single pole RC low pass filter is present to reduce a signal noise. MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 23: Resolver And Sincos Sensor Interface

    RES_GEN and GNDP) is set up by trimmer R221. The resolver excitation signal for resolver circuitry can be selected by J2, the source signals are outputs from eTimer0.channel4 and eTimer0.channel5. For detailed J207 connector signal description, see Table MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 24 Vsin=K*sin()*sin(t) and Vsin=K*cos()*sin(t), where K is the transformation ratio,  is the shaft rotation from reference zero-degree position, and  =2f carrier frequency. MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 25 These outputs are modified by a differential amplifiers and fed to an analog-to-digital converter. The rotor angle  can be extracted from these voltages using a digital approach. For detailed description, see application note AN1942. MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 26: Analog Signal Sensing

    Power Supplies and Voltage Reference The MPC5604P Controller Board can be supplied from three main power supply inputs. The first one uses a 2.1 mm coaxial power jack and other one uses UNI-3 connector. Which one is more suitable depends on MPC5604P Controller Board User’s Guide, Rev.
  • Page 27: Uni-3 Pfc-Pwm Signal (Power Factor Correction)

    CAN 2.0B protocol specification, which supports both standard and extended message frames. A number of Message Buffers (32) is also supported. Please refer to MPC5604P reference manual for detailed description. Freescale system basis chip MC33905S with one CAN and one LIN interface is used as the hardware interface for FlexCAN module.
  • Page 28: Electrical Characteristics

    J100. In the case of board operation with the power stage is strongly recommended to supply the board using the UNI-3 interface. The MPC5604P Controller Board is designed for operation with the Freescale MC33937A based 3-Phase low voltage power stage, see Figure 13 Development Kit can be ordered at.
  • Page 29: Mpc5604P Controller Board Schematics

    MPC5604P Controller Board Schematics MPC5604P Controller Board Schematics MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 30: References

    ICAP Classification: FCP: FCP: FCP: FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: Drawing Title: Drawing Title: Drawing Title: MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board Page Title: Page Title: Page Title: REVISIONS REVISIONS REVISIONS Size Size Size Document Number...
  • Page 31 FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: 33905_/CS Drawing Title: Drawing Title: Drawing Title: 33905_/INT /RST MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board 33905_/RST Page Title: Page Title: Page Title: LIN_TX Hierarchical view Hierarchical view Hierarchical view LIN_RX CAN_TX_PHY...
  • Page 32 Vref PWM_X0 INDEX0 Drawing Title: Drawing Title: Drawing Title: VREF Vref PWM_X0 PWM_X0 INDEX0 INDEX0 PWM_X1 HOME0 MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board PWM_X1 PWM_X1 HOME0 HOME0 PWM_X2 PWM_X2 PWM_X2 PWM_X3 PHASEA1 Page Title: Page Title: Page Title:...
  • Page 33 FCP: FCP: FCP: FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: Drawing Title: Drawing Title: Drawing Title: MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board 2200PF 2200PF Page Title: Page Title: Page Title: ADC FILTERS ADC FILTERS ADC FILTERS GNDA GNDA...
  • Page 34 FCP: FCP: FCP: FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: Drawing Title: Drawing Title: Drawing Title: MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board +5Vdc +5Vdc Page Title: Page Title: Page Title: FlexRay Interface FlexRay Interface FlexRay Interface Size Size...
  • Page 35 MPC5604P LM393 HDR 1X1 HDR 1X1 HDR 1X1 HDR 1X1 Drawing Title: Drawing Title: Drawing Title: CANL CANH MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board GNDA Page Title: Page Title: Page Title: GNDP C131 C135 0.1 UF 0.1 UF...
  • Page 36 ICAP Classification: FCP: FCP: FCP: FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: Drawing Title: Drawing Title: Drawing Title: MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board +5Vdc +5Vdc Page Title: Page Title: Page Title: ENCODERS ENCODERS ENCODERS Size Size Size...
  • Page 37 FIUO: FIUO: PUBI: PUBI: PUBI: TCA0372DWG R224 Drawing Title: Drawing Title: Drawing Title: +3.3VA C225 +3.3VA +3.3VA MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board 22UF +12V R225 R226 C224 GNDP 10.0K 10.0K Page Title: Page Title: Page Title: 0.1UF...
  • Page 38 PUBI: PUBI: Drawing Title: Drawing Title: Drawing Title: Either R320, R324 & R326 or R318, R322 & R325 are MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board used, depending on the required functionality Page Title: Page Title: Page Title:...
  • Page 39: Jtag Interface

    FCP: FCP: FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: JCOMP Drawing Title: Drawing Title: Drawing Title: HDR 2X3 MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board HDR_2X7 Page Title: Page Title: Page Title: 4.7UF 0.01UF 0.1 UF MCU_3.3V MCU_3.3V HEADERS...
  • Page 40 ICAP Classification: FCP: FCP: FCP: FIUO: FIUO: FIUO: PUBI: PUBI: PUBI: Drawing Title: Drawing Title: Drawing Title: MPC5604P Controller Board MPC5604P Controller Board MPC5604P Controller Board HSMG-C170 C144 C146 0.1 UF C145 0.1 UF GPIOA13 +3.3Vdc Page Title: Page Title: Page Title: 0.1 UF...
  • Page 41 References References The MPC5604P documentation is available at the web site, http://www.freescale.com. as follows: • Reference manuals — MPC5604P modules in detail • Data sheets — information mainly on the device’s AC, DC, thermal characteristics and packages pin-out • Product briefs — device overview •...
  • Page 42 THIS PAGE IS INTENTIONALLY BLANK MPC5604P Controller Board User’s Guide, Rev. 0 Freescale...
  • Page 43 © Freescale, Inc. 2012. All rights reserved. Exchange Building 23F No. 118 Jianguo Road Chaoyang District Beijing 100022 China +86 10 5879 8000 support.asia@freescale.com For Literature Requests Only: Freescale Semiconductor Literature Distribution Center 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com Document Number: MPC5604PUG Rev. 0 07/2012...

Table of Contents