







How Does The AudioAMP 11 Click Board™ Work?
The AudioAMP 11 Click Board™ is based on the NAU8224, a stereo Class-D audio amplifier from Nuvoton Technology. Besides an excellent quantity performance, such as high efficiency, the NAU8224 is also characterized by high output power and low quiescent current. It can drive a 4Ω load with up to 3.1W output power. This audio amplifier is designed to reduce high-frequency emissions with the ferrite bead filters on its outputs (speaker channels). The ferrite beads have a low impedance in the audio range, and because of that, they act as a pass-through filter in the audio frequency range. Furthermore, the NAU8224 has several protection features like thermal overload, short circuit, and supply under-voltage protection allowing a reliable operation.
The AudioAMP 11 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Fast Mode operation up to 400kHz. The NAU8224 can be enabled or disabled using the EN pin of the mikroBUS™ socket, offering a switch operation to turn ON/OFF the audio amplifier. In addition to its possible digital control, the NAU8224 also has several gain settings, such as 6dB, 12dB, 18dB, and 24dB, selectable via onboard switches labelled as GAIN SEL. This audio amplifier also provides register-programmable volume control next to the hardware gain selection.
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. 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 various types of consumer audio equipment applications such as personal media players, portable MP3 players, and more |
On-board modules | NAU8224 - audio amplifier from Nuvoton Technology |
Key Features | Powerful stereo audio amplifier, Class-D, selectable gain and volume, 4Ω load drive, high efficiency and performance, I2C interface, low power consumption, Click Board™-and-pop suppression, Shutdown mode, and more |
Interface | I2C |
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 of the AudioAMP 11 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
Enable | EN | 2 | RST | INT | 15 | NC | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
SW1 | GAIN SEL | Left | 24dB Gain Selection |
SW2 | GAIN SEL | Left | 18dB Gain Selection |
SW3 | GAIN SEL | Left | 12dB Gain Selection |
SW4 | GAIN SEL | Left | 6dB Gain Selection |
AUDIOAMP 11 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Load Impedance | - | 4 | - | Ω |
Output Power | - | - | 3.1 | W |
Software Support
We provide a library for the AudioAMP 11 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the AudioAMP 11 Click Board™ driver.
Key functions
-
audioamp11_enable_device
AudioAMP 11 enable device function. -
audioamp11_check_gain
AudioAMP 11 check gain function. -
audioamp11_set_output_volume_level
AudioAMP 11 set output volume level function.
Example Description
This library contains API for the AudioAMP 11 Click Board™ driver. This demo application shows use of the AudioAMP 11 Click Board™.
void application_task ( void )
{
uint8_t gain_level = 0;
uint8_t volume_level = 0;
audioamp11_check_gain( &audioamp11, &gain_level );
log_printf( &logger, " Gain set to %d dBrn", AUDIOAMP11_CALC_GAIN_CONFIG( gain_level ) );
if ( AUDIOAMP11_GAINDEC_12dB == gain_level )
{
float volume_table[ 32 ] = { OUTPUT_VOLUME_12dB };
audioamp11_set_output_volume_level( &audioamp11, vol_ctrl );
Delay_ms( 100 );
if ( vol_ctrl > AUDIOAMP11_GS_12dB_VOLCTRL_12dB )
{
vol_ctrl--;
}
else
{
vol_ctrl = AUDIOAMP11_GS_12dB_VOLCTRL_m20_5dB;
}
audioamp11_get_output_volume_level( &audioamp11, &volume_level );
log_printf( &logger, " Volume set to %.1f dBrn", volume_table[ volume_level ] );
}
else
{
audioamp11_set_output_volume_level( &audioamp11, AUDIOAMP11_VOLUME_LEVEL_31 );
audioamp11_get_output_volume_level( &audioamp11, &volume_level );
}
log_printf( &logger, " Volume Level %d: ", ( uint16_t ) ( AUDIOAMP11_VOLUME_LEVEL_0 - volume_level ) );
for ( uint8_t n_cnt = 0; n_cnt < ( AUDIOAMP11_VOLUME_LEVEL_0 - volume_level ); n_cnt++ )
{
log_printf( &logger, "|" );
}
log_printf( &logger, "rn----------------------rn" );
Delay_ms( 1000 );
}
The complete application code, and ready-to-use projects can be installed directly from NECTO Studio The 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.AudioAMP11
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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. A UART terminal is available in all MikroE compilers.
MIKROSDK
The AudioAMP 11 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
AudioAMP 11 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.