Cypress FM3 Series Manual de inicio rápido - Página 7
Navegue en línea o descargue pdf Manual de inicio rápido para Placa base Cypress FM3 Series. Cypress FM3 Series 17 páginas. 32-bit arm cortex - m3 washing machine evaluation board
También para Cypress FM3 Series: Manual (14 páginas)
1.3 Run the Motor
This section introduces how to the make the motor running as the setting parameter.
1.3.1 Motor Start/Stop
When the parameters for the firmware and hardware are correctly set, the motor can be started for the normal running.
You can follow the steps to run to motor.
1). Check the basic motor and HW parameter setting in the user interfaces. If the setting is not matched with the real HW
and motor parameter, there will be the unexpected running error in the motor running.
① Set the j-link interface to the SWD mode: Project Option J-Link/J-Trace Connection SWD
2). Compile project and download program to inverter board by the J-link.
② Click the button A that is shown in
③ Cick the button B to execute the sample project. You can enter the none-zero speed value to start the motor in the
structure that is shown as C after the firmware is executed about 2s later.
For example, when the variable 'Motor_stcRunPar.i32TargetSpeedRpm= 1000' by your online input, the drum
speed of the washer will CCW run to 1000rpm.
And you can take the
Table 1-1
Motor_stcRunPar.
i32TargetSpeedRpm
>0
<0
=0
Note:
All of the command speed from the debugger or UART is defined as the motor mechanical speed.
Do not click the button D to break the FW running, the HW over-current or DC over fault may appear and damage the HW
if you do that.
FM3 Family Math and Motor Control Library Quick Start Guide, Doc. No. 002-04766 Rev. *A
Figure 1-6
to connect the J-link and download the FW into the MCU,
for your detailed reference for the speed command.
Table 1-1. Drum Running Status by the Command Speed
Running Direction
CCW
CW
Stop
Figure 1-6. Motor Run by J-link
Motor's status
Running
Running
Stop
Demo System
A
D
B
C
7