Getting Started with FRDM Development Platform for Low-Voltage, 3-Phase BLDC Motor Control

上次修改时间: 2019-03-25 08:59:00支持 FRDM-MC-LVBLDC|KV1x/KV3x|电机控制

本文档内容

  • 1

    Plug It In
  • 2

    Get Software
  • 3

    Build, Run

1. Plug It In

Let's take your FRDM-MC-LVBLDC for a test drive! You have the choice of watching the sequence in a short video or following the detailed actions list below.

For those instructions, we will consider the FRDM-KV10Z board as the FRDM microcontroller board, but there are other compatible options like the FRDM-KV31F. Check the FRDM-MC-LVBLDC product page for more information about compatible FRDM microcontroller boards.

1.1 Attach the FRDM Board via Headers

FRDM-MC-LVBLDC-1

FRDM-MC-LVBLDC-1

1.2 Connect the 3-Phase Motor

Plug the 3-Phase wires of the FRDM-MC-LVMTR motor, or your own motor that meets the driver specification, to the screw connector.

FRDM-MC-LVBLDC-2

FRDM-MC-LVBLDC-2

1.3 Attach the USB Cable

Take the micro-B USB cable included in the FRDM-KV10Z package and plug one end into your computer USB port, and the end into the micro-B port labeled "SDA USB".

This USB port provides power to the FRDM-KV10Z board, and via the onboard OpenSDA circuit, it also provides debugging, drag-and-drop flashing, and virtual serial port capabilities.

FRDM-MC-LVBLDC-3

FRDM-MC-LVBLDC-3

2. Get Software

2.1 Download the BLDC Motor Control Package

Download the 3-phase Brushless DC (BLDC) Motor Control package.

2.2 Program the Microcontroller Board

IAR Embedded Workbench for Arm (EWARM) version 7.40.2 or later is the development toolchain used to deploy software applications using the NXP® Connectivity stacks. NXP provides example EWARM workspace projects for you to start your development.

Follow the Getting Started instruction for your FRDM microcontroller, to download the required driver and the available IDE toolchain for your board. Then, open the corresponding project for your FRDM microcontroller board and IDE toolchain, build it and debug it.

Using a different toolchain?

3. Build, Run

3.1 Power the FRDM Controller Board

Plug a 12 V/5 A power-supply to the power barrel connector of the FRDM-MC-LVBLDC board.

FRDM-MC-LVBLDC-4

FRDM-MC-LVBLDC-4

3.2 Spin the Motor

Motor will start spinning when pressing user button SW2 of the FRDM microcontroller board.

FRDM-MC-LVBLDC-5

FRDM-MC-LVBLDC-5<sup>®</sup>