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
Interfacing DAC8565 with ESP32
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Interfacing DAC8565 with ESP32
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