PAC2514x Users Guide Preview
No portion of this document may be reproduced or reused in
any form without Qorvo’s prior written consent
Rev. 1.3 12 December 2023 © 2023 Qorvo US, Inc.
69 of 81
8.5
AFE MUX and EMUX
.
The ADC MUX is an 8-channel MUX local to the ADC on the MCU that is directly controlled either by
registers in the MCU, or automatically by the ADC sequencer.
To configure the ADC for manual mode, set
ADCCTL.MODE
to 000b. When the ADC is in manual mode,
ADCCTL
may be used to enable and configure the ADC, including selecting the MUX channel that is
used for sampling.
To configure the ADC for sequencer mode, set one of the sequencer modes by setting
ADCCTL.MODE
to 001b to 111b. In one of the sequencer modes, the operation of the ADC and ADC MUX are done
automatically in hardware according the sequencer and ADC configuration.
There are 5 external pins and one internal ADC channel that may be configured for ADC analog input that
are shown in the table below.
Table 8-2
ADC MUX channels
ADC Channel
MCU I/O PIN
Description
AD0
PG7
Internally Connected to AFE MUX
AD2
PC2
Package pin
AD3
PC3
Package pin
AD4
PC4
Package pin
AD5
PC5
Package pin
AD6
PC6
Package pin
The AD0 channel is always used for analog input from the AFE and is connected to the AFE MUX on
MCU internal pin PG7. ADC channels AD<6:2> are directly connected to package pins on the device as
shown in the table above.
To use any of these channels as analog inputs to the ADC the IO controller configuration for these pins
must be configured as analog input. See the section on the IO controller for more information on IO
configuration.
8.5.1 AFE MUX
The AFE MUX resides in the AFE and is used to select analog signals found in the CAFE.
The MUX select for the AFE MUX may also be controlled directly through the SOC registers or through
the EMUX from the MCU’s ADC sequencer.
When the ADC is configured for manual mode, the EMUX enable function in the AFE should be disabled.
To select the AFE MUX channel using the SOC registers, set
SOC.SHCFG1.EMUXEN
to 0b (disabled).
The MUX channel may be selected from
SOC.SHCFG2.MUXA
.
When the ADC is configured for ADC sequencer mode, the EMUX enable function in the AFE should be
enabled. To select the AFE MUX channel using the EMUX set
SOC.SHCFG1.EMUXEN
to 1b (enabled).
The AFE MUX channel may be selected from the EMUX data sent from the ADC sequencer.
The channels available on the AFE MUX are shown in the table below.