P&E Microcomputer Systems TRK-MPC5604P User Manual

Summary of TRK-MPC5604P

  • Page 2: Purchase Agreement

    Purchase agreement p&e microcomputer systems, inc. Reserves the right to make changes without further notice to any products herein to improve reliability, function, or design. P&e microcomputer systems, inc. Does not assume any liability arising out of the application or use of any product or circu...

  • Page 3

    Trk-mpc5604p evb user manual ii 1 introduction ............................................................................................ 1 1.1 overview ........................................................................................................ 1 1.2 package contents ....................

  • Page 4

    Iii trk-mpc5604p evb user manual 6.9 boot configuration ........................................................................................19 6.10 system power voltage select ......................................................................20 6.11 vdda enable..................................

  • Page 5: Introduction

    Trk-mpc5604p evb user manual 1 1 introduction 1.1 overview the trk-mpc5604p is a low-cost development system supporting freescale mpc5604p microcontrollers in 144lqfp packages. The embedded osjtag circuitry on the trk-mpc5604p board allows the processor on the board to be debugged and programmed via...

  • Page 6: Hardware Features

    2 trk-mpc5604p evb user manual 1.5 handling precautions please take care to handle the package contents in a manner such as to prevent electrostatic discharge. 2 hardware features the trk-mpc5604p is a demonstration and development system for freescale’s mpc5604p microcontrollers in 144lqfp packages...

  • Page 7

    Trk-mpc5604p evb user manual 3 • 3.3v from on-board ldo • 3.3v from motor control port • jumper to select bam source: • from internal memory • from can • from lin flex • reset push button and led indicator w/ enable • user features: • 4 user push buttons w/ enable and pull-up & pull-down options • 4...

  • Page 8

    4 trk-mpc5604p evb user manual figure 2-1: top component placement 2.2 on-board virtual usb port the trk-mpc5604p board has a built-in virtual serial port which may be connected to the mpc5604p processor’s sci rxd/txd. This allows certain pc applications to be able to connect in a serial fashion to ...

  • Page 9

    Trk-mpc5604p evb user manual 5 2.3 trk-mpc5604p jumper/connector quick reference default jumper settings the following is a list of default jumper settings for trk-mpc5604p board. The settings listed indicate the “on” (or installed) position. Default jumper settings jumper option settings descriptio...

  • Page 10

    6 trk-mpc5604p evb user manual j6 can signals to transceiver enable 1-2, 3-4 (default) enables txd and rxd signals to can transceiver j7 rs232 txd signal 1-2 (default) mcu txd to virtual serial port 2-3 mcu txd to rs232 transceiver j8 rs232 rxd signal 1-2 (default) mcu rxd to virtual serial port 2-3...

  • Page 11

    Trk-mpc5604p evb user manual 7 j14 lin rxd signal 1-2 (default) mcu lin0rx to transceiver 2-3 mcu lin1rx to transceiver j15 mcu vdd enable 1-2 (default) provides power to mcu; current measurement j16 vmot_en enable 1-2 (default) provides power to trk- mpc5604p from motor control port j17 fab 1-2 fab...

  • Page 12

    8 trk-mpc5604p evb user manual j21 vdda enable 1-2 (default) provides 5v power to vdda; current measurement 3-4 provides 3.3v power from on-board ldo to vdda; current measurement 5-6 provides 3.3v power from motor control port; current measurement j22 external crystal circuitry enable (default: all ...

  • Page 13

    Trk-mpc5604p evb user manual 9 j27 led signals enable (default: all on) 1-2 (default), 3-4 (default), 5-6 (default), 7-8 (default) connects mcu port d4, d5, d6, and d7 to leds correspondingly j28 dil switch signals enable (default: all on) 1-2 (default), 3-4 (default), 5-6 (default), 7-8 (default) c...

  • Page 14: System Setup

    10 trk-mpc5604p evb user manual 3 getting started with the trk-mpc5604p the trk-mpc5604p is a low-cost board targeting quick microcontroller evaluation. Please refer to the trk-mpc5604p quick start guide for instructions on how to install software, connect the trk-mpc5604p to your pc, and run quick ...

  • Page 15

    Trk-mpc5604p evb user manual 11 4.3 software setup 4.3.1 installing codewarrior development studio to install the codewarrior development studio, follow the instructions on the dvd-rom. 4.3.2 installing p&e resources use the trk-mpc5604p resources in the dvd-rom to access and install p&e resources f...

  • Page 16: Operating Modes

    12 trk-mpc5604p evb user manual and p&e’s usb to serial circuitry. Depending on the operating sys- tem, you may see the “found new hardware wizard” dialog to assist you with installation. Follow the onscreen windows instructions to install the osjtag driver (these instructions may vary slightly depe...

  • Page 17: Jumper Settings

    Trk-mpc5604p evb user manual 13 5.3 run mode the trk-mpc5604p’s rich component list empowers it to perform a variety of tasks. Once an application is developed, debugged, and programmed properly into the microcontroller’s internal flash memory, it can run with or without connecting to a host. 5.4 ex...

  • Page 18

    14 trk-mpc5604p evb user manual figure 6-2: system power (j1) 6.2 i/o pins the sbc mc33905 provides three i/o pins. Two of them are jumper (j3) selectable to two leds, which are further jumper (j2) selectable to pull-up or pull-down. 6.2.1 j2 - sbc i/o led pull up/down 1-2 pull up (default) 3-4 pull...

  • Page 19

    Trk-mpc5604p evb user manual 15 figure 6-4: sbc i/o signal (j3) 6.3 debug mode the sbc mc33905 has a dbg pin to put it into debug mode. Jumpers j4 and j5 are designed for this purpose. 6.3.1 j4 - sbc dbg short to gnd 1-2 short sbc dbg pin to gnd, bypass r21 and d11 (default: off) figure 6-5: sbc dbg...

  • Page 20

    16 trk-mpc5604p evb user manual 6.4.1 j6 – can signals to transceiver enable can_en enables txd and rxd signals to the can transceiver. By default, the jumpers are installed. Figure 6-7: can_en (j6) 6.5 virtual serial port the trk-mpc5604p board has a built-in virtual serial port which may be connec...

  • Page 21

    Trk-mpc5604p evb user manual 17 6.6.1 j9 - lin1 vbus enable 1-2 provides power to lin1 connector (default: off) figure 6-10: lin1 vbus enable (j9) 6.6.2 j10 - lin0 vbus enable 1-2 provides power to lin0 connector (default: off) figure 6-11: lin0 vbus enable (j10) 6.6.3 j11 - lin0 signals to connecto...

  • Page 22

    18 trk-mpc5604p evb user manual figure 6-13: lin1 signals to connector enable (j12) 6.6.5 j13 - lin txd signal 1-2 mcu lin0tx to transceiver (default) 2-3 mcu lin1tx to transceiver figure 6-14: lin txd signal (j13) 6.6.6 j14 - lin rxd signal 1-2 mcu lin0rx to transceiver (default) 2-3 mcu lin1rx to ...

  • Page 23

    Trk-mpc5604p evb user manual 19 figure 6-16: mcu vdd enable (j15) 6.8 vmot_en enable 6.8.1 j16 - vmot_en enable 1-2 provides power to trk-mpc5604p board from motor control port (default) figure 6-17: vmot_en enable (j16) 6.9 boot configuration 6.9.1 j17 - fab 1-2 fab uses serial boot mode 2-3 fab us...

  • Page 24

    20 trk-mpc5604p evb user manual 6.9.2 j18 - abs0 1-2 processor uses flexcan interface (if abs2 = 0) if configured for serial boot mode (j17) 2-3 processor uses linflex interface (if abs2 = 0) or autobaud scan (if abs2 = 1) if configured for serial boot mode (j17) figure 6-19: abs0 (j18) 6.9.3 j19 - ...

  • Page 25

    Trk-mpc5604p evb user manual 21 6.11 vdda enable 6.11.1 j21 - vdda enable 1-2 provides 5v power to vdda, current measurement (default) 3-4 provides 3.3v power from on-board ldo to vdda, current measurement 5-6 provides 3.3v power from motor control port, current measurement figure 6-22: vdda enable ...

  • Page 26

    22 trk-mpc5604p evb user manual figure 6-24: external oscillator via sma enable (j23) 6.13 push buttons the trk-mpc5604p board is designed with 4 jumper enabled push buttons with jumper selectable active high or low states. 6.13.1 j24 - push button active high or low (opposite of j25) 1-2 active low...

  • Page 27

    Trk-mpc5604p evb user manual 23 figure 6-27: push button signals enable (j26) 6.14 led display port the trk-mpc5604p has 4 leds connected to signals d4, d5, d6, and d7. They can be enabled or disabled by installing or removing the corresponding jumper, j27, in the led_enable header. 6.14.1 j27 - led...

  • Page 28

    24 trk-mpc5604p evb user manual figure 6-29: dil switch signals (j28) 6.15.2 j29 - dil switch active high or low 1-2 active low (default) 2-3 active high figure 6-30: dil switch active high or low (j29) 6.16 analog input enable 6.16.1 j30 - analog input enable 1-2 connects mcu pe0 to potentiometer (...

  • Page 29

    Trk-mpc5604p evb user manual 25 figure 6-32: photo sensor enable (j31) 6.18 reset sources the trk-mpc5604p board is designed with 3 reset sources: from sbc mc33905, from osjtag, and from the reset button. 6.18.1 j32 - sbc reset to mcu enable 1-2 enables sbc reset signal to trigger mcu reset (default...

  • Page 30

    26 trk-mpc5604p evb user manual figure 6-35: system reset enable (j34) 6.19 osjtag bootloader enable 6.19.1 j35 - osjtag bootloader enable 1-2 forces osjtag to start up in bootloader mode for firmware updates (default: off) figure 6-36: osjtag irq enable (j35) 6.20 sbc reset pull-up mode 6.20.1 j36 ...

  • Page 31

    Trk-mpc5604p evb user manual 27 a 40-pin 0.1" pitch connector with signals from the pwm, adc, and gpio peripheral ports. Table xxxxx below shows the daughter card connector's signal-to-pin assignments. Figure 7-38: motor control daughter card signal-to-pin assignments 8 trk-mpc5604p code development...

  • Page 32

    28 trk-mpc5604p evb user manual a programming or debug session with the project-based codewarrior ide may be launched by double-clicking on the project name (the format is projectname.Mcp) from your file storage. Its tutorials, faqs, and quick start guides are easy to follow and will allow you use p...

  • Page 33

    Trk-mpc5604p evb user manual 29 and production. The cyclone max features automated power switching, multiple communications interfaces (including usb, ethernet, and serial), stand-alone programming functionality, and many other advanced capabilities. Below is an overview of the features and intended...

  • Page 34

    30 trk-mpc5604p evb user manual 9.2 working with p&e’s multilink universal or usb qorivva multilink figure 9-1: multilink universal (left) & usb qorivva multilink (right) 9.2.1 product features & implementation p&e’s multilink universal and usb qorivva multilink each connect your target to your pc a...

  • Page 35

    Trk-mpc5604p evb user manual 31 9.3 working with p&e’s cyclone max figure 9-2: p&e’s cyclone max 9.3.1 product features & implementation p&e’s cyclone max is an extremely flexible tool designed for debugging, testing, and in-circuit flash programming of freescale’s coldfirev2/3/4, power architecture...

  • Page 36: Troubleshooting

    32 trk-mpc5604p evb user manual programming software, a windows ide, and a register file editor. 10 troubleshooting 10.1 trk-mpc5604p is undetected q: the connection assistant indicates that my trk-mpc5604p is undetected even though i have connected the hardware to my usb port. What should i do? A: ...

  • Page 38: Mouser Electronics

    Mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: freescale semiconductor : trk-mpc5604p.