1
Plug It In2
Get Software3
Build, Run4
DebugDO NOT turn power on this moment, but set the voltage to 12 V and the current limit to 7.0 A
Figure 1.Power Supply connection
Something went wrong! Please try again.
Figure 2.Water Pump connection
Something went wrong! Please try again.
Figure 3.PE Multilink Debugger connection
Something went wrong! Please try again.
Something went wrong! Please try again.
The Quick Start Package includes the S12ZVML-EWP Quick Start Guide, the S12ZVML-EWP User Guide, S12ZVML-EWP Schematics, and Motor Control Application Software to kick start your design.
Something went wrong! Please try again.
S12ZVML-EWP performs better using CodeWarrior® for MCUs (Eclipse IDE)
NOTE: Check CodeWarrior updates for the latest version.
Download CodeWarrior® EVAL version
Something went wrong! Please try again.
Install the latest version of OSBDM hardware driver. Working with the Version 12 (Win XP/Vista/7/8/10)
Go to OSBDM for more
information about the OSBDM.
Get OSBDM debug interface drive
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
S12ZVML-EWP 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.
Download FreeMASTER application and communicator driver
Something went wrong! Please try again.
Open S12ZVM-EWP RDB V1.pmp file from the project directory and set the proper parameters up in MCAT for your water pump or other PMSM parameters.
Note:Refer to the AN4680 for more information about PMSM electrical parameters measurement.
After complete the parameters set, go to the MCAT “Output File” card and click the “Generate Configuration File” to set them effectively in your project.
Something went wrong! Please try again.
In CodeWarrior you should follow: File → Import → General → Existing Project into Workspace. Then choose the root directory which you store the S12ZVM-EWP project and click the “Finish” button to complete the import.
Note:If the directory is correct, you the project name will be automatically populated in the list.
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
Let code run by clicking on the Resume (F8) button, and use Disconnect button for avoiding interference between CW debugger and FreeMASTER tool.
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
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.
Something went wrong! Please try again.
In FreeMASTER go to Control page tab to set the required motor rpms and turn on the motor drive.
Something went wrong! Please try again.
Connect the S12ZVM-EWP with DC Power Supply
Connect the 3-Phase Water Pump or Other PMSM Motor
Connect the PE Multilink Debugger to BDM Port (H1) Onboard and PC
Turn the Power Supply On
Download the S12ZVML-EWP Quick Start Package (QSP)
Get your Integrated Development Environment (IDE)
Get the OSBDM Debug Interface Driver from P&E
Get the S12ZVML-EWP Motor Control Application Software
Get the Run-time Debugging Tool