# Title: DAC 12 Click Board™ ## Description: How Does The DAC 12 Click Board™ Work? The DAC 12 Click Board™ is based on the DAC60508, a low-power voltage-output 8-channel 12-bit digital-to-analog converter (DAC) from Texas Instruments. Each output channel in the DAC60508 consists of an R-2R ladder architecture, followed by an output buffer amplifier. It also includes a 2.5V, 5ppm/°C internal reference, eliminating the need for an external precision reference in most applications, and a user interface-selectable gain configuration that provides full-scale output voltages of 1.25V, 2.5V, or 5 V. The DAC 12 Click Board™ communicates with MCU through a flexible serial interface compatible with SPI-type interfaces used on many microcontrollers and DSP controllers, with a maximum frequency of 50 MHz. The input data are written to the individual DAC data registers in straight binary format, where after a Power-On or a reset event, all DAC registers are set to a mid-scale code. Data written to the DAC data registers are initially stored in the DAC buffer registers. Data transfer from the DAC buffer registers to the active DAC registers can be configured to happen immediately using the asynchronous mode or initiated by an LDAC trigger in synchronous mode. Once the DAC active registers are updated, the DAC outputs change to new values. When the host reads from a DAC data register, the value held in the DAC buffer register is returned (not the value stored in the DAC active register). The DAC 12 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development. SPECIFICATIONS Type DAC Applications The DAC 12 Click Board™ can be used for digital gain and offset adjustment applications, programmable voltage, and current sources, programmable reference, and many more On-board modules DAC60508 - octal 12-bit analog voltage-output DAC from Texas Instruments Key Features Low power consumption, high performance, integrated 2.5V internal reference, high precision, flexible output configuration, SPI compatible interface, and more Interface SPI Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout of the DAC 12 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 NC 2 RST INT 15 NC SPI Chip Select CS 3 CS RX 14 NC SPI Clock SCK 4 SCK TX 13 NC SPI Data OUT SDO 5 MISO SCL 12 NC SPI Data IN SDI 6 MOSI SDA 11 NC 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 DAC 12 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage 3.3 - 5 V Output Voltage Range 0 - 5 V Resolution 12 - - bits Operating Temperature Range -40 +25 +120 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, DAC, Mixed Signal ## Price range: 35.0 - 35.0 GBP ## Link: https://thedebugstore.com/products/mikroe-5097-dac-12-click-board-uk ## Compare-at price range: 50.0 - 50.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Mixed Signal Click Boards™](https://thedebugstore.com/a/llms/collections/mixed-signal-click-boards-catalogue-uk) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [DAC Click Boards™](https://thedebugstore.com/a/llms/collections/dac-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-5097, Available: yes, Inventory: 1 ## Metafields - title_tag: MikroE DAC 12 Click Board™ (MIKROE-5097) - description_tag: The DAC 12 Click Board™ is a compact add-on board that contains a highly accurate digital-to-analog converter. This board features the DAC60508, a general-purpose octal 12-bit analog voltage-output DAC from Texas Instruments. Available from Debug Store UK. - badge:
- widget:The DAC 12 Click Board™ is based on the DAC60508, a low-power voltage-output 8-channel 12-bit digital-to-analog converter (DAC) from Texas Instruments. Each output channel in the DAC60508 consists of an R-2R ladder architecture, followed by an output buffer amplifier. It also includes a 2.5V, 5ppm/°C internal reference, eliminating the need for an external precision reference in most applications, and a user interface-selectable gain configuration that provides full-scale output voltages of 1.25V, 2.5V, or 5 V.

