2.1 MCHV3 Development Board Setup for Quadrature Encoder
Setting Up the Hardware
The following table shows the target hardware for the application projects.
Project Name | Description |
---|---|
mchv3_sam_e70_pim.X |
Setting Up MCHV3 Development Board
- Mount the ATSAME70 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
- Build and Program the application using its IDE
- Press switch PUSHBUTTON to start the motor
- Vary potentiometer to change the speed of the motor
- Press switch to stop the motor
- Monitor graphs on X2C Scope
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 |