User Buttons - Digilent Basys MX3 Reference Manual

Hide thumbs Also See for Basys MX3:
Table of Contents

Advertisement

7/30/2019
Library functions for using the switches are contained in the Basys MX3 library pack, SWT library. However, the user can easily use the
switches without the SWT library, as presented above.
4.3. Shared Pins
As shown in the connectivity table above, SW7 driving signal is shared with the TRIG_2 signal in 2×15 Pins Debug Header.

5. User Buttons

There are five buttons on the board, labeled BTNU, BTNL, BTNC, BTNR, BTND both on the board and in the schematic, attached to five
digital IO pins of PIC32. Reading the buttons is done by basic access to an input IO pin. Read more details in Digital Inputs and Outputs
chapter.
Figure 5.1 shows the way the buttons are electrically connected on the Basys MX3.
5.1. Connectivity
Table 5.1. Button connectivity.
Label
Schematic Name
BTNU
BTNU
BTNL
BTNL
BTNC
BTNC
BTNR
BTNR
BTND
BTND
All the pins must be defined as digital input: their corresponding TRIS bit must be set to 1, and analog function must be disabled for pins
corresponding to BTNU, BTNL, BTNR, BTND.
https://reference.digilentinc.com/reference/microprocessor/basys-mx3/reference-manual?_ga=2.68739409.1349070004.1564406803-1961480359....
Basys MX3 Reference Manual [Reference.Digilentinc]
PIC32 Pin
PGEC1/AN1/RPB1/CTED12/RB1
PGED1/AN0/RPB0/RB0
RPF0/PMD11/RF0
AN8/RPB8/CTED10/RB8
RPA15/RA15
Pin Shared With
Description
PGC
Button up
PGD
Button left
TRIG_1
Button center
S0_PWM
Button right
S1_PWM
Button down
16/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?

Questions and answers

Daniel Gaucher
March 28, 2025

I m not able to use the basys mx3 with recent version of mplabx (6.x). The debugging tool does not show in the list. U of Sherbrooke

1 comments:
Mr. Anderson
March 28, 2025

If the Digilent Basys MX3 board does not appear in the list of debugging tools in MPLAB X version 6.x, you can try the following steps:

1. Ensure the board is connected via the DEBUG USB connector.
2. Verify that the correct device (PIC32MX370F512L) is selected during project setup.
3. Make sure all required drivers are installed for the Basys MX3 board.
4. If the tool still does not appear, manually select it under the Licensed Debugger group.
5. If unavailable, consider using MPLAB X IPE to program/erase the microcontroller, though it does not support debugging.

If the problem persists, the version of MPLAB X may not fully support the Basys MX3 debugger integration. In this case, try using a different MPLAB X version or contact support for updates.

This answer is automatically generated

Subscribe to Our Youtube Channel

Table of Contents