Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use LINX/Ardunio to control an I2C DAC with 10-bit addressing

We are interested in using a MCP4728 (Adafruit breakout board) DAC, controlled by an Arduino board. The MCP4728 uses 10-bit I2C addressing.  The I2C VI's in LINX seem to only support 8-bit addressing. Is there a way to modify them to support 10-bit addressing?

 

Thanks for the help

0 Kudos
Message 1 of 2
(833 Views)

Hey TSBelmont,

 

took a fast look at datasheet and could not find the information on 10-bit addressing. for slave addressing you should use:

jorgemondadori_0-1655983218014.png

 

and the write to output registers is also byte (8bit) addressed.

jorgemondadori_1-1655983384554.png

 

Can you describe a bit more your issues, needs, maybe share a code of what you have tried?

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 2 of 2
(803 Views)