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
Mount the ATSAME54 Motor Control Plug In Module on U9 header.
Place the "PFC - External Opamp Configuration" Matrix board at J4.
Motor Connections:
Phase U - M1
Phase V - M2
Phase W - M3
Encoder Connections:
A+ - HA
B+ - HB
+5V - +5V
GND - G
Jumper Settings:
J11 - VAC ( Short Pin 3 - 4)
J12 - IA ( Short Pin 1 - 2)
J13 - IB ( Short Pin 1 - 2)
J14 - Fault_IP/IBUS ( Short Pin 1 - 2)
Power the board with (110V/220V) AC mains. 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.
Installing Isolated Embedded Debugger Default programmer or debugger daughter card shipped with the MCHV3 board cannot program or debug SAM series MCU and therefore, it needs to be replaced with an Isolated Embedded Debugger Interface for MCHV.
Complete Setup
Running the Application
Vary the POT (position reference) before PUSHBUTTON press for 'motor start'
Press PUSHBUTTON for 'motor start'. Observe the position control response. Then press PUSHBUTTON for 'motor stop'
Vary the POT again for different position reference
Press PUSHBUTTON for 'motor start'. Observe the position control response. Then press PUSHBUTTON for 'motor stop'
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 |