Source File And Folders; Axis Analog Accelerometer - Texas Instruments BoosterPack Educational Plug-in Module Mark II BOOSTXL-EDUMKII User Manual

Table of Contents

Advertisement

Software Examples
3.1
BOOSTXL-EDUMKII_Accelerometer_MSP432P401R
This section describes the functionality and structure of the BOOSTXL-
EDUMKII_Accelerometer_MSP432P401R demo that is included in the
Examples
download, or more easily accessible through the
3.1.1
Source File Structure
The project is split into multiple files (see
for other projects.
Name
main.c
msp432_startup_ccs.c
Library: GrLib
Library: driverlib
Driver: LcdDriver
3.1.2
Operation
This demo uses the MSP432 built-in ADC14 to sample from the 3-axis acceleration data output of the
analog accelerometer on the Educational BoosterPack plug-in module MKII (see
14-bit acceleration data are displayed on the BoosterPack plug-in module's colored 128x128 dot-matrix
LCD. Using
MSP Graphics
communication to draw texts.
The demo makes use of the acceleration data by changing the LCD orientation when the BoosterPack
plug-in module is tilted in the corresponding direction.
10
BOOSTXL-EDUMKII Educational BoosterPack™ Plug-in Module Mark II
Table
14). This makes it easier to navigate and reuse parts of it
Table 14. Source File and Folders
The demo's main function, interrupt service routines, global variables, and so on
MSP432 family interrupt vector table for CGT
MSP Graphics Library
Device driver library (MSP432DRIVERLIB)
LCD specific driver files
Library, the MSP432 MCU sends data to the LCD controller through SPI
Figure 4. 3-Axis Analog Accelerometer
Copyright © 2015–2017, Texas Instruments Incorporated
MSP-EXP432P401R Software
SimpleLink MSP432 SDK
Description
Figure
SLAU599A – August 2015 – Revised March 2017
Submit Documentation Feedback
www.ti.com
(see
Section
4.3).
4). The measured

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BoosterPack Educational Plug-in Module Mark II BOOSTXL-EDUMKII and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents