MCLV2 Development Board - Setup and Running 'PMSM FOC PLL Application'

Setting up the hardware

The following table shows the target hardware for the application projects.

Project Name Hardware
mclv2_sam_e54_pim.X MCLV2 Development BoardATSAME54 Plug-in moduleHurst Motor with encoder
 

Setting up MCLV2 Development Board

Running the Application

  1. 1.

    Build and Program the application using its IDE

  2. 2.

    Press switch S2 to start the motor

  3. 3.

    Vary potentiometer to change the speed of the motor

  4. 4.

    Press switch S2 to stop the motor

  5. 5.

    Press switch S3 to change the direction of the motor

  6. 6.

    Press switch S2 again to start the motor

  7. 7.

    Monitor graphs on X2C Scope

Refer to the following tables for switch and LED details:

Switch Description
Switch S2 To start or stop the motor
Switch S3 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