ESP32 DAC1 and DAC2 not synchronous on Arduino IDE
Posted: Sun Jun 03, 2018 4:27 pm
Hi, I'm playing with DACs and using dac_output_voltage(DAC_CHANNEL_1, a); dac_output_voltage(DAC_CHANNEL_2, b); i'm able to write 2 separate values on the ADCs.
The issue is that using this 2 separate instructions, the 2 outputs are not updated simultaneously.
Is it possible accessing directly the DACs registers to load the 2 values and update the 2 outs simultaneously?
This is the source of information I'm using:
http://esp-idf.readthedocs.io/en/latest ... s/dac.html
Thanks
Mauro
The issue is that using this 2 separate instructions, the 2 outputs are not updated simultaneously.
Is it possible accessing directly the DACs registers to load the 2 values and update the 2 outs simultaneously?
This is the source of information I'm using:
http://esp-idf.readthedocs.io/en/latest ... s/dac.html
Thanks
Mauro