Page 1 of 1

Interfacing DAC8565 with ESP32

Posted: Fri Mar 02, 2018 3:29 pm
by chrismuller86
Hi,

Hopefully the right place to ask a question. I'm trying to interface the ESP32 with a DAC8565.
http://www.ti.com/lit/ds/symlink/dac8565.pdf using SPI.h

I've programmed the 4 outputs on the DAC to change between 2 voltages, please see my code below. All 4 DAC8565 outputs always show 3.2V output on my multimeter, so something is not transmitted.

VrefOut on the DAC8565 shows 2.4V, LDAC, Enable, RSTSEL are pulled low by connecting them to GND. RST pulled high.

This is my code: https://gist.github.com/ChristiaanMulle ... 1c65003dd6

Hardware:
ESP332 -> DAC8565
IO5 -> 9 (SYNC)
IO18 -> 10 (SCLK)
IO23 -> 11 (DIN)
IO15 -> 13 (RST)
GND -> 16,15,14,6
3V3 -> 4,5,12

If anyone has an idea what might be going wrong. Please let me know!

Many thanks,
Chris

Re: Interfacing DAC8565 with ESP32

Posted: Sat Mar 03, 2018 4:03 am
by ESP_Sprite
Moved your post to the Arduino subforum, as your code is written for that. Have you already tried connecting a 'scope or logic analyzer to the pins between the DAC and the ESP?