How does it work?
BT Audio 3 Click as its foundation uses the BM83 SoC, a fully certified Bluetooth v5.0 stereo audio module with high-performing voice and audio post-processing capability for Bluetooth audio applications from Microchip. Based on an onboard Bluetooth stack and audio profile design, the module supports 24-bit/96kHz audio. Integrated IS2083 dual-mode audio IC features Digital Signal Processor (DSP) that decodes AAC and SBC codecs and executes advanced audio and voice processing, such as Wide-Band (WB) speech Acoustic Echo Cancellation (AEC) and Noise Reduction (NR). More information on the many features and characteristics of the module itself can be found on the official website of the Microchip BM83 module.
The BM83 module provides an I2S digital audio interface configured in Master mode to connect with the external DSP, the AK4430. In this mode, the BM83 serves as a master to provide clock and frame synchronous signals for the master/slave data synchronizations. The master clock output is delivered to an external I2S device (AK4430) to drive its system clock and save crystal cost. The BM83 module receives audio from the smartphone via its PCB antenna and then forwards it to an external speaker via the AK4430, connected to the LINE OUT connector. The AK4430 supports Mute operation accessible through SM pin routed to the AN pin on the mikroBUS™ socket, and two audio data interface formats, MSB-first or I2S format, selectable via SMD jumper labeled as OUT SET, by positioning it to an appropriate position marked as 1 or 0.
This Click board™ also has an onboard digital MEMS microphone, the SPH0641LU4H-1, populated on the bottom side of the board. The MEMS microphone enables expansive sound range from audible frequency to ultrasonic (100Hz – 80kHz). Even though it is placed on the bottom side, with the help of the top side opening marked with MIC, an uninterrupted flow of sound to the microphone is enabled. Also, microphone data processing selection via SMD jumper labeled as MIC SEL is possible by positioning it to an appropriate position marked as 1 or 0, on which clock edge data will be asserted or latched.
The BM83 communicates with MCU using the UART interface with commonly used UART RX and TX pins. It operates at 115200 bps by default configuration to transmit and exchange data with the host MCU. In addition to interface pins, this Click board™ also uses a Reset pin, RST pin on the mikroBUS™ socket, MOD pin routed to the INT pin of the mikroBUS™ socket used to enter Test Mode during reset, and MFB pin routed to the PWM pin of the mikroBUS™ socket used for BM83 Wake-Up feature. Also, this Click board™ comes with several audio control buttons, such as volume up/down, rewind/forward, play/pause, and one multifunction button, as well as with two additional LED indicators, blue and red LEDs labeled as LED1, and LED2 used for optional user-configurable visual indication.
Even though this board uses both mikroBUS ™ power rails, this Click board ™ can only be operated with a 3.3V logic voltage level, selectable through VBAT SEL jumper, which provides the possibility of power supply by 3V3 or external battery. 5V is used only for the internal adapter used to charge the battery in battery-powered applications. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board ™ equipped comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
Specifications
Type
BT/BLE
Applications
Can be used for Bluetooth audio applications, more precisely, for a smartphone (source) streaming audio to a speaker
On-board modules
BM83 – fully certified Bluetooth v5.0 stereo audio module with high-performing voice and audio post-processing capability for Bluetooth audio applications from Microchip
Key Features
Stereo audio module is built around the IS2083BM SoC, qualified for Bluetooth v5.0, Inter-IC Sound interface, high resolution up to 24-bit, 96 kHz audio data format, noise reduction, acoustic echo cancellation (AEC), and EQ filtering, and more
Interface
UART
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V,5V
Pinout diagram
This table shows how the pinout on BT Audio 3 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
LD2-LD3 | LD1-LD2 | – | User-Configurable LED Indicators |
JP1 | MIC SEL | Left | Microphone Data Processing Selection 1/0: Left position 1, Right position 0 |
JP2 | VBAT SEL | Left | BM83 Power Supply Selection 3V3/BAT: Left position 3V3, Right position BAT |
JP3 | OUT SET | Left | Audio Data Interface Format Selection 1/0: Left position 1, Right position 0 |
T1 | – | Populated | Volume-Up Button |
T2 | – | Populated | Volume-Down Button |
T3 | – | Populated | Play/Pause Button |
T4 | – | Populated | Forward Button |
T5 | – | Populated | Reverse Button |
T6 | – | Populated | Multi-function Button |
BT Audio 3 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | – | 3.3 | – | V |
Frequency Range | 2.4 | – | 2.48 | GHz |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the BT Audio 3 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for BT Audio 3 Click driver.
Key functions
-
btaudio3_set_device_name
This function sets the local device name. -
btaudio3_music_control
This function sends a music control command with a desired action. -
btaudio3_set_eq_mode
This function sets the equalizer mode.
Example Description
This example demonstrates the use of BT Audio 3 Click board™ by reading the commands received from remote device and performing adequate actions accordingly.
void application_task ( void )
{
if ( BTAUDIO3_OK == btaudio3_read_event ( &btaudio3 ) )
{
btaudio3_event_handler ( &btaudio3 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.BTAudio3
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.