Datasheet

10
Software and Hardware Solutions for the 32-bit Designer
PIC32 Bluetooth® Audio Software Suites
PIC32 Bluetooth Audio Software Suite 1
This suite contains projects for USB and Bluetooth audio.
One project supports Bluetooth audio (SBC decoding)
and another supports Bluetooth (SBC) and USB audio.
The Microchip Bluetooth stack for audio streaming with
the standard SBC software CODEC is provided as a
non-modifiable binary file combined with source code
for usability. It includes the Advanced Audio Distribution
Profile A2DP, Audio/Video Remote Control Profile AVRCP,
Serial Port Profile SPP and Service Discovery Protocol
SDP. This binary code is combined with source code for
operation on the PIC32 Bluetooth Audio Development Kit
(DV320032). Users have the option of accessing the USB
Audio functionality or just the streamlined stack. This
Bluetooth-only stack with graphics, based on FreeRTOS,
requires 182 KB Flash and 41 KB RAM and operates
efficiently on PIC32 microcontrollers.
PIC32 Bluetooth Audio Software Suite 2
This suite contains projects for USB and Bluetooth audio.
One project supports Bluetooth audio (SBC and AAC
decoding) and another supports Bluetooth (SBC) and USB
audio. The Microchip Bluetooth stack for audio streaming
with the standard SBC software CODEC plus the
Advanced Audio Coding” AAC software CODEC is provided
as a non-modifiable binary file combined with source code
for usability. It includes the Advanced Audio Distribution
Profile A2DP, Audio/Video Remote Control Profile AVRCP,
Serial Port Profile SPP and Service Discovery Protocol
SDP. This binary code is combined with source code for
operation on the PIC32 Bluetooth Audio Development Kit
(DV320032). This complete Bluetooth with AAC-only stack,
based on FreeRTOS, requires 248 KB Flash and 51 KB
of RAM and operates efficiently on high-performance
PIC32 microcontrollers.
Summary
The Bluetooth audio software stack enables Bluetooth
devices to locate each other and establish connections
to exchange data and interact with one another. Here is
the block diagram of Microchip's Bluetooth audio stack
illustrating its various protocols and profiles. It consists
of the controller interface, the Bluetooth protocols which
form the Bluetooth core and the Bluetooth profiles.
Microchip offers two Bluetooth audio software suites,
one with SBC CODEC and the other with both SBC and
AAC CODEC. The Advanced Audio Distribution Profile
A2DP, Audio/Video Remote Control Profile AVRCP,
Serial Port Profile SPP and Service Discovery Protocol
SDP are common to both suites.
Application Layer
Serial Port
Profile (SPP)
Service Discovery
Application Profile (SDAP)
RFCOMM
Service Discovery Protocol
(SDP)
Advanced Audio Distribution Profile (A2DP)/
A/V Remote Control Profile (AVRCP)
Audio/Video Distribution Transport Protocol (AVDTP)/
Audio/Video Control Transport Protocol (AVCTP)
Host Controller Interface (HCI)
Logic Link Control and Adaption Protocol (L2CAP)
Link Management Protocol (LMP)
Baseband Link Controller (BLC)
Profiles
Protocols
Controller
Interface
Bluetooth
®
Radio
PIC32 Microcontroller DSP Library
Summary
Microchip’s PIC32 DSP Library enables developers to add
DSP capabilities to many applications by taking advantage
of the highly optimized hardware features inside the
PIC32 MCU, including its multiply-accumulate, math unit
with parallel execution and two full sets of CPU registers.
Additionally, this DSP Library’s use of a RADIX-2 based FFT
provides more options for sample size than the RADIX-4
designs. The PIC32 DSP Library allows users to select
from the common 64-, 128-, 256-, 512- and 1024-point
FFTs as well as other sizes. The PIC32 DSP Library also
includes support for 32-bit FFTs. PIC32 DSP Library is a
part of Microchip’s free DSP Library package in MPLAB
XC32 Compiler for PIC32 MCUs.
Key Features
C callable DSP functions written in assembly using the
standard MIPS DSP library APIs
Easy FFT eliminates setup function
Complete function profile information including register
usage, cycle count and function size information
FFT Benchmarks (Radix-2)
Measured on PIC32 MCUs @ 80 MHz
16-bit, 256 point 283 µs
16-bit, 512 point 630 µs
16-bit, 1024 point 1.39 ms
32-bit, 512 point 617 µs
The PIC32 DSP Library provides functions for the following:
16- and 32-bit vector math
Finite Impulse Response (FIR) Filter
Infinite Impulse Response (IIR) Filter
Least Mean Squares (LMS) Filter
16- and 32-bit Fast Fourier Transforms (FFTs)