Interfacing DAC8565 with ESP32
Posted: 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
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