headphoneamp 2.0.0.0
|
Headphone Amp Click is a compact add-on board that contains a stereo headphone amplifier. This board features the LM4811, Boomer® audio power amplifier capable of delivering 105mW per channel with digital volume control from Texas Instruments. The Boomer® amplifiers are specifically designed to provide high-quality output power with a minimal amount of external components. Since the LM4811 does not require bootstrap capacitors or snubber networks, it is optimally suited for low-power portable systems. It features a digital volume control that sets the amplifier's gain from +12dB to −33dB in 16 discrete steps, in addition to a micro-power consumption Shutdown mode.
We provide a library for the HeadphoneAMP 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 HeadphoneAMP Click driver.
headphoneamp_cfg_setup
Config Object Initialization function. headphoneamp_init
Initialization function. headphoneamp_default_cfg
Click Default Configuration function. headphoneamp_set_sound_volume
Headphone AMP set sound volume function. headphoneamp_volume_up
Headphone AMP set sound volume up function. headphoneamp_volume_down
Headphone AMP set sound volume down function. This library contains API for the Headphone AMP click driver. This demo application shows use of a Headphone AMP click board™.
The demo application is composed of two sections :
Initialization of GPIO module and log UART. After driver initialization the app set default settings, performs power-up sequence, sets a the sound volume of -12 dB.
This is an example that shows the use of Headphone AMP click board™. The app performs circles the volume from -12 dB to 3 dB back and forth, increase/decrement by 3dB. Results are being sent to the Usart 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.