Accelerometer; Connectivity; Functionality - Digilent Basys MX3 Reference Manual

Hide thumbs Also See for Basys MX3:
Table of Contents

Advertisement

Basys MX3™ Board Reference Manual

10 Accelerometer

Basys MX3 provides an onboard accelerometer: NXP's MMA8652FCR1. It is a 3-axis, 12-bit digital accelerometer,
2
exposing an I
C 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 recognize the arrows that show the directions of the
three axes.
The Fig. 10.1 shows the way Accelerometer is controlled using digital signals.

10.1 Connectivity

The accelerometer is connected to SCL1 and SDA1 lines of the I
INT2 pin.
Schematic Name
SCL
SDA
ACL_INT2

10.2 Functionality

To use the accelerometer, proper I
interface must be initialized, and then accessed through read and write functions. The I
accelerometer is 0x1D.
2
Communication over the I
C is implemented in the ACL library of the Basys MX3 library pack. If the user wants to
use the accelerometer without the ACL library, they must implement their own I
The accelerometer has a set of registers that can be written to configure the device and read to access the data
collected by the accelerometer.
Note that you can visualize the communication with the accelerometer by attaching a logic analyzer to the 8-pin
2
I
C connector, located on the top of the board.
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Figure 10.1. Accelerometer schematic diagram.
PIC32 pin
SCL1/RG2
SDA1/RG3
RPG0/PMD8/RG0
Table 10.1. Accelerometer connectivity.
2
C communication (read, write) must be implemented over I
2
C1 interface. A general I/O signal is connected to
Description
I2C Clock signal
I2C Data signal
Programmable Interrupt
2
C device address of the
2
C functions.
2
2
C1. The I
C1
Page 28 of 56

Hide quick links:

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