Let's take your S12ZVML-MINIKIT for a test drive!
Choose between watching a short setup video or following the step-by-step guide.
Join motor phase lines into JP1, JP2 and JP3 pins. Hall Sensor lines are
not used.
NOTE: The phase order is not specified.
Attach the 12V power supply for powering both the S12ZVML MCU and the 3-Phase PM Motor.
Attach USB cable for debugging.
The Quick Start Package includes the S12ZVML-MINIBRD Quick Start Guide, the S12ZVML-MINIBRD User Guide, S12ZVML-MINIBRD Schematics, and Motor Control Application Software to kick start your design.
S12ZVML-MINIKIT performs better using CodeWarrior® for MCUs
(Eclipse IDE)
NOTE: Check CodeWarrior updates for the latest
version.
Install the latest version of OSBDM hardware driver. Working with the
Version 12 (Win XP/Vista/7/8/10)
Go to
http://www.pemicro.com/OSBDM
for more information about the OSBDM.
Install the complete motor control application software from the Quick
Start Package.
The installation process offers downloading the latest version of
Automotive Math and Motor Control Library Set.
S12ZVML-MINIKIT performs better using the FreeMASTER tool for run-time
debugging. Install the latest version of FreeMASTER application and
optionally FreeMASTER Communication Driver.
NOTE: The source code
for using the Communication Driver is already included in example
project.
In CodeWarrior you should follow: File > Import > General >
Existing Project into Workspace And then choose the selected motor
control application type.
NOTE: The default path is
c:\NXP\MC_DevKits\S12ZVMLMINIBRD\sw\..
You can check also an
option for copy selected project into your workspace.
Right click on the imported project and select
Clean project from the context menu.
Right click
on the imported project and select Build project from
the context menu.
NOTE: These steps shouldn't be necessary since they are executed in the next step automatically.
In CodeWarrior you should follow: Run > Debug Configuration >
select predefined debug configuration.
Then click on Debug button to load built code into the
S12ZVML MCU.
Let code run by clicking on the Resume (F8) button, and use Disconnect button for avoiding interference between CW debugger and FreeMASTER tool.
In FreeMASTER you should run the appropriate *.pmp file from your
application project folder.
NOTE: You may start it by double click
directly from CodeWarrior project explorer
Initiate a connection with the MCU by clicking the
Stop icon on FreeMASTER.
NOTE: The connection
parameters are already predefined in FreeMASTER project. You may change
them in project options or using the Connection Wizard.
In FreeMASTER go to Control page tab to set the required motor rpms and turn on the motor drive.