お客様の素早い設計とより早い製品化を実現する、技術情報と専門知識をご紹介します。
The MCSXSR1CS12ZVM evaluation board is designed to control 3-phase AC motors up to 1 kW. Set configuration jumpers prior to application:
MCSXSR1CS12ZVM PIN | FUNCTION | S12ZVM PIN |
---|---|---|
J3 | VBAT | - |
J4 | GND | - |
J11-1 | VCC | EVDD |
J11-2 | GND | - |
J11-3 | HALL_A | PT1 |
J11-4 | HALL_B | PT2 |
J11-5 | HALL_C | PT3 |
J11-6 | NC | NC |
J21-1 | GPIO | PP0 |
J21-2 | GPIO | PP1 |
J21-3 | GPIO | PP2 |
J21-4 | GND | - |
J22-1 | GPIO | PE0 |
J22-2 | GPIO | PE1 |
J22-3 | GND | - |
J31-1 | GPIO | PS0 |
J31-2 | GPIO | PS1 |
J31-3 | GPIO | PS2 |
J31-4 | GPIO | PS3 |
J31-5 | GPIO | PS4 |
J31-6 | GPIO | PS5 |
J31-7 | GND | - |
J34-1 | BKGD | BKGD |
J34-2 | GND | - |
J34-3 | NC | NC |
J34-4 | U_RST | RST |
J34-5 | NC | NC |
J34-6 | +5VU | - |
J62-1 | RES_GENP | - |
J62-2 | RES_GENM | - |
J62-3 | RES_SIN | - |
J62-4 | RES_SIN_REF | - |
J62-5 | RES_ COS | - |
J62-6 | RES_COS_REF | - |
J62-7 | GND | - |
J62-8 | +5VA | - |
J66 | PHASE_A | - |
J67 | PHASE_B | - |
J68 | PHASE_C | - |
Download the complete motor control application software for MCSXSR1CS12ZVM evaluation board.
Note: The installation process offers also downloading the latest version of Automotive Math and Motor Control Library (AMMCLib) set but requires
internet connection.
MCSXTE2BK142 performs better when using the FreeMASTER tool for run-time debugging.
You can also download and install the FreeMASTER Communication Driver (source code already included in example project).
Note: Check the FreeMASTER page for the latest
version.
Download the latest version from P&E.
Note: For details, go to EMBEDDED OSBDM
JUMPER | OPTION | SETTING | DESCRIPTION |
---|---|---|---|
J2 | CAN VREG | Open | CAN VREG disabled (default). Short CAN VREG enabled (S12ZVMC version has to be populated). |
J10 | OSBDM Bootloader | Open | OSBDM Bootloader update disabled (default). Short OSBDM bootloader update enable. |
J29 | VDDX to BDM | Open | Supply of tde OSBDM from VDDX disabled (default). Short Supply of tde OSBDM from VDDX enabled. |
J37 | LED2 Enabled | Open | User LED2 (D14) on PS5 disabled. Short user LED2 (D14) on PS5 enabled (default). |
J40 | VDDX Ballast | Open | VSUP ballast transistor on VDDX disabled. Short VSUP ballast transistor on VDDX enabled (default). |
J43 | VSUP to Resolver | Open | VSUP to VSUP2 for resolver disabled. Short VSUP to VSUP2 for resolver enabled (default). |
J53 | LED1 Enabled | Open | User LED1 (D15) on PS4 disabled. Short User LED1 (D15) on PS4 enabled (default). |
Connect the appropriate 12 V power supply (8-18 V range or 3.5-18 V range with boost option enabled) to the power supply terminals
J3
and J4
using M5
ring-eye connector
and proper wiring (10 A/mm2max).
Connect MCSXSR1CS12ZVM to the PC using the USB cable.
Connect to the output terminals J66
, J67
and
J68
using M5
ring-eye connector and proper wiring (10 A/mm2 max).
Let’s take it for a test drive.
1. To import the installed application software project in the CodeWarrior for MCUs 11.x by launch IDE by going to File > Import.
2. Then, select General > Existing Projects in the workspace. To choose the root directory, click Next.
3. Navigate to MC_DevKits\MCSXSR1CS12ZVM\sw\...
.
4. Then, choose your motor control driving control:
5. Click on Copy project into workspace and then click Finish.
Note: to clear the project, click Debug to build and flash the software. Once flashed, Run the session and click
Disconnect to release the USB resources.
Note: These steps shouldn't be necessary since they are executed in the next step automatically.
Right click on the imported project and select Clean from the context menu.
To load built code into MCU, go to Run > Debug Configuration > select predefined debug configuration and click Debug button:
1. Launch the FreeMASTER application.
2. Open a project ❮selected project❯ FreeMASTER_control\ MCSXSR1CS12ZVM_PMSM_SW_CW11.pmp
by clicking
File > Open Project.
3. To enable communication, in the FreeMASTER tool bar, click Go (or press CNTRL+G).
Successful communication is signalized in the status bar at the very bottom as:
RS232 UART Communication;COMn; speed = 19200
4. Let code run by clicking on the Resume (F8) button, and use Disconnect button for avoiding interference between CW debugger and FreeMASTER tool.
Launch the Motor Control Application Tuning (MCAT) tool, then display the application control page on the tool menu. When the power supply is connected to the board, the application is in READY state indicated by a blue LED on the board. The LED also indicates:
Note: In case of pending faults, click the fault button Clear FAULT on the FreeMASTER MCAT Control Page.
Run appropriate *.pmp
file from your application project folder.
Note: You may start it by double click directly from CodeWarrior project explorer.
1. Start the application by clicking ON/OFF button on the FreeMASTER MCAT control page.
2. Set required speed by changing the Speed Required variable value manually in the variable watch window, or by clicking the speed gauge in the MCAT control tab.
Note: the connection parameters are already predefined,You can change them in project options or by using the
Connection Wizard.
Now you are ready to tune your motor control application.
1. Successfully tune the control loops.
2. In FreeMASTER, go to the Control tab and set the required motor rpms and turn on the motor drive.
3. Stop the application by clicking ON/OFF button on the FreeMASTER MCAT control page.
Your motor should now be running.
Connect with other engineers and get expert advice on designing with the MCSXSR1CS12ZVM Application Processor on one of our community sites.