MCP4728 device library

2018-07-25
2020-09-07
  • johan76swart - 2018-07-25

    Hello fellow Raspberry enthusiast!

    Here is a device library for the MCP4728 4-Channel 12-bit DAC, default address = 0x60.

    Input an integer 0-4095 for each channel.

    MCP4728.devdesc.xml [2.38 KiB] (forum.codesys.com)

    I2C_MCP4728.library [335.03 KiB] (forum.codesys.com)

     
  • matthias25881 - 2018-11-20

    Hi, can you tell me how you wiring the mcp4728 to the pi???
    im confused about the ldac and the rdy/bsy pin.
    regards Matthias

     
  • phenixrb - 2020-09-07

    hi, I think there is an error for the type ,to be confirmed, because I'm not sure :

    "Set the Type to 502 for all I2C devices
    <devicedescription>
    ...
    <device>
    ...
    <deviceidentification>
    ...
    <type> 502 </type>
    ...
    </deviceidentification>
    ...
    </device>
    ...
    </devicedescription> "

    in the xml file the type is 501, as for the SPI devices.

    thanks

     

Log in to post a comment.