C2510Fx / CC2511Fx
CLKCON.OSC32K is low, regardless of the
configurations of these pins.
• Continuous Serial Clock (SCK): CK
• Word Select: WS
13.4.10 Radio Test Output Signals
• Serial Data In: RX
For debug and test purposes, a number of
internal status signals in the radio may be
output on the port pins P1_7 – P1_5. This
debug option is controlled through the RF
registers IOCFG2-IOCFG0(see Section 16 for
more details).
• Serial Data Out: TX
The I2S interface will have precedence in
cases where other peripherals (except for the
debug interface) are configured to be on the
same location.
Setting IOCFGx.GDOx_CFG to a value other
than 0 will override the P1SEL_SELP1_7,
13.4.7 ADC
When using the ADC in an application, some
or all of the P0 pins must be configured as
ADC inputs. The port pins are mapped to the
ADC inputs so that P0_7 – P0_0 corresponds
to AIN7 - AIN0. To configure a P0 pin to be
used as an ADC input the corresponding bit in
the ADCCFG register must be set to 1. The
default values in this register select the Port 0
P1SEL_SELP1_6,
and
P1SEL_SELP1_5
settings, and the pins will automatically
become outputs. These pins cannot be used
when the I2S interface is enabled.
13.4.11 I/O Registers
The registers for the IO ports are described in
this section. The registers are:
pins
as
non-ADC
input
i.e.
digital
input/outputs.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
P0Port 0
Note: P0_6 and P0_7 do not exist on
CC2511Fx, hence six input channels are
available (AIN0 – AIN5)
P1Port 1
P2Port 2
The settings in the ADCCFG register override
the settings in P0SEL (the register used to
select a pin to be either GPIO or to have a
peripheral function).
PERCFGPeripheral Control
ADCCFGADC Input Configuration
P0SELPort 0 Function Select
P1SELPort 1 Function Select
P2SELPort 2 Function Select
P0DIRPort 0 Direction
The ADC can be configured to use the
general-purpose I/O pin P2_0 as an external
trigger to start conversions. P2_0 must be
configured as a general-purpose I/O in input
mode, when being used for ADC external
trigger.
P1DIRPort 1 Direction
Refer to Section 13.10 on Page 140 for a
detailed description on how to use the ADC.
P2DIRPort 2 Direction
P0INPPort 0 Input Mode
P1INPPort 1 Input Mode
P2INPPort 2 Input Mode
P0IFGPort 0 Interrupt Status Flag
P1IFGPort 1 Interrupt Status Flag
P2IFGPort 2 Interrupt Status Flag
PICTLPort Interrupt Control
P1IENPort 1 Interrupt Mask
13.4.8 Debug Interface
Ports P2_1 and P2_2 are used for debug data
and clock signals, respectively. These are
shown as DD (debug data) and DC (debug
clock) in Table 50. The state of P2SEL is
overridden by the debug interface. Also,
P2DIR.DIRP2_1 and P2DIR.DIRP2_2 is
overridden when the chip changes the
direction to supply the external host with data.
13.4.9 32.768 kHz XOSC Input
Ports P2_3 and P2_4 are used to connect to
an external 32.768 kHz crystal. These port
pins will be set in analog mode and used by
the 32.768 kHz crystal oscillator when
SWRS055D
Page 92 of 243