MCHV3 Development Board - Setup and Running 'Position Control of PMSM using Quadrature Encoder Application'

Setting up the hardware

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

Project Name Hardware
mchv3_sam_e54_pim.X MCHV3 Development BoardATSAME54 Plug-in moduleLeadshine EL5-M0400-1-24 Motor Isolated Embedded Debugger Interface
 

Setting up MCHV3 Development Board

Running the Application

  1. 1.

    Vary the POT (position reference) before PUSHBUTTON press for 'motor start'

  2. 2.

    Press PUSHBUTTON for 'motor start'. Observe the position control response. Then press PUSHBUTTON for 'motor stop'

  3. 3.

    Vary the POT again for different position reference

  4. 4.

    Press PUSHBUTTON for 'motor start'. Observe the position control response. Then press PUSHBUTTON for 'motor stop'

  5. 5.

    Continue the steps above for different reference positions

Refer to the following tables for switch and LED details:

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