How does it work?
AudioAMP 12 Click is based on the TS2007FC, a filter-free class-D audio amplifier from STMicroelectronics. The amplifier can work in differential configuration or single-ended input configuration. You can choose one over the INPUT SEL jumper, where the SE (single-ended) is set by default. The amplifier is a monolithic, fully differential input/output amplifier, which includes a common mode feedback loop that controls the output bias value to average it in correlation to the DC common mode input voltage range. This, in turn, allows the amplifier always to have a maximum output voltage swing and maximize the output power. Compared to the single-ended topology, the output is four times higher for the same power supply voltages.
The amplifier allows switching between two fixed gains: 6 or 12dB (2 or 4V/V gain). It also features thermal shutdown protection, output short-circuit protection, and a low pop-and-click noise, where the signal-to-noise ratio is typically 90dB. The pop-and-click reduction circuitry and low ON/OFF switching noise allow the amplifier to start within the 1ms typically. You can also choose the Standby mode function, which keeps the current consumption down to 1μA.
This Click board™ features a standard 3.5mm audio jack to connect the audio input. In addition to the audio jack, there is also an unpopulated 3-pin header if you want to connect the audio input by other means. AudioAMP 12 Click allows connecting one speaker over the onboard terminal. This Click board™ uses general-purpose input/output pins to communicate with the host MCU. You can select one of the available gains with IOs logic states using the GS pin. The STB pin is a Standby pin with active LOW logic.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this 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 PDAs and other various types of consumer audio equipment applications
On-board modules
TS2007FC – filter-free class-D audio amplifier from STMicroelectronics
Key Features
Two fixed selectable gains, standby mode, low power consumption, good efficiency, differential configuration, single-ended configuration, PWM base frequency of 280KHz, thermal shutdown protection, output short-circuit protection, low pop and click noise, good SNR ratio, up to 2.3W, and more
Interface
GPIO
Feature
ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on AudioAMP 12 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 |
JP1 | VCC SEL | Left | Power/Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | INPUT SEL | Left | Input Configuration Selection SE/DIF: Left position SE, Right position DIF |
AudioAMP 12 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Output Power | – | – | 2.3 | W |
Load Impedance | – | – | 8 | Ω |
Software Support
We provide a library for the AudioAMP 12 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 12 Click driver.
Key functions
-
audioamp12_change_gain
AudioAMP 12 changes the gain function. -
audioamp12_gain_select
AudioAMP 12 select gain level function. -
audioamp12_set_mode_operation
AudioAMP 12 set operation mode function.
Example Description
This example demonstrates the use of AudioAMP 12 Click board™. The library contains an API for switching between two gain settings and device control selection between operation and standby mode.
void application_task ( void )
{
audioamp12_change_gain( &audioamp12 );
log_printf( &logger, " The gain level has been changed.rn" );
Delay_ms( 5000 );
}
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.AudioAMP12
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.