Digilent Basys MX3 Reference Manual page 32

Hide thumbs Also See for Basys MX3:
Table of Contents

Advertisement

7/30/2019
Jumper
Position
Description
VEXT
The power VEXT provided from an external supply (using the VEXT pin of the MOTOR OUT connector block) is
used for motors.
Please read the Texas Instruments DRV8835 datasheet for more details about the motor controller.
14.1. Connectivity
Table 14.2 shows the signals connecting the Motor Driver to the PIC32.
Table 14.2. Motor connectivity.
Name
PIC32 Pin
MODE
RPF1/PMD10/RF1
AIN1
PGED3/AN3/C2INA/RPB3/RB3
AIN2
RPE8/RE8
BIN1
RPE9/RE9
BIN2
AN5/C1INA/RPB5/RB5
The command pins (MODE, AIN1, AIN2, BIN1, BIN2) must be defined as digital output and the analog functionality for AIN1 and BIN2
disabled:
TRISFbits.TRISF1 = 0; //set RF1 (MODE) to be an output
TRISBbits.TRISB3 = 0; //set RB3 (AIN1) to be an output
ANSELBbits.ANSB3 = 0; //disable analog functionality for RB3 (AIN1)
TRISEbits.TRISE8 = 0; //set RE8 (AIN2) to be an output
TRISEbits.TRISE9 = 0; //set RE9 (BIN1) to be an output
TRISBbits.TRISB5 = 0; //set RB5 (BIN2) to be an output
ANSELBbits.ANSB5 = 0; //disable analog functionality for RB5 (BIN2)
The following signals are routed to the MOTOR_OUT board to wire connector:
Table 14.3. Motor connector pinout.
Connector
Motor Driver
Label
pin
VEXT
-
GND ()
-
https://reference.digilentinc.com/reference/microprocessor/basys-mx3/reference-manual?_ga=2.68739409.1349070004.1564406803-1961480359....
Basys MX3 Reference Manual [Reference.Digilentinc]
Motor Driver Pin
MODE
AIN1/APHASE
AIN2/AENBL
BIN1/BPHASE
BIN2/BENBL
Description
The external power that can be applied to the motors, selected using MOTOR PWR jumper block
(0 to 11 Volts)
The GND () for the external power applied on VEXT
Description
logic low selects IN/IN mode
logic high selects PH/EN mode
IN/IN mode: Logic high sets AOUT1 high
PH/EN mode: Sets direction of H-bridge A
IN/IN mode: Logic high sets AOUT2 high
PH/EN mode: Logic high enables H-bridge A
IN/IN mode: Logic high sets BOUT1 high
PH/EN mode: Sets direction of H-bridge B
IN/IN mode: Logic high sets BOUT2 high
PH/EN mode: Logic high enables H-bridge B
32/52

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Basys MX3 and is the answer not in the manual?

Table of Contents