by: Petr Konvicny
Automotive and Industrial Solutions Group
1About 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/.
2Introduction
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,
communications options, digital and analog power supplies, and peripheral expansion connectors. The
expansion connectors are intended for signal monitoring and user expandability. Test pads are provided for
monitoring critical signals and voltage levels.
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). The
MPC5604P Controller Board is flexible enough to allow the users to fully exploit the MPC5604P features
to optimize the performance of their product, as shown in Figure 1.
2.1Features
The MPC5604P Controller Board facilitates the evaluation of various features present in the MPC5604P.
Following are the board features:
•MPC5604P microcontroller, TQFP144 package
•JTAG/NEXUS interfaces for MCU code download and debugging
•System-basis chip MCZ33905D
•Motor control interface:
— UNI-3
— MC33937A predriver
— Resolver
— two Encoder/Hall sensors
•Connectivity interface:
—LIN
—CAN
—FlexRay
— USB interface
•LEDs:
— Power-supply indicators
— PWM control signals
— Faults monitoring
— SBC safe mode
— User application
•Two push buttons and switch for application control
•MCU pins accessible via pin headers
•Power plug 2.1mm connector.
MPC5604P Controller Board User’s Guide, Rev. 0
Freescale2
Introduction
2.2MPC5604P 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.
•Blue - MCU and application software download and the debug interface
•Green - Motor control related hardware
•Red - Board power supply and connectivity
•Violet - Application control
Figure 1. MPC5604P Controller Board Block Diagram
The board can be supplied by VBAT voltage in the range of 8V to 18V. The MC33905 provides two
independent voltage sources, one for supplying MCU and second for auxiliary logic. Both sources
provides either 3.3V or 5V, depending on the assembled SBC version.
The UNI-3 expansion interface enables MCU to direct control of the electrical motor or DC/DC
converters.
The Fault logic triggers several important system faults as described in a particular chapter. The circuitry
behavior depends on the selected configuration. For more info, see Section 3, “Interface Description.
The user can control the application using the rotary switch, USB interface (RS232), CAN and LIN buses.
The JTAG/NEXUS interfaces is present on-board to enable download and debugging of MCU code.
See Table 1 and Figure 3 for proper jumper configuration.
Table 1. MPC5604P Controller Board Jumper Options
#SelectorFunctionConnections
JP1, JP2CANTerminate CAN bus node.closed
JP104MC33905
debug mode
JP105MC33905
save mode
JP200Resolver EnableResolver reference input
J203Resolver REFSIN inputPositive input for SIN OPAM
Enter SBC driver MC33905
to debug mode.
Enter SBC driver MC33905
to safe mode.
signal from MCU disabled.
Resolver reference input
signal from MCU enabled
is DC offset voltage set up by
trimmer R209.
Positive input for SIN OPAM
is REFSIN input of resolver.
closed
closed
open
closed
1-2
2-3
MPC5604P Controller Board User’s Guide, Rev. 0
Freescale4
Table 1. MPC5604P Controller Board Jumper Options
#SelectorFunctionConnections
Introduction
J204Resolver COS inputPositive input for COS
OPAM is DC offset voltage
set up by trimmer R209.
Positive input for COS
OPAM is REFCOS input of
resolver.
J205Phase A
digital signal
Resolver Phase A signal is
connected to GPIO F[13].
SIN/COS Phase A signal is
connected to GPIO F[13].
J206Phase B
digital signal
Resolver Phase A signal is
connected to GPIO A[5].
SIN/COS Phase A signal is
connected to GPIO A[5].
J2Resolver
input signal
Resolver reference signal is
generated by GPIO C[11].
Resolver reference signal is
generated by GPIO C[12].
J301FAULT1 selectionUNI-3 Phase A over-current
signal is connected to
FAULT1 input G[9].
UNI-3 DC-bus over-current
signal is connected to
FAULT1 input G[9].
J312BOOT selectionMPC5604P boot from
internal Flash.
J500Encoder 0 Phase AEncoder0 JP500 pin three
PHASE A input signal is
connected to GPIO A[0].
UNI-3 BEMFZCA input
signal is connected to GPIO
A[0].
J501Encoder 0 Phase BEncoder0 JP500 pin four
PHASE B input signal is
connected to GPIO A[1].
UNI-3 BEMFZCB input
signal is connected to GPIO
A[1].
J502Encoder 0 IndexEncoder0 JP500 pin five
INDEX input signal is
connected to GPIO A[2].
UNI-3 BEMFZCC input
signal is connected to GPIO
A[2].
1-2
2-3
1-2
2-3
1-2
2-3
2-3
1-2
1-2
2-3
closed
1-2
2-3
1-2
2-3
1-2
2-3
MPC5604P Controller Board User’s Guide, Rev. 0
Freescale 5
Introduction
Table 1. MPC5604P Controller Board Jumper Options
#SelectorFunctionConnections
J503Encoder 0 HomeEncoder0 JP500 pin six
HOME input signal is
connected to GPIO A[3].
DC BUS VoltageDC BSUS Voltage signal
from UNI-3 is connected to
GPIO B[13], ADC 1 input
zero.
DC BUS CurrentDC BUS Current signal from
UNI-3 is connected to GPIO
B[15], ADC 1 input two.
Analog input 11UNI-3 Phase A current is
connected to GPIO B[9],
ADC 0/1 input 11.
UNI-3 Phase A Back-EMF
Voltage is connected to
GPIO B[9]m ADC 0/1 input
11.
Analog input 12UNI-3 Phase B current is
connected to GPIO B[10],
ADC 0/1 input 12
UNI-3 Phase B Back-EMF
Voltage is connected to
GPIO B[10]m ADC 0/1 input
12.
Analog input 13UNI-3 Phase C current is
connected to GPIO B[11],
ADC 0/1 input 13.
UNI-3 Phase C Back-EMF
Voltage is connected to
GPIO B[11]m ADC 0/1 input
13.
closed
R315 populated
R316 populated
R318 populated
R320 populated
R322 populated
R324 populated
R325 populated
R326 populated
TEMPUNI-3 Temperature signal is
SERIALUNI-3 Serial signal is
MPC5604P Controller Board User’s Guide, Rev. 0
R328 populated
connected to ADC0 input
zero.
R330 populated
connected to GPIO D[5].
Freescale6
Table 1. MPC5604P Controller Board Jumper Options
#SelectorFunctionConnections
Introduction
BRAKEUNI-3 Brake output signal is
connected to GPIO C[3].
PFCUNI-3 PFC output signal is
connected to GPIO G[6]
(PWMA3).
PFC_ENUNI-3 PFC Enable signal is
connected to GPIO G[7]
(PWMB3).
PFC_ZCUNI-3 PFC zero current
signal is connected to GPIO
G[5] (PWMX3).
R333 populated
R334 populated
R335 populated
R336 populated
Figure 3. MPC5604P Controller Board Jumper Position
2.4Board LEDs
The Table 2displays the on-board LEDs. For on-board LED locations, see Figure 2.
MPC5604P Controller Board User’s Guide, Rev. 0
Freescale 7
Interface Description
Table 2. On-board LEDs
LEDSignal NameDescription
D114/SAFEMCZ33905 safe pin state
(ON - SBC in safe mode)
D14+3.3Vdc+ 3.3V AUX power supply
D1PWM0 A0Motor 1 Phase A bottom
switch signal
D2PWM0 B0Motor 1 Phase B bottom
switch signal
D3PWM0 A1Motor 1 Phase C bottom
switch signal
D4PWM0 B1Motor 1 Phase C top switch
signal
D5PWM0 A2Motor 1 Phase B top switch
signal
D6PWM0 B2Motor 1 Phase A top switch
signal
D7FAULTB0Motor 1 FAULTB0 signal
D8FAULTB1Motor 1 FAULTB1 signal
D9FAULTB2Motor 1 FAULTB2 signal
D10FAULTB3Motor 1 FAULTB3 signal
D11A12User LED 1
D12PHASEA0Encoder 1 input A signal
D15PHASEB0Encoder 1 input B signal
D17INDEX0Encoder 1 input INDEX
signal
D13PWM0 A3PWM module 0, A3 output
D16PWM0 B3PWM module 0, B3 output
D18A13User LED 1
3Interface Description
The following chapters summarize the on-board connectors and headers pin-outs, signal meanings and
MCU pins assignments.
3.1Power 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
Freescale8
Interface Description
The controller board is powered from two independent voltage regulators which provides 5V for a
auxiliary logic and 5V for MCU and debugger logic. Both voltages are generated by the MC33905 SBC
integrated circuit. Proper operation is monitored by LED D114 for the AUX 3.3V line, see Table 2.
The board is designed to operate in the voltage range from 8V to 18V. The board is protected against a
reverse battery.
3.2UNI3 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:
•Control signals:
— PWM phase A, B, C top and bottom switches control
— Brake signal control
— Power Factor Correction (PFC)
•Monitor signals
— DC-bus voltage
— DC-bus current
— Phase A, B, C current
— Zero-cross signals
— Back-EMF phase A, B, C
— Temperature monitoring
•Power Supply 12V
•Serial line - a bidirectional communication line between the Controller Board and Power Stage
The Table 3defines the UNI-3 pin-out and pin assignment to the MCU.
When using a Freescale 3-phase power stages, the electrical inverter switches are controlled by the
MC33937A pre-driver. The device behavior is configured by this interface, see Table 4.
MC33937 SPI port.
Clocked on the falling
edge of SCLK, MSB
first.
Digital output
Digital input
Digital output
Digital output
Digital output
3.4Resolver 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, Tab le 5 shows pin description.
reference signal for
resolver
Signal output range
from 0 V up to +12 V
2GNDPGround for reference
signal
3SINSIN input signalDifferential analog input
4REFSINSIN reference input
signal
5COSCOS input signalDifferential analog input
6REFCOSCOS reference input
signal
7GNDAAnalog ground—
8+5VA+5V Analog Power
supply
Output
—
Differential analog input
Differential analog input
—
3.5Encoder/Hall Connector J500 and J501
The motor rotor position can be transformed from encoder or Hall rotor position sensor. They can be
connected to the board through connector J500 and J501. For proper signal connection, see Table 6.
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 Tab le 1.
A Table 9 shows the LIN connector pin-out and pin assignment to the MCU.
MPC5604P Controller Board User’s Guide, Rev. 0
Freescale 13
Digital I/O
output/input
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.