Power Application Controller
®
-55-
Copyright 2020 © Qorvo, Inc.
Rev 1.0
– Jan 17, 2020
9.14.2 AIO5, AIO4 Digital I/O Mode
To configure AIO4 and AIO5 as digital I/O, set
SOC.CFGAIO4.MODE54
= 00b.
9.14.2.1 AIO4 Digital I/O
Set
SOC.CFGAIO4.OPT4
= 00b to use AIO4 as a digital input. The input state can be read at
SOC.DINSIG0.DIN4
.
Set
SOC.CFGAIO4.OPT4
= 10b to use AIO4 as open-drain output. Set
SOC.CFGAIO4.MUX4
= 00b to
mux the output state from
SOC.DOUTSIG0.DOUT4
. Use
SOC.CFGAIO4.MUX4
to mux the output signal
from the internal digital bus DBUS DB1 to DB7.
To configure the input or output polarity of AIO4, use
SOC.CFGAIO4.POL4
to set logic polarity of the
signal between AIO4 input/output and MUX4.
9.14.2.2 AIO5 Digital I/O
Set
SOC.CFGAIO5.OPT5
= 00b to use AIO5 as a digital input. The input state can be read at
SOC.DINSIG0.DIN5
.
Set
SOC.CFGAIO5.OPT5
= 10b to use AIO5 as open-drain output. Set
SOC.CFGAIO5.MUX5
= 00b to
MUX the output state from
SOC.DOUTSIG0.DOUT5
. Use
SOC.CFGAIO5.MUX5
to MUX the output
signal from the internal digital bus DBUS DB1 to DB7.
To configure the input or output polarity of AIO5, use
SOC.CFGAIO5.POL5
to set logic polarity of the
signal between AIO5 input/output and MUX5.
9.14.3 AIO4, AIO5 Differential Amplifier Mode
The differential amplifier may be configured as a differential amplifier or as an infinite-impedance single-
ended amplifier. To configure as a differential amplifier, set
SOC.CFGAGIO4.MODE54
= 01b. To
configure as a single-ended amplifier, set
SOC.CFGAIO4.MODE54
= 10b.
In differential mode, AIO4 is connected to the negative terminal of the amplifier and AIO5 is connected to
the positive terminal of the amplifier. The reference for the amplifier is programmable.
SOC.CFGAIO5.OS54EN
may be used to set the amplifier reference either VSSA or VREF/2. Use
SOC.CFGAIO5.CAL54EN
to short the inputs of the differential amplifier to allow reading of the amplifier
offset.
In single-ended mode, AIO5 is connected to the positive terminal of the amplifier and AIO4 is not used.
The negative terminal of the amplifier is internally shorted to VSSA and the amplifier is put into a high-
impedance state.
In both differential and single-ended mode, the amplifier gain may be set between 1X and 16X by using
SOC.CFGAIO4.GAIN54
.
9.14.4 AIO5, AIO4 ADC Sampling
When the ADC is in automatic mode and the DTSE is active, the EMUX is used to communicate data to
the CAFE to select the ADC AFE MUX channel as well as activate and deactivate the sample and hold