Link Search Menu Expand Document

MCLV2 Development Board

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 Board
ATSAME54 Plug-in module
Hurst Motor with encoder
   

Setting up MCLV2 Development Board

  • Mount the ATSAME54 Motor Control Plug In Module on U9 header.

    PIM Install

  • Place the “External Opamp Configuration” Matrix board at J14

    External OPAMP

  • Motor Connections:
    • Phase U - M1 (White coloured wire)
    • Phase V - M2 (Black coloured wire)
    • Phase W - M3 (Red coloured wire)

    Motor Connections

  • Encoder Connections: Connect encoder wires as shown below
    • 1 : +5V (Red coloured wire)
    • 2 : HA (White coloured wire)
    • 3 : HB (Blue coloured wire)
    • 8 : GND (Black coloured wire)

    Encoder Connections

  • Jumper Settings:
    • JP1 - Curr, JP2 - Curr, JP3 - Curr
    • In order to use RS232 port for X2CScope Communication JP4 - UART, JP5 - UART
    • In order to use USB port for X2CScope Communication JP4 - USB, JP5 - USB

    jumper Settings

  • Power the board with a 24V DC supply using J2 or BP1-BP2. For additional safety, it is recommended to use a current limited power supply while testing this software demonstration on a non-default hardware and motor.

    jumper Settings

  • Complete Setup

    Setup

Running the Application

  1. Build and Program the application using its IDE
  2. Press switch S2 to start the motor
  3. Vary potentiometer to change the speed of the motor
  4. Press switch S2 to stop the motor
  5. Press switch S3 to change the direction of the motor
  6. Press switch S2 again to start the motor
  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
   


Copyright © 2020 Microchip Technology.