background image

KTFRDM17C724UG, Rev. 1.0

12

Freescale Semiconductor, Inc.

Installing the Software and Setting up the Hardware

5.2 Configuring the Hardware

Figure 4

 shows the configuration diagram for FRDM-17C724-EVB.

Figure 4. FRDM-17C724-EVB plus FRDM-KL25Z Board Setup

5.2.1

Step-by-step Instructions for Setting Up the Hardware Using Motor 
Control GUI

When using the FRDM-17C724-EVB make sure that the following operating parameters are followed or damage may occur.

The maximum motor supply voltage (VM) cannot exceed 5.5 V, and must be at least 3.3 V

The nominal operating current of the stepper motor cannot exceed 0.4 A (0.8 A peak)

In order to perform the demonstration example, first set up the evaluation board hardware and software as follows:

1.  Setup the FRDM-KL25Z to accept code from the mbed online compiler. mbed is a developer site for ARM based 

microcontrollers. The instructions are at 

mbed.org

 (https://mbed.org/handbook/mbed-FRDM-KL25Z-Upgrade) (you will need 

to switch to the other USB port on the FRDM-KL25Z, and back after you load the project). 

2.  Go to the Freescale page on mbed.org and look for the repository named "LVHB DC Motor Drive". 

(http://developer.mbed.org/teams/Freescale/code/LVHB-Stepper-Motor-Drive/) Save the compiled code on your local drive, 
and then drag and drop it onto the mbed drive (which is the FRDM-KL25Z). Move the USB connector back to the other USB 
port on the FRDM-KL25Z. 

Note: You may be asked to create a user before you can download the code.

3.  Connect the FRDM-17C724-EVB to the FRDM-KL25Z. This is best accomplished by soldering the female connectors to the 

FRDM-KL25Z, and then connecting to the male pins provided on the FRDM-17C724-EVB.

4.  Ready the computer, install the "Stepper Motor Driver GUI Software" (See 

Section 5.1

).

5.  Attach DC power supply (without turning on the power) to the VM and GND terminals.
6.  Attach one set of coils of the stepper motor to the OUT 1A and OUT 1B output terminals. Attach the other phase coil of the 

stepper motor to terminals OUT2A and OUT2B. Launch the "Stepper Motor Driver GUI Software".

7.  Make sure the GUI recognizes the FRDM-KL25Z. This is determined by seeing the hex Vendor ID (0x15A2), and Part ID 

(0x138) under USB connection in the upper left hand corner of the GUI. If the GUI does not recognize the FRDM-KL25Z, you 
need to disconnect and reconnect the USB cable to the FRDM-KL25Z.

8.  Turn on the DC power supply.

Computer 

USB Cable 

FRDM-KL25Z 

Use this USB Port 

Stepper Motor 

FRDM-17C724-EVB 

Mounted on Top 

DC Power Supply 

Summary of Contents for FRDM-17C724-EVB

Page 1: ...Freescale Semiconductor Inc 2014 All rights reserved Freescale Semiconductor User s Guide Document Number KTFRDM17C724UG Rev 1 0 11 2014 FRDM 17C724 EVB Evaluation Board Figure 1 FRDM 17C724 EVB...

Page 2: ...r Inc Table of Contents 1 Important Notice 3 2 Getting Started 4 3 Getting to Know the Hardware 5 5 Installing the Software and Setting up the Hardware 11 6 Schematic 14 7 Silkscreen 15 8 Bill of Mate...

Page 3: ...reserves the right to make changes without further notice to any products herein Freescale makes no warranty representation or guarantee regarding the suitability of its products for any particular p...

Page 4: ...ur kit Review your Tool Summary Page Look for Download documents software and other information Once the files are downloaded review the user guide JumpStart The user guide includes setup instructions...

Page 5: ...KL25Z board features are as follows MKL25Z128VLK4 MCU 48 MHz 128 KB Flash 16 KB SRAM USB OTG FS 80LQFP Capacitive touch slider MMA8451Q accelerometer tri color LED Flexible power supply options USB co...

Page 6: ...put 1A Connect motor phase 1 lead to this terminal OUT1B Output 1B Connect motor phase 1 lead to this terminal OUT2A Output 2A Connect motor phase 2 lead to this terminal OUT2B Output 2B Connect motor...

Page 7: ...he LED to operate Table 4 Test Point Definitions TP Signal Name Description TP1 GND Ground TP2 OUT2A H Bridge 2 Output A TP3 OUT2B H Bridge 2 Output B TP4 OUT1A H Bridge 1 Output A TP5 IN1A H Bridge 1...

Page 8: ...xtreme care to make sure the maximum current for the MPC17C724 is not exceeded 0 4 A continuous 0 8 A peak transients Table 6 Output Signal Definitions Name Description OUT1A Output A of H Bridge 1 OU...

Page 9: ...y inputs on the FRDM 17C724 EVB evaluation kit to operate the motor The FRDM 17C724 EVB is connected to the FRDM KL25Z using four dual row headers The connections are as follows Table 8 FRDM 17C724 EV...

Page 10: ...nnection J3 13 J2 13 N C PTE31 No connection J3 14 J2 14 N C GND No connection J3 15 J2 15 N C N C No connection J3 16 J2 16 N C VREFH No connection J3 17 J2 17 N C PTD6 No connection J3 18 J2 18 N C...

Page 11: ...l Summary Page Look for Jump Start Your Design Download to your computer desktop the Motor Control GUI software Run the install program from the desktop The Installation Wizard will guide you through...

Page 12: ...p developer mbed org teams Freescale code LVHB Stepper Motor Drive Save the compiled code on your local drive and then drag and drop it onto the mbed drive which is the FRDM KL25Z Move the USB connect...

Page 13: ...now ready to run 10 Click the Run button to run the motor Notice that some options of the GUI are disabled while the motor is running To make changes click the Stop button on the GUI make the desired...

Page 14: ...33K DNP J9 HDR_1X2 DNP 1 2 J5 SUB_TB_2x1 1 2 U1 MPC17C724 IN1A 1 IN1B 2 OUT1A 3 VM1 4 OUT2A 5 PGND2_1 6 PGND2_2 7 OUT2B 8 VM2 9 OUT1B 10 IN2B 11 IN2A 12 PSAVE 13 LGND 14 PGND1 15 VDD 16 EX_PAD 17 C4 1...

Page 15: ...KTFRDM17C724UG Rev 1 0 Freescale Semiconductor 15 Silkscreen 7 Silkscreen 7 1 Silkscreen Top...

Page 16: ...R3 10 k Metal Film 10 k 1 10 W 1 0805 12 1 R5 220 Metal Film 220 1 8 W 1 0805 13 1 R8 9 1 k Metal Film 9 1 k 1 10 W 1 0805 14 1 R9 15 k Metal Film 15 k 1 8 W 5 0805 Connectors 15 2 J1 J2 HDR 2X8 TH 10...

Page 17: ...com warranty for a list of phone numbers within your region Freescale com Support Pages Description URL FRDM 17C724 EVB Tool Summary Page http www freescale com webapp sps site prod_summary jsp code F...

Page 18: ...KTFRDM17C724UG Rev 1 0 18 Freescale Semiconductor Inc Revision History 10 Revision History Revision Date Description of Changes 1 0 11 2014 Initial Release...

Page 19: ...on consequential or incidental damages Typical parameters that may be provided in Freescale data sheets and or specifications can and do vary in different applications and actual performance may vary...

Reviews: