I'm trying to interface with a DSD1793 IC via I2C, it needs two addresses in a row before you can start to read or write from the bus. I have I2C working on an amplifier and all I have to do is send the slave address (with read or write bit) and then read all the registers at once. However it seems I need to specifically add the register address after the slave address for this DAC. I see that you can read one register at a time with I2C but I don't see where you specify the register address that you are attempting to read.
Maybe someone has a suggestion.
Thanks,
Ryan
Hey all,
I'm trying to interface with a DSD1793 IC via I2C, it needs two addresses in a row before you can start to read or write from the bus. I have I2C working on an amplifier and all I have to do is send the slave address (with read or write bit) and then read all the registers at once. However it seems I need to specifically add the register address after the slave address for this DAC. I see that you can read one register at a time with I2C but I don't see where you specify the register address that you are attempting to read.
Maybe someone has a suggestion.
Thanks,
Ryan
I've been looking over this and I still can't see the solution, it must be simple because it seems that this is how a lot of I2C devices work (slave address -> register address -> r/w data).
Help!
I've been looking over this and I still can't see the solution, it must be simple because it seems that this is how a lot of I2C devices work (slave address -> register address -> r/w data).
Help!
thanks Wim, that's exactly what I was looking for. I'm gonna try it out right now.
thanks Wim, that's exactly what I was looking for. I'm gonna try it out right now.
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
Hey all,
I'm trying to interface with a DSD1793 IC via I2C, it needs two addresses in a row before you can start to read or write from the bus. I have I2C working on an amplifier and all I have to do is send the slave address (with read or write bit) and then read all the registers at once. However it seems I need to specifically add the register address after the slave address for this DAC. I see that you can read one register at a time with I2C but I don't see where you specify the register address that you are attempting to read.
Maybe someone has a suggestion.
Thanks,
Ryan