public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* (unknown), 
@ 2011-11-07 11:25 Wayne Tams
       [not found] ` <CAN=k24=x1MQaSu2b-tz6-8BvwW4WfY5e47z21Vdf+B6D93xQtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Wayne Tams @ 2011-11-07 11:25 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA

Hello,

I have been tasked with writing a driver for a Microchip Quad DAC with
EEPROM memory, MCP4728 if you would like to look it up. This device
has a feature that I have not come across before, the device's I2C
address is set in software and stored in the EEPROM as opposed to
using hardware. The factory default address for the MCP4728 is 0x60
and to avoid conflict it needs to be changed. The datasheet tells me I
must switch the LDAC pin from high to low at the last bit of the
second byte in the I2C message and it must stay low until the end of
the third byte.

I am wondering if there are any other devices within the kernel source
that support this type of address setup? I am assuming that the normal
set of I2C/SMBUS functions will not be enough to program a new address
since I will need some sort of mechanism to switchthe LDAC pin?

Kind regards

Wayne

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-08 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 11:25 (unknown), Wayne Tams
     [not found] ` <CAN=k24=x1MQaSu2b-tz6-8BvwW4WfY5e47z21Vdf+B6D93xQtQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-08  7:45   ` MCP4728 address change Jean Delvare
     [not found]     ` <20111108084545.7ed3db9d-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2011-11-08 10:56       ` Wayne Tams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox