Re: [PATCH v2 0/2] add mcp4728 I2C DAC driver​

From: Andrea Collamati
Date: Mon Jul 17 2023 - 08:23:35 EST


On 7/17/23 09:17, Krzysztof Kozlowski wrote:
>>> Shouldn't this binding be just merged with existing mcp4725? Are you
>>> sure it's not similar device, IOW, are you sure you do not have vref supply?
>>>
>> Unfortunately they are not that similar. MCP4728 has two vref choices:
>>
>> - Use Vdd (power supply) as Vref
>>
>> - User Internal 2.048 V Vref source.
> Exactly the same as existing mcp4726, so what is the problem?

MCP4726 has 2 separate pins, VDD and VREF that can be both used as external Vref depending on configuration.

MCP4728 has only one external vref pin, VDD pin. The other vref source is internal and fixed to 2.048V.

Furthermore MCP4728  has four independent channels. For each channels it's possible to choose whether

using VDD (External VRef) or 2.048V (Internal Vref).

Best regards

            Andrea