I am having difficulty in understanding how to address an individual DAC Pot in the AD5144. I understand that I need to address the device according to the configuration of ADDR0 and ADDR1, but beyond that I am not sure. I would appreciate help from anyone who may have programmed this device
Would you be elaborate on which part of the programming are you being confused by? Details of the I2C serial data interface can be found at page 25 of the Rev A datasheet.
Hi Mark. Thanks for your response.
I have read the description on page 25. It explains how to address a slave device by sending a 7 bit address byte with R/W bit and then send 8 data bits. However, each slave device has 4 DAC Pots and it doesn't explain how to address an individual DAC Pot. For example, how can I send data to RDAC1 in slave device 00?
That would be answered by Table 14 and Table 15 on page 26. After sending the 1st byte (which is the 7-bit slave address+ R/W bit), the data bytes will follow. The 1st data byte will contain the control bits and address bits. the 2nd data byte will have the actual data to be written on the DAC. If you want to send full scale to RDAC1, you will have to send the following:
If anything is unclear, please let me know.