SimpleLink Audio Plugin
SimpleLink Audio Plugin API Reference

AudioHAL

The AudioHAL is a hardware abstraction layer that provides a common API to interface an application to various audio streaming related drivers (e.g. I2S, PDM)

Note
AudioHAL.h defines the top level API interface. Low level header provide information about how a particular HAL implementation behaves under the hood.
AudioHAL Interface Interface abstracted Interface Specific Implementation
AudioHAL Codecs using I2S AudioHAL Codec
AudioHAL I2C
TLV320AIC3254

Master Clock Implementations

In I2S master mode, the CCXXXX device can generate an MCLK signal (optional). The CC3200AUDBOOST requires a clock input to derive Fs. In slave mode, this must be provided by the CCXXXX unless it is sourced by another device in the system (e.g. DSP, etc). The hardware does not support MCLK as output when operating as an I2S slave, the below implementations use a timer to provide an MCLK signal which can be used as a reference CLK for the AUDBOOST.

MCLK Implementation Device Supported
Master Clock for CC26xx CC13xx/CC26xx

Packetizer

The packetizer is a module that handles compressing/decompressing audio frames and adding a common audio header. The packetizer is responsible for taking PCM frames from the HAL and preparing them to be sent over the air and vice versa.

See the respecitve codec docuementation for information about the codec capabilites

Packetizer Implementation Notes
Packetizer Top level API for packetizer, defines structures and public APIs
Packetizer Codec Defines Redefines codec APIs, allowing codecs to be conditionally compiled out

BLEAudio

BLE Bidirectional Audio Streaming over GATT is encapsulated into a module in BLE Audio application module. This module is common to all bidirectional audio streaming examples using GATT.

© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale