This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DAC7678EVM_Interfacing

Other Parts Discussed in Thread: DAC7678

Sir,

I want to interface DAC7678 to my Raspberrypi (I2C Interfacing). Please tell me how to start and please show me the connection diagram of this. I want to perform DAC and ADC Interfacing. Please help me.

  • Hi Rakesh,

    I can't really comment on the Raspberry Pi I2C configuration, I would suggest going to the AdaFruit forums and requesting some help there. I believe that they should have software to use the GPIOs as an I2C interface.

    Once you have that information you can start building the I2C interface with the DAC7678.

    I wanted to give you a couple of quick references from the datasheet for you to use.

    Looking at Figure 92 you can see that I2C sends byte (8bits) sized packets followed by an ACK. Typically the first byte is reserved for the address of the device and each byte following that is information for the slave device.

    Table 7 shows that the complete DAC7678 I2C interface consists of 4 bytes, including the address byte.

    In order to know what information to include in the Command, MSDB & LSDB bytes you must look at the control matrix in Table 17. I only included a small snippet for reference, but I recommend that you look at the full table in the datasheet.

  • Can you give some code so that it can work ? Actually I have tried somuch. Actually Arduino.h  file isnot available for DAC connection with I2c support . Please help me.

  • I wish I could help. We don't have any code for the Raspberry Pi I2C controller. This code is dependent on the MCU controller, not on the DAC device. After a little googling I was able to find this page on AdaFruit. It should help you get started implementing I2C interface.