Interfacing DAC8565 with ESP32

chrismuller86
Posts: 1
Joined: Fri Mar 02, 2018 2:23 pm

Interfacing DAC8565 with ESP32

Postby chrismuller86 » Fri Mar 02, 2018 3:29 pm

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

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Interfacing DAC8565 with ESP32

Postby ESP_Sprite » Sat Mar 03, 2018 4:03 am

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?

Who is online

Users browsing this forum: No registered users and 89 guests