







How Does The Audio DAC Click Board™ Work?
The Audio DAC Click Board™ is based on a combination of DIR9001 and PCM5142, a digital audio interface receiver and audio stereo DAC from Texas Instruments, suitable for upgrading your audio equipment. The DIR9001 audio receiver can accept signals up to a 108kHz sampling rate at the highest, 24-bit data word, biphase-encoded signal, and complies with the jitter specification IEC60958-3, JEITA CPR1205 (Revised version of EIAJ CP-1201), AES3, and EBUtech3250. These signals are brought to the DIR9001 via an onboard fiber optic S/PDIF connector, better known as Sony/Philips digital interface format, a digital audio interface often used in consumer audio equipment. After receiving the signals, the DIR9001 forwards them for further processing by the stereo audio DAC, the PCM5142, also from Texas Instruments.
The PCM5142 has a fully programmable miniDSP core, allowing developers to integrate filters, dynamic range controls, custom interpolators, and other differentiating features into their applications. It uses the latest generation of TI's advanced segment-DAC architecture to achieve excellent dynamic performance, detailed heights, and an exceptionally good sound stage. Compared with existing DAC technology, the PCM5142 offers up to 20dB lower out-of-band noise, reducing EMI and aliasing in downstream amplifiers/ADCs, accept industry-standard audio data formats with 16- to 32-bit data, and sample rates up to 384kHz. After stereo DAC processing, the output audio signal is available to users for further use on the 3.5mm-line output audio jack, making it suitable for various multimedia systems, satellite radio, CD and DVD players, and more.
The PCM5142 communicates with MCU using the standard I2C 2-Wire data transmission protocol that supports Standard-Mode (100 kHz) and Fast-Mode (400 kHz) operations. In addition to communication pins, this board has several additional functions, providing users with application flexibility. Besides the I2C signals, the mikroBUS™ also has an auto-mute function routed to the MUT pin on the mikroBUS™ socket to mute the device upon intentional or unintentional power loss, as well as one user-configurable general-purpose pin, the IO4 pin of the mikroBUS™ socket. The onboard button labelled as RST can reset the DIR9001 audio receiver.
The Audio DAC Click Board™ can only be operated with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used as a reference for further development.
SPECIFICATIONS
Type | Speakers |
Applications | Can be used for portable electronics and audio systems, such as multimedia systems, satellite radio, CD and DVD players, and more |
On-board modules | PCM5142 - 32-bit 384kHz audio stereo DAC from Texas Instruments DIR9001 - digital audio receiver from Texas Instruments |
Key Features | 24-bit/96kHz signals at the highest via S/PDIF optical cable, complies with various digital audio standards, latest generation of TI's advanced segment-DAC architecture, excellent dynamic performance, detailed heights, and an exceptionally good sound stage, soft-mute, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Audio DAC 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 | MUT | Soft-Mute | |
NC | 2 | RST | INT | 15 | IO4 | General-Purpose I/O | |
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 |
T1 | RST | - | Reset Button |
AUDIO DAC CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Audio Receiver Frequency Range | 28 | - | 108 | kHz |
Software Support
We provide a library for the Audio DAC 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 Audio DAC Click Board™ driver.
Key functions
-
audiodac_get_gpio4_pin
This function returns the GPIO4 pin logic state. The GPIO4 pin is mapped to auto-mute flag output for both L and R channels by default. -
audiodac_volume_control
This function sets the volume level for the selected output channel.
Example Description
This example demonstrates the use of the Audio DAC Click Board™ by controlling the volume level of both output channels.
void application_task ( void )
{
static uint8_t volume = AUDIODAC_VOLUME_MUTE;
if ( audiodac_get_gpio4_pin ( &audiodac ) )
{
log_printf ( &logger, " Auto mute flag (both L and R channels are auto muted)rn" );
// Wait until the channels are auto unmuted, i.e. until a valid digital signal is received
while ( audiodac_get_gpio4_pin ( &audiodac ) );
}
if ( AUDIODAC_OK == audiodac_volume_control ( &audiodac, AUDIODAC_CHANNEL_BOTH, volume ) )
{
log_printf ( &logger, "rn Volume: " );
if ( AUDIODAC_VOLUME_MUTE == volume )
{
log_printf ( &logger, "MUTErn" );
Delay_ms ( 3000 );
}
else if ( AUDIODAC_VOLUME_MAX == volume )
{
log_printf ( &logger, "MAXrn" );
Delay_ms ( 3000 );
}
else
{
log_printf ( &logger, "%urn", ( uint16_t ) volume );
Delay_ms ( 100 );
}
volume++;
if ( volume > AUDIODAC_VOLUME_MAX )
{
volume = AUDIODAC_VOLUME_MUTE;
}
}
}
The full 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.AudioDAC
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 Audio DAC 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.
Audio DAC Click Board
Frequently Asked Questions
Ask a Question-
What applications is the Audio DAC Click Board™ suitable for?
The Audio DAC Click Board™ is suitable for a wide range of applications, including multimedia systems, satellite radio, CD and DVD players, portable electronics, and audio systems.
-
What is the mikroBUS™ socket?
The mikroBUS™ socket is a standardized socket that allows for easy integration of add-on boards like the Audio DAC Click Board™ onto a system. It is designed to simplify hardware and software development and is widely used in the embedded systems industry.
-
Is the Audio DAC Click Board™ easy to use?
Yes, the Audio DAC Click Board™ is easy to use. It is supported by a mikroSDK-compliant library, which includes functions that simplify software development. The Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
-
What are the benefits of using the Audio DAC Click Board™?
The Audio DAC Click Board™ can enhance the audio performance of your audio equipment, resulting in better sound quality. It is suitable for portable electronics and audio systems and is a perfect solution for multimedia systems, satellite radio, CD and DVD players, and more.
-
What is the DIR9001?
The DIR9001 is a digital audio receiver from Texas Instruments that is used in the Audio DAC Click Board™. It can receive 24-bit/96kHz signals at the highest via S/PDIF optical cable and complies with various digital audio standards, like IEC60958-3, JEITA CPR-1205, AES3, and EBUtech3250.
-
What is the PCM5142?
The PCM5142 is a 32-bit 384kHz audio stereo DAC used in the Audio DAC Click Board™. It is designed to provide excellent dynamic performance, detailed highs, and an exceptionally good sound stage.
-
What is a DAC?
DAC stands for digital-to-analog converter. It is a device that converts digital audio signals into analog audio signals with this Click Board™. This conversion is necessary for audio equipment to produce sound.
-
What is the Audio DAC Click Board™?
The Audio DAC Click Board™ is a small add-on board designed to enhance the audio performance of your audio equipment. It features the PCM5142, a 32-bit 384kHz audio stereo DAC with the DIR9001 digital audio receiver from Texas Instruments.