The DAC 12 Click Board™ communicates with MCU through a flexible serial interface compatible with SPI-type interfaces used on many microcontrollers and DSP controllers, with a maximum frequency of 50 MHz. The input data are written to the individual DAC data registers in straight binary format, where after a Power-On or a reset event, all DAC registers are set to a mid-scale code.
Data written to the DAC data registers are initially stored in the DAC buffer registers. Data transfer from the DAC buffer registers to the active DAC registers can be configured to happen immediately using the asynchronous mode or initiated by an LDAC trigger in synchronous mode. Once the DAC active registers are updated, the DAC outputs change to new values. When the host reads from a DAC data register, the value held in the DAC buffer register is returned (not the value stored in the DAC active register).
The DAC 12 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.
| Type | DAC |
| Applications | The DAC 12 Click Board™ can be used for digital gain and offset adjustment applications, programmable voltage, and current sources, programmable reference, and many more |
| On-board modules | DAC60508 - octal 12-bit analog voltage-output DAC from Texas Instruments |
| Key Features | Low power consumption, high performance, integrated 2.5V internal reference, high precision, flexible output configuration, SPI compatible interface, and more |
| Interface | SPI |
| Compatibility | mikroBUS |
| Click board size | M (42.9 x 25.4 mm) |
| Input Voltage | 3.3V or 5V |
This table shows how the pinout of the DAC 12 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 | ||
| NC | 2 | RST | INT | 15 | NC | ||
| SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
| SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
| SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
| SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
| Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| 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 |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Supply Voltage | 3.3 | - | 5 | V |
| Output Voltage Range | 0 | - | 5 | V |
| Resolution | 12 | - | - | bits |
| Operating Temperature Range | -40 | +25 | +120 | °C |
We provide a library for the DAC 12 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika 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.
This library contains API for the DAC 12 Click Board™ driver.
Key functions
dac12_soft_reset This function executes the software reset command.
dac12_set_channel_value This function sets the raw DAC value to the specific channels output.
dac12_set_channel_voltage This function sets the output voltage of the specific channels.
This example demonstrates the use of the DAC 12 Click board™ by changing the outputs voltage level every 2 seconds.
void application_task ( void )
{
float step = DAC12_INTERNAL_VREF / NUMBER_OF_STEPS;
float output_voltage = step;
for ( uint8_t cnt = 0; cnt < NUMBER_OF_STEPS; cnt++ )
{
if ( DAC12_OK == dac12_set_channel_voltage ( &dac12, DAC12_SELECT_CHANNEL_ALL, output_voltage ) )
{
log_printf( &logger, " All channels output voltage set to %.3f Vrn", output_voltage );
output_voltage += step;
Delay_ms( 2000 );
}
}
}
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:
Depending on the development board you are using, you may need a 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.
The DAC 12 Click board™ is supported with mikroSDK - MikroElektronika 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.
- manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - backorder_label: If no stock shown above, check availability - feature_2: Low power consumption, high performance, integrated 2.5V internal reference, high precision, flexible output configuration, SPI compatible interface, and more - feature_3: Can be used for digital gain and offset adjustment applications, programmable voltage, and current sources, programmable reference, and many more - attachments: [{"download_file":[{"download_file":"DAC 12 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments DAC60508 12-bit DAC Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - mpn: MIKROE-5097 - mpn: MIKROE-5097 - custom_label_0: Click Board - google_product_category: Electronics - condition: new - custom_product: false - key_feature_2: Low power consumption, high performance, integrated 2.5V internal reference, high precision, flexible output configuration, SPI compatible interface, and more - key_feature_3: Low power consumption, high performance, integrated 2.5V internal reference, high precision, flexible output configuration, SPI compatible interface, and more - key_feature_4: Can be used for digital gain and offset adjustment applications, programmable voltage, and current sources, programmable reference, and many more - key_feature_5: mikroBUS: SPI Interface - device_vendor: Texas Instruments - device_type: DAC60508MRTER - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - target_keyword: DAC 12 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545314493"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The DAC 12 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DAC 12 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the DAC60508, a low-power voltage-output 8-channel 12-bit digital-to-analog converter (DAC) from Texas Instruments. Each output channel in the DAC60508 consists of an R-2R ladder architecture, followed by an output buffer amplifier. It also includes a 2.5V, 5ppm/°C internal reference, eliminating the need for an external precision reference in most applications, and a user interface-selectable gain configuration that provides full-scale output voltages of 1.25V, 2.5V, or 5 V."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DAC 12 Click Board™","bold":true},{"type":"text","value":" communicates with MCU through a flexible serial interface compatible with SPI-type interfaces used on many microcontrollers and DSP controllers, with a maximum frequency of 50 MHz. The input data are written to the individual DAC data registers in straight binary format, where after a Power-On or a reset event, all DAC registers are set to a mid-scale code."}]},{"type":"paragraph","children":[{"type":"text","value":"Data written to the DAC data registers are initially stored in the DAC buffer registers. Data transfer from the DAC buffer registers to the active DAC registers can be configured to happen immediately using the asynchronous mode or initiated by an LDAC trigger in synchronous mode. Once the DAC active registers are updated, the DAC outputs change to new values. When the host reads from a DAC data register, the value held in the DAC buffer register is returned (not the value stored in the DAC active register)."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"DAC 12 Click Board™","bold":true},{"type":"text","value":" can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nDAC\nApplications\nThe DAC 12 Click Board™ can be used for digital gain and offset adjustment applications, programmable voltage, and current sources, programmable reference, and many more\nOn-board modules\nDAC60508 - octal 12-bit analog voltage-output DAC from Texas Instruments\nKey Features\nLow power consumption, high performance, integrated 2.5V internal reference, high precision, flexible output configuration, SPI compatible interface, and more\nInterface\nSPI\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":"DAC 12 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nNC\n2\nRST\nINT\n15\nNC\nSPI Chip Select\nCS\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT\nSDO\n5\nMISO\nSCL\n12\nNC\nSPI Data IN\nSDI\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nVCC SEL\nLeft\nLogic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"DAC 12 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n3.3\n-\n5\nV\nOutput Voltage Range\n0\n-\n5\nV\nResolution\n12\n-\n-\nbits\nOperating Temperature Range\n-40\n+25\n+120\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:The DAC 12 Click Board™ is a compact add-on board that contains a highly accurate digital-to-analog converter. This board features the DAC60508, a general-purpose octal 12-bit analog voltage-output DAC from Texas Instruments. It includes a 2.5V, 5ppm/°C internal reference, eliminating the need for an external precision reference in most applications, and supports the SPI serial interface, which operates at clock rates up to 40MHz. A user interface-selectable gain configuration provides full-scale output voltages of 1.25V, 2.5V, or 5 V. This Click board™ represents an excellent choice for digital gain and offset adjustment applications, programmable voltage, and current sources, programmable reference, and many more.
The DAC 12 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.