Tivaware; Usb Driver; Sdspi Driver; Bluetopia Stack - Texas Instruments DLP NIRscan User Manual

Table of Contents

Advertisement

Overview

5.1.2 TivaWare

TivaWare is a set of drivers for accessing the Tiva peripherals. DLP NIRscan Nano uses the following
TivaWare drivers:
UART: Driver for Tiva interface with CC2564MODN
USB: Driver for HID transfers between Tiva and PC. The USB drivers handles Tiva's USB interrupts
SPI: Driver for Tiva interface with ADS1255
ADC: Driver to control Tiva ADC peripheral
GPIO: Driver to control Tiva GPIO pins
LCD: Driver to interface Tiva with DLPC150 parallel port

5.1.3 USB Driver

USB Communication to the DLP NIRscan Nano uses the HID class. Tiva enumerates as a slave USB 2.0
high power device.

5.1.4 SDSPI Driver

To store data on the microSD card, Tiva's SSI3 peripheral communicates with the microSD card using SPI
mode (SDSPI). Tiva stores data on the microSD card using the file allocation table (FAT) file system.

5.1.5 Bluetopia Stack

The DLP NIRscan Nano wirelessly communicates using Bluetooth Low Energy (BLE) version 4.0. The
Bluetooth communication is handled by the TI Bluetopia stack and the Cc2564MODN. The TI Bluetopia
stack and CC2564MODN implement a fully certified Bluetooth 4.0 specification. The BLE wireless
communication uses two main profiles for discovery and communication with a remote host:
GAP: Generic Access Profile for basic discovery and establishing connections.
GATT: Generic Attribute Profile for commands and data transfer.
The DLP NIRscan Nano supports Bluetooth version 4.0 specification. When Bluetooth subsystem is
activated, the DLP NIRscan Nano broadcasts its availability while a smartphone, tablet or PC acts as an
observer. Once connected, the DLP NIRscan Nano acts as a server for the GATT profile while the
smartphone, tablet, or PC acts as a client.
The DLP NIRscan Nano Bluetooth GATT Profile supports the following services:
Battery Service (BAS) to provide battery charge capacity.
Device Information Service (DIS) to provide manufacturer name, model number, serial number,
hardware revision, spectrum library revision, and Tiva software revision.
GATT General Information Service to provide temperature, humidity, status, hours of use, lamp hours,
and battery recharge cycles.
GATT Date and Time Service to synchronize date and time information between smartphone, tablet, or
PC to the Tiva's realtime clock.
GATT Calibration Service to provide calibration coefficients.
GATT Scan Configuration Service to provide stored configurations and scan configuration data.
GATT Scan Data Service to initiate scan, clear scan data, and return stored scan data.
The Tiva processor handles these profiles and uses the logical link control and adaptation protocol
(L2CAP) to pass packets through a host controller interface (HCI). The Tiva's UART3 peripheral
communicates with the CC2564MODN HCI module. The CC2564MODN transmits these packets to the
client device.
36
DLP NIRscan Nano Software
Appendix G
lists the commands supported through USB.
Copyright © 2015, Texas Instruments Incorporated
www.ti.com
DLPU030B – June 2015 – Revised July 2015
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents