7/30/2019
The I2C connector exposes SCL1 and SDA1 lines of the I2C1 interface. The following table details the content of the I2C connector (the
"left" and "right" columns correspond to the two parallel rows of pins):
Table 9.1. I2C Connector pinout.
Label on the board
SCL
SDA
GND ()
V
As mentioned in Remappable pins, I2C interfaces are not involved in pin remapping. The SCL1 and SDA1 don't need to be configured or
managed, they are properly accessed through the I2C1 interface.
9.2. Functionality
In order to use the I2C interface, proper I2C communication (read, write) must be implemented over I2C1. The I2C1 interface must be
initialized, and then accessed through read and write functions. The I2C device address of the accelerometer is 0x1D.
Communication over the I2C is implemented in the I2C library of the Basys MX3 library pack.
10. Accelerometer
Basys MX3 provides an onboard accelerometer: NXP's MMA8652FCR1. It is a 3-Axis, 12-bit, Digital accelerometer, exposing an I2C digital
interface. It is possible to use its ACL ()_INT2 () pin for raising a programmable interrupt.
The accelerometer is located on the top of the board; you can identify it by the silkscreen arrows that mark the directions of the three axes.
Figure 10.1 below shows the way the accelerometer is controlled using digital signals.
See I2C section for more details about I2C.
10.1. Connectivity
The accelerometer is connected to SCL1 and SDA1 lines of the I2C1 interface. A general I/O signal is connected to INT2 () pin.
Table 10.1. Accelerometer connectivity.
https://reference.digilentinc.com/reference/microprocessor/basys-mx3/reference-manual?_ga=2.68739409.1349070004.1564406803-1961480359....
Basys MX3 Reference Manual [Reference.Digilentinc]
Left Column
SCL
SDA
GND ()
3V3
Right Column
SCL
SDA
GND ()
3V3
PIC32 pin
SCL1/RG2
SDA1/RG3
GND ()
VCC3V3
26/52
Need help?
Do you have a question about the Basys MX3 and is the answer not in the manual?