headphoneamp2 2.1.0.0
|
Headphone AMP 2 Click is a compact add-on board that contains a stereo headphone amplifier. This board features the MAX9723, a stereo DirectDrive headphone amplifier with BassMax, volume control, and I2C from Analog Devices. The amplifier delivers 62mW into a 16Ω load, and features a high 90dB PSRR at 1KHz and a low 0.006% THD+N. It also features an integrated 32-level volume control, click-and-pop suppression, ±8kV HBM ESD-protected headphone outputs, short-circuit and thermal-overload protection, and more.
We provide a library for the Headphone AMP 2 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.
This library contains API for Headphone AMP 2 Click driver.
headphoneamp2_cfg_setup
Config Object Initialization function. headphoneamp2_init
Initialization function. headphoneamp2_default_cfg
Click Default Configuration function. headphoneamp2_set_command
Headphone AMP 2 set the command function. headphoneamp2_enable
Headphone AMP 2 enable the device function. headphoneamp2_disable
Headphone AMP 2 disable the device function. This example demonstrates the use of the Headphone AMP 2 Click board™, the headphone amplifier with BassMax and volume control.
The demo application is composed of two sections :
The initialization of I2C module and log UART. After driver initialization, the app sets the default configuration.
This example demonstrates the use of the Headphone AMP 2 Click board™. The application wakes up the device, enables BassMax and Maximum Gain modes, and switches the sound volume from level 1 to the max level. Results are being sent to the UART Terminal, where you can track their changes.
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:
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.