2.5 MCLV 48V 300W SAMC21 DIM
Setting Up the Hardware
The following table shows the target hardware for the application projects.
Project Name | Description |
---|---|
qspin_pmsm_foc.X |
Setting Up MCLV-48V-300W Development Board
- Connect the Motor: Attach the
3-phase connections of the motor to the J4 header.
- Power the Board: Supply the
board with 24V DC using the J1 or J3 (+, -) header.For added safety, it is recommended
to use a current-limited power supply while testing this software demonstration on
non-default hardware and motors.
- Insert the SAMC21 Motor Control Dual In-Line Module into the J8 interface header.
Running the Application
- Build and Program the application using its IDE
- Press switch SW2 to start the motor
- Vary potentiometer to change the speed of the motor
- Press switch SW2 to stop the motor
- Press switch SW1 to change the direction of the motor
- Press switch SW2 again to start the motor
- Monitor graphs on X2Cscope
Refer to the following tables for switch and LED details:
Switch | Description |
---|---|
Switch SW2 | To start or stop the motor |
Switch SW1 | To change the direction of rotation. Direction toggle command is accepted only when motor is stationary. |
LED D2 Status | Description |
---|---|
OFF | Motor spin direction is “positive” |
ON | Motor spin direction is “negative” |
LED D17 Status | Description |
---|---|
OFF | No fault |
ON | Fault is detected |