• AVR Freaks

Initialize multiple MCP4728 I2C slaves with the same address

Author
analog arsonist
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2016/11/02 16:41:30
  • Location: 0
  • Status: offline
2019/08/19 17:17:37 (permalink)
0

Initialize multiple MCP4728 I2C slaves with the same address

Someone posted this question in like 2013 with same subject line but I didn't see a clear answer. If I have multiple MCP4728 devices on a shared I2C bus, each with the same address, can I program the address of each device by using their respective LDAC pins? For example, if I had four devices on the same I2C bus all coming from the factory with an address of 0h, can I program new addresses into each device from a test header with the following pins?
1. SDA
2. SCL
3. LDAC1
4. LDAC2
5. LDAC3
6. LDAC4
 
The datasheet seems to imply it's possible, but I want to make sure before building boards.
 
Thanks!
#1

3 Replies Related Threads

    mbrowning
    Just a Member
    • Total Posts : 1504
    • Reward points : 0
    • Joined: 2005/03/16 14:32:56
    • Location: Melbourne, FL
    • Status: online
    Re: Initialize multiple MCP4728 I2C slaves with the same address 2019/08/22 15:18:12 (permalink)
    0
    Why do you think the datasheet only implies? Seems pretty explicit to me

    Oh well - there's always next year
    #2
    Gort2015
    Klaatu Barada Nikto
    • Total Posts : 3233
    • Reward points : 0
    • Joined: 2015/04/30 10:49:57
    • Location: 0
    • Status: offline
    Re: Initialize multiple MCP4728 I2C slaves with the same address 2019/08/22 15:32:26 (permalink)
    0
    If it's in the specs...

    MPLab X playing up, bug in your code? Nevermind, Star Trek:Discovery will be with us soon.
    https://www.youtube.com/watch?v=Iu1qa8N2ID0
    + ST:Continues, "What Ships are Made for", Q's back.
    #3
    NKurzman
    A Guy on the Net
    • Total Posts : 17709
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: online
    Re: Initialize multiple MCP4728 I2C slaves with the same address 2019/08/22 15:32:45 (permalink)
    0
    Yes it works but the I2C in not standard. You need to make some modified I2C to do the change.
    You can do it from the CPU controlling them too.
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5