How does it work?
AudioAmp Click is based on the LM48100Q-Q1, a Boomer™ mono, 1.3W audio power amplifier with output fault detection and volume control from Texas Instruments. It has an input mixer and multiplexer, high PSRR, short circuit and thermal protection, advanced click-and-pop suppression, and more. Dual audio input can be mixed/multiplexed to the device output with an independent 32-step volume control. The high power supply rejection ratio (PSRR) allows the device to operate in noisy environments without additional power supply conditioning. In addition, its superior click-and-pop suppression eliminates audible transients on power up/down and during a shutdown.
As mentioned, the LM48100Q-Q1 also features a comprehensive output fault detection system that senses the load conditions, protects the device during short circuit events, and detects open circuit conditions. There are two functional modes for fault diagnostics. In One-Shot mode, after performing the test sequence, enable diagnostic bit is ignored, and the test sequence will not be rerun. In Continuous diagnostic mode, the test sequence is repeated until the device is reset, taken out of this mode, or a fault condition occurs.
The AudioAmp Click communicates with the host MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast mode operation up to 400KHz. The I2C address can be chosen over the ADDR selection jumper, with 0 selected by default. The fault conditions can be observed via the FLT pin of the mikroBUS™ socket, with a LOW logic state if a fault condition has occurred.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the PWR SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Specifications
Type
Amplifier
Applications
Can be used for the development of applications such as audio amplifier for sound reproduction, hands-free car kits, multimedia user interfaces and more
On-board modules
LM48100Q-Q1 – Boomer™ Mono, 1.3W audio power amplifier from Texas Instruments
Key Features
Individual 32 step volume control over I2C interface, One-Shot and Continuous diagnostic fault modes, short circuit and thermal protection, high PSRR (power supply rejection ratio), advanced click-and-pop suppression, 3.5mm audio dual input, screw terminal connector for 1.3W 8 Ohm passive speaker, fault detection, and more
Interface
I2C
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on AudioAmp 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 |
---|---|---|---|
– | PWR | – | Power LED Indicator |
– | PWR SEL | Left | Power Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
– | ADDR SEL | Right | I2C Address Selection 0/1: Left position 1, Right position 0 |
AudioAmp Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Output Power | – | – | 1.3 | W |
Load Impedance | – | 8 | – | Ω |
Software Support
We provide a library for the AudioAMP Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for AudioAMP Click driver.
Key functions
-
Set mux volume function
-
Set channel volume function
-
Set normal opeation function
Example Description
AudioAmp Click is a stereo audio amplifier
void application_task ( void )
{
log_printf( &logger, " Set volume to lvl 15 rn" );
log_printf( &logger, " for the next 10 sec. rn" );
audioamp_set_volume( &audioamp, 15 );
Delay_ms( 10000 );
log_printf( &logger, "----------------------rn" );
log_printf( &logger, " Set volume to lvl 5 rn" );
log_printf( &logger, " for the next 15 sec. rn" );
audioamp_set_volume( &audioamp, 5 );
Delay_ms( 15000 );
log_printf( &logger, "----------------------rn" );
log_printf( &logger, " Set volume to lvl 10 rn" );
log_printf( &logger, " for the next 20 sec. rn" );
audioamp_set_volume( &audioamp, 10 );
Delay_ms( 20000 );
log_printf( &logger, "----------------------rn" );
log_printf( &logger, " Mute mode rn" );
log_printf( &logger, " for the next 5 sec. rn" );
audioamp_mute_mode( &audioamp );
Delay_ms( 5000 );
log_printf( &logger, "----------------------rn" );
log_printf( &logger, " Unmute mode rn" );
audioamp_unmute_mode( &audioamp );
Delay_ms( 100 );
log_printf( &logger, "----------------------rn" );
}
void main ( void )
{
application_init( );
for ( ; ; )
{
application_task( );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.AudioAmp
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 MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE 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.