I am asking about mux, how to use multiple mcp4728 with tca9548? Thank you
Hi,
Read the datasheet it is say that you can use the LDAC Pin to select the device.
This pin can be driven by an external control device
such as an MCU I/O pin. This pin is used to:
a) transfer the contents of the input registers to
their corresponding DAC output registers and
b) select a device of interest when reading or writing I2 C address bits
It means I am not need the multiplexer?
And when l use the mux do you have any ideas for programming? thank you sure
Wire each mcp4728 (I2C quad DAC) to one of the 8 multiplexed I2C connections on the tca9548. Tell the TCA9548 which I2C bus you want to talk to and then address the DAC as usual. That will give you 32 analog outputs for each TCA9548+8xMCP4728. You can have up to 8 TCA9548 chips so 256 total analog outputs are possible.
If you want all of the outputs to change at the same time, connect all the LDAC pins together to an Arduino pin. Then you can latch the outputs while you change data and release the latches all at once.
Look at the tutorials from Adafruit:
If you don't want to use the code that adafruit provides but rather pay someone to write custom code for you, click on the "Flag" button below and ask a moderator to move your post to the Jobs and Paid Consultancy section.
we all don't understand at first. The only way is to study.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.