background image

Quick Start Guide for TWRPI-MMA845xQ

Quick Start Guide

8

Application Control 

GPIOA13 is switched ON at the 
beginning of the calculation step 
and switched OFF at the end. 

Period of calculation is 100 µs so the LED 
D18 on the Qorivva MPC5604P controller 
board shall be flashing (with period of 10 
kHz) if the application runs correctly. 

Functionality of GPIO12 (LED 
D11 on the Qorivva MPC5604P 
controller board) is as follows:

• 

OFF if the application is in READY,  
INIT states

• 

ON if the application is in RUN, CALIB, 
ALIGN states

• 

Flashing if the application is in FAULT 
state (flashing with period 1–2 Hz, 
clearly visible by naked eye)

If no actual faults are present in 
the system, all LED-like indicators 
on the FreeMASTER control 

page shall be dark red. If there is a 
fault present, identify source of the fault 
and remove it. Successful removal is 
signalized by switching off the respective 
LED-like indicator on the FreeMASTER 
control page.

Fault condition is also signalized 
by blinking LED diode D11 on 
the Qorivva MPC5604P controller 

board. Press UP + DOWN buttons 
(SW2/SW3 on the Qorivva MPC5604P 
controller board) simultaneously to clear 
fault status register once in a FAULT 
state. Application can be restarted by 
positioning RUN/STOP switch (SW4 on 
MPC5604P controller board) to RUN 
position (transition from STOP to RUN in 
case the switch was in RUN state when 
fault event occurred).

1

2

3

4

Summary of Contents for MTRCKTSPS5604P

Page 1: ...3 Phase PMSM Motor Control Development Kit with Qorivva MPC5604P MCU Quick Start Guide...

Page 2: ...Quick Start Guide 2 3 Phase PMSM Motor Control Development Kit with Qorivva MPC5604P MCU 3 Phase PMSM Motor 3 Phase Low Voltage Power Stage Qorivva MPC5604P Controller Board...

Page 3: ...Nm TGN2 0054 30 36 USB cable 24 VDC power supply Resources PMSM development kit application source code Automotive math and motor control library set for MPC5604P installation package FreeMASTER inst...

Page 4: ...Quick Start Guide 4 3 Phase Low Voltage Power Stage Motor Connector UNI 3 Interface MC33937A Interface MC33937A Overcurrent Threshold Setup Brake Resistor Power Supply Connector Power Supply Terminal...

Page 5: ...all 2 Connector Encoder Hall 1 Connector Resolver Connector JTAG Interface Nexus Interface Power Supply Connector Buttons Switch MC33905 SBC LEDs CAN Connectors FlexRay Connectors USB Connector LIN He...

Page 6: ...download please visit freescale com freemaster Install the CP210x virtual COM port driver For the CP210x virtual COM port driver installation file please visit freescale com automcdevkits Downloads se...

Page 7: ...ication software before proceeding to step 4 Start the FreeMASTER project MPC5604P_PMSM pmp located in the MTRCKTSPS5604P SW MPC5604P_PMSM project directory In FreeMASTER Project Options choose the RS...

Page 8: ...Hz clearly visible by naked eye If no actual faults are present in the system all LED like indicators on the FreeMASTER control page shall be dark red If there is a fault present identify source of t...

Page 9: ...tion transition from STOP to RUN in case the switch was in RUN state when fault event occurred Enter required speed by assigning this value to Nreq variable in variables watch window Value is in revol...

Page 10: ...s DC offset voltage set up by trimmer R209 1 2 Positive input for COS OPAM is REFCOS input of resolver J205 Phase A Digital Signal Resolver Phase A signal is connected to GPIO F 13 2 3 SIN COS Phase A...

Page 11: ...ack EMF Voltage is connected to GPIO B 9 m ADC 0 1 input 11 R320 populated Analog Input 12 UNI 3 Phase B current is connected to GPIO B 10 ADC 0 1 input 12 R322 populated UNI 3 Phase B Back EMF Voltag...

Page 12: ...Off All other product or service names are the property of their respective owners 2012 2013 Freescale Semiconductor Inc Doc Number MTRCKTSPS5604PQSG REV 1 Agile Number 926 78746 Rev B Quick Start Gui...

Reviews: