MCLV2 Development Board - Setup and Running 'Position Control of PMSM with Quadrature Encoder'

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 reference rotor position of the motor

  4. 4.

    Observe waveforms on X2CScope scope view

  5. 5.

    Press the Switch S2 to stop the motor

Refer to the following tables for switch and LED details:

Switch Description
Switch S2 To start or stop the motor
 
LED D17 Status Description
OFF No fault
ON Fault is detected