![Qorvo PAC5527 User Manual Download Page 46](http://html1.mh-extra.com/html/qorvo/pac5527/pac5527_user-manual_3260042046.webp)
Power Application Controller
®
-46-
Copyright 2020 © Qorvo, Inc.
Rev 1.2
– Jan 17, 2019
9.12.2 AIO1, AIO0 Digital I/O Mode
To configure AIO0 and AIO1 as digital I/O, set
SOC.CFGAIO0.MODE10
= 00b.
9.12.2.1 AIO0 Digital I/O
Set
SOC.CFGAIO0.OPT0
= 00b to use AIO0 as a digital input. The input state can be read at
SOC.DINSIG0.DIN0
.
Set
SOC.CFGAIO0.OPT0
= 10b to use AIO0 as open-drain output. Set
SOC.CFGAIO0.MUX0
= 00b to
mux the output state from
SOC.DOUTSIG0.DOUT0
. Use
SOC.CFGAIO0.MUX0
to mux the output signal
from the internal digital bus DBUS DB1 to DB7.
To configure the input or output polarity of AIO0, use
SOC.CFGAIO0.POL0
to set logic polarity of the
signal between AIO0 input/output and MUX0.
9.12.2.2 AIO1 Digital I/O
Set
SOC.CFGAIO1.OPT1
= 00b to use AIO1 as a digital input. The input state can be read at
SOC.DINSIG0.DIN1
.
Set
SOC.CFGAIO1.OPT1
= 10b to use AIO1 as open-drain output. Set
SOC.CFGAIO1.MUX1
= 00b to
mux the output state from
SOC.DOUTSIG0.DOUT1
. Use
SOC.CFGAIO1.MUX1
to mux the output signal
from the internal digital bus DBUS DB1 to DB7.
To configure the input or output polarity of AIO1, use
SOC.CFGAIO1.POL1
to set logic polarity of the
signal between AIO1 input/output and MUX1.
9.12.3 AIO1, AIO0 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.CFGAGIO0.MODE10
= 01b. To
configure as a single-ended amplifier, set
SOC.CFGAIO0.MODE10
= 10b.
In differential mode, AIO0 is connected to the negative terminal of the amplifier and AIO1 is connected to
the positive terminal of the amplifier. The reference for the amplifier is programmable.
SOC.CFGAIO1.OS10EN
may be used to set the amplifier reference either VSSA or VREF/2. Use
SOC.CFGAIO1.CAL10EN
to short the inputs of the differential amplifier to allow reading of the amplifier
offset.
In single-ended mode, AIO1 is connected to the positive terminal of the amplifier and AIO0 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.CFGAIO0.GAIN10
.
9.12.4 AIO1, AIO0 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