Other Parts Discussed in Thread: DAC80502, , DAC80501
Tool/software:
I am working on a design that implements 4 of these DACs running on the Raspberry Pi I2C bus. Is there a driver and/or examples available that might get me started?
Thanks
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
David,
We generally don't have any code examples for our devices. However, I did find a example header file for the DAC80502, which is the 16-bit dual version of the DAC60501. The header file was in another one of the E2E posts:
Additionally, I did google DAC80501 example code and did find some github code for the device. Note that the github code comes from somewhere other than TI and I haven't looked at it.
Joseph Wu
Hi Joseph,
The header file and the source code I found using the Google search all seemed to be aimed at either standard 'C' or 'C++'. However, that with some of the code does give me a starting point.
Of interest to others is the code I found at https://github.com/kplindegaard/smbus2?tab=readme-ov-file#i2c This provided a direct means to do the type of transfers I needed. My code is not clean object-oriented, but it provides what I need.
Thanks, Dave