Nexperia
6. BLDC kit software
The firmware provided with this kit allows trapezoidal control of Brushless DC (BLDC) motors
using Hall-effect sensors specifically using the
32u4
nomenclature.
The firmware code is set up to be used with the Arduino IDE
Visual Studio Code
hardware and software tools, go to Arduino's
The latest version of the firmware for trapezoidal control of BLDC motors using Hall-effect sensors
(NEVC-MCTRL-100-t01), is pre-uploaded to the Leonardo R3 development board provided with the
kit. Firmware version NEVC-MCTRL-100-t01-1.0.0 comes with the following features:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
For a complete description of the firmware code refer to the extensive code documentation which is
provided with the firmware code.
When running the code (with the motor provided in the kit) for the first time, you do not have to
modify any parameters unless other parameters are preferred. To make any changes, head to the
"To do" section of the code documentation to see the list of recommended changes.
6.1. Arduino
To install the Arduino
•
•
•
UM90029
Submit document feedback
User manual
NEVB-MCTRL-100-01-3INV-001-01 motor driver evaluation kit
microcontroller, which is a platform widely recognized under the Arduino
with the
Arduino extension
Trapezoidal control of Brushless DC (BLDC) motors using Hall-effect sensors
Unipolar PWM
Control MOSFET switching frequencies from 7,813 Hz to 100,000 Hz (can be overridden to
extend upper limit)
Control dead-time from 350 ns to 1875 ns. (can be overridden to extend lower limit)
Control duty cycle (0.01 – 0.31 % depending on frequency) directly while in open loop mode or
control speed in closed loop mode.
PID controller for closed loop control
Soft start for open loop mode (not required for closed loop)
Two turn off methods: braking and coasting
Emulate hall as a debugging tool (not to be driven)
Reverse rotation detection
Motor stopped detection
Missing Hall-effect sensor connectors detection
Over current detection
Remote operation with SCPI (Standard Control of Programmable Instruments) support
software installation
™
IDE V1 or V2:
™
Get the latest version of the IDE for your computer from Arduino's
Follow the instructions in the installation guide:
MacOS).
The drivers should be automatically installed alongside the IDE. If still facing issues in
Windows, please refer to this
All information provided in this document is subject to legal disclaimers.
Rev. 1.0 — 15 April 2024
Leonardo
R3 development board or the
installed. To learn more about the Leonardo
getting started
V1
(Windows),
driver installation
guide.
UM90029
TM
Leonardo
v1
or
v2
and alternatively
page.
download
page.
V1
(Linux),
V2 (Windows/Linux/
Nexperia B.V. 2024. All rights reserved
©
ATMEGA
Microsoft
30 / 64
Need help?
Do you have a question about the NEVB-MCTRL-100-01-3INV-001-01 and is the answer not in the manual?
Questions and answers