Getting Started with the FRDM-HB2002ESEVM | NXP Semiconductors

Getting Started with the FRDM-HB2002ESEVM

Contents of this document

  • 1

    Out of the Box
  • 2

    Get Hardware
  • 3

    Configure Hardware
  • 4

    Get Software

1. Out of the Box

The NXP analog product development boards provide an easy-to-use platform for evaluating NXP products. The boards support a range of analog, mixed-signal and power solutions. They incorporate monolithic integrated circuits and system-in-package devices that use proven high-volume technology. NXP products offer longer battery life, a smaller form factor, reduced component counts, lower cost and improved performance in powering state-of-the-art systems.

This page will guide you through the process of setting up and using the FRDM- HB2002ESEVM evaluation board.

1.1 Kit Contents and Packing List

The FRDM-HB2002ESEVM contents include:

  • Assembled and tested FRDM-HB2002ESEVM in an anti-static bag
  • USB standard A (male) to mini-B (male) cable
  • Quick start guide

1.2 Additional Hardware

In addition to the kit contents, the following hardware is necessary or beneficial when working with this kit.

  • DC power supply: 5.0 V to 40 V with up to 20 A current handling capability, depending on motor requirements
  • 3/16-inch blade screwdriver for connecting the cables
  • Typical loads (brushed DC motor, power resistors or inductive load with up to 5.0 A and 28 V operation)
  • Function generator (optional)

1.3 Windows PC Workstation

This evaluation board requires a Windows PC workstation. Meeting these minimum specifications should produce great results when working with this evaluation board.

  • USB-enabled computer with Windows 7, Windows 8, or Windows 10

1.4 Software

Installing software is necessary to work with this evaluation board. All listed software is available on the evaluation board's information page at FRDM Kit for HB2002, Programmable Brushed DC Motor Control in QFN.

  • SPI Generator (SPIGen) software, version 7.1.8 or later, a Graphical User Interface (GUI)

2. Get Hardware

2.1 Board Features

  • Built-in reverse battery protection
  • Test points that allow signal probing
  • Built-in voltage regulator to supply logic level circuitry
  • Current feedback network for real-time load current monitoring by MCU ADC
  • LEDs to indicate the supply status and the direction of the motor
  • Low ESR capacitor to reduce ripple in the power supply
  • TVS protection diode to handle system level transients

2.2 Board Description

The FRDM-HB2002ESEVM evaluation kit exercises all the functions of the MC33HB2002 H-bridge device. Lab equipment or any MCU with GPIOs can control the parallel inputs to provide PWM control to the inputs.

The board can be used with a FRDM-KL25Z board connected to a USB port of a PC. Configure, control and monitor the status of MC33HB2002 by using the SPI communication capabilities of the board.

2.3 Board Components

Overview of the FRDM-HB2002ESEVM evaluation board

  1. MC33HB2002ES
  2. Power connector
  3. Reverse battery protection
  4. 5.0 V regulator
  5. Jumpers
  6. Test points
  7. Output connector
Label Name Description
1 MC33HB2002ES monolithic H-bridge motor driver IC in a robust, thermally enhanced 28-pin HVQFN (6 × 6 mm) package
2 Power and ground inputs power supply terminal to connect the battery/power supply with the board
3 Reverse battery protection MOSFET for protecting MC33HB2002 in reverse battery condition
4 5.0 V regulator monolithic H-bridge motor driver IC in a robust, thermally enhanced 28-pin HVQFN (6 × 6 mm) package
5 Jumpers jumpers for configuring the board for different modes of operation
6 Test points test points to probe different signals
7 Output terminal output connector to connect a load to the MC33HB2002 output

3. Configure Hardware

The FRDM-HB2002ESEVM consists of an H-bridge, a parallel and SPI interface, power conditioning circuitry and a FRDM-KL25Z board. The board can be configured for use with a FRDM-KL25Z board or a function generator.

3.1 Configuring the Hardware for Use with a FRDM-KL25Z

To configure the FRDM-HB2002ESEVM for use with the FRDM-KL25Z do the following:

  1. Connect the FRDM-HB2002ESEVM to the FRDM-KL25Z using the Arduino connectors on each board
  2. Connect the USB cable (not supplied with the kit) between the PC and the KL25Z USB port on the FRDM-KL25Z board
  3. With the power switched off, attach the DC power supply to the VBAT and GND screw connector terminal J20 on the evaluation board
  4. Connect the load to the screw terminal J21

3.2 Configuring the Hardware for Use with a Function Generator

This section describes how to configure the FRDM-HB2002ESEVM for use with a function generator. The same connections apply if the board is connected to a microcontroller instead of a function generator.

  1. Connect the function generator to the EX_IN jumper, with one channel attached to each pin
  2. Change the board jumper connections
  3. With the power switched off, attach the DC power supply to the VBAT and GND screw connector terminal J20 on the evaluation board
  4. Connect the load to the screw terminal J21

4. Get Software

4.1 Configuring the FRDM-KL25Z Microcode

By default, the FRDM-KL25Z with this kit has the required firmware to interface with the FRDM-HB2002ESEVB. In the event of a loss of functionality following a reset, reprogramming or corrupted data issue, the microcode may be rewritten per the following steps:

  1. To clear the memory and place the board in boot loader mode, hold down the reset button while plugging a USB cable into the OpenSDA USB port
  2. Verify that the board appears as a "BOOTLOADER" device and continue with step
  3. If the board appears as "KL25Z," you may go to step 6
  4. Download the Firmware Apps .zip archive from the PEmicro OpenSDA webpage OpenSDA Support. Validate your email address to access the files
  5. Find the most recent MDS-DEBUG-FRDM-KL25Z_Pemicro_v***.SDA and copy/drag-and-drop into the BOOTLOADER device
    • a. Based on the boot loader version, this operation may only be possible from a Windows 7 device. Examine the boot loader version via the HTML page on the device
  6. Reboot the board by unplugging and replugging the connection to the OpenSDA port. Verify now that the device appears as a "KL25Z" device to continue
  7. Download the product-specific firmware “UsbSPIDongleKL25Z_HB2000_HB2001_v512.srec” for HB2002 from the following link: Firmware for HB2000 and HB2001 evaluation kits using FRDM-KL25Z
    • a. The .srec file is a product/family-specific configuration file for FRDM-KL25Z containing the pin definitions, SPI/PWM generation code and pin mapping assignments necessary to interface with the FRDM-HB2002ESEVB
  8. With the KL25Z still plugged through the OpenSDA port, copy/drag-and-drop the .bin file into the KL25Z device memory. Once done, disconnect the USB and plug into the other USB port, labeled KL25Z
    • a. The device may not appear as a distinct device to the computer while connected through the KL25Z USB port, this is normal
  9. The FRDM-KL25Z board is now fully set up to work with FRDM-HB2002ESEVB and the SPIGen GUI
    • a. There is also no firmware stored on the FRDM-HB2002ESEVB board itself, only on the MCU FRDM-KL25Z

All uploaded firmware is stored in non-volatile memory until the reset button is hit on the FRDM-KL25Z. There is no need to repeat this process upon every power-up, and there is no loss of data associated with a single unplug event.

4.2 Installing SPIGen on your Computer

  1. Go to SPI Generator (SPIGen) Software
  2. Select the Download button to open the Downloads tab
  3. Select the Download button next to the software version
  4. Read and accept the NXP Semiconductor Software License Agreement, leading to the SPIGen Software - Windows Application page. The download begins automatically
  5. Run the downloaded installation program, and follow the provided installation instructions