Wednesday, July 26, 2017

Interfacing with TLC5628 8-channel 8-bit DAC



The TLC5628 is an 8-channel, 8-bit DAC. To interface with a 5V microcontroller, simply connect three output pins to the data pin, clock pin and load pin on the TLC5628. The LDAC pin can be connected to ground. REF1 and REF2 can be connected to 5V. DACA to DACH provide an 8-bit voltage based on the data written. 


To write data to the TLC5628, shift out the address of the DAC channel and DAC value (or use the SPI bus pins). The DAC address from 0 - 7 is shifted left by 1, followed by a DAC value from 0 - 255. 





0 comments: