SLAAE21 April 2021 DAC43701 , DAC43701-Q1 , DAC53701 , DAC53701-Q1
//SYNTAX: WRITE <REGISTER NAME (Hex code)>, <MSB DATA>, <LSB DATA>
//Power-up the device, internal reference disabled, set code step and slew rate
WRITE GENERAL_CONFIG(0xD1), 0x0A, 0x20
//Configure GPI for Margin-High, Low function
WRITE CONFIG2(0xD2), 0x08, 0x00
//Write DAC margin high code
WRITE DAC_MARGIN_HIGH(0x25), 0x0C, 0xCC
//Write DAC margin low code
WRITE DAC_MARGIN_LOW(0x26), 0x03, 0x34
//Enable the GPI, start CWG, save settings to NVM
WRITE TRIGGER(0xD3), 0x05, 0x10