Other Parts Discussed in Thread: DAC61401
Tool/software:
Hello!
I want to use DAC61401 for generating bipolar voltages for controlling the base voltage (Vb) of BJTs (both PNP and NPN). First, I started with verifying the working of the IC by itself on a breadboard. I use Arduino Uno R3 for the SPI communication. Please see the circuit diagram and arduino code attached.
Schematic_DAC61401_2025-03-20.pdf
DAC61401_control.zip
I could not get any voltage output (VOUT) or the read the internal reference (VREFIO). I tried the following:
1. Write 0x0A04 to reg 0x03 (suggested in the application section of datasheet)
2. Write 0x0000 to reg 0x04
3. Write 0xFFFE to reg 0x09
4. write 0x0005 to reg 0x0A
5. write 0x7FFF to reg 0x10
This should give output of 2.5V. But I could not get any output. When i did only step 1 and 2, still i could not measure VREFIO with a oscilloscope.
6. I verified that the SPI.transfer from arduino is working correctly. I could verify the transmitted bits are correct. I tried the 4 different SPI_MODEs but, no solution.
7. I tried the SPI communication within the setup() function as well as loop() function of arduino.
8. I have used slower SPI at SPI_CLOCK_DIV128. Used at least 1ms delays after each 24-bit (8-bit reg + 16-bit word) transfers.
Please can you suggest what I am missing here. What modifications are necessary to the circuit or the code?
Thanks
Sagnik