Hello, i have problem with voltage output. When I power up my circuit. Output voltage is 4 V then I change VREF register, and OE bit to 1. It causes decrease voltage to 0,5-0,9 V and connect some load causes 0.0 V output. For tests, there are not resistors for voltage divider. IC works with internal voltage divider. I checked it for 12-30 Voltage input, all results are same. CVCC is 5 V, EN is 5 V. Below are my diagrams.
I do not know, where is the problem. What can I check or do something? Thank you for your time.
Here is my Arduino code for test it.