8.2.3.2.2 Programming and EEPROM Settings
The following sequence must be followed to program and configure the PGA300 for absolute voltage output mode:
- Send the OWI activation-pulse sequence.
- Set the MODE_SEL[1:0] bits in the MODE_CTRL register to 0b11 to switch into configuration mode.
- Program the 4_20MA_EN bit in the OP_STAGE_CTRL register to 0b0 to select voltage output mode.
- Program the DAC_GAIN[2:0] bits in the OP_STAGE_CTRL register to 0b010 to select a DAC gain of 4 V/V.
- Program the DACCAP_EN bit in the OP_STAGE_CTRL register to connect or disconnect the external capacitor at the DAC output.
- Program the DAC_RATIOMETRIC bit in the DAC_CONFIG register to 0b1 to select ratiometric output mode.
- Set the MODE_SEL[1:0] bits in the MODE_CTRL register to 0b00 to switch back to execution mode.