English
Language : 

CC2510FX Datasheet, PDF (92/244 Pages) List of Unclassifed Manufacturers – True System-on-Chip with Low Power RF Transceiver and 8051 MCU
• Continuous Serial Clock (SCK): CK
• Word Select: WS
• Serial Data In: RX
• 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.
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
pins as non-ADC input i.e. digital
input/outputs.
Note: P0_6 and P0_7 do not exist on
CC2511Fx, hence six input channels are
available (AIN0 – AIN5)
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).
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.
Refer to Section 13.10 on Page 140 for a
detailed description on how to use the ADC.
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
C2510Fx / CC2511Fx
CLKCON.OSC32K is low, regardless of the
configurations of these pins.
13.4.10 Radio Test Output Signals
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).
Setting IOCFGx.GDOx_CFG to a value other
than 0 will override the P1SEL_SELP1_7,
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:
• P0 Port 0
• P1 Port 1
• P2 Port 2
• PERCFG Peripheral Control
• ADCCFG ADC Input Configuration
• P0SEL Port 0 Function Select
• P1SEL Port 1 Function Select
• P2SEL Port 2 Function Select
• P0DIR Port 0 Direction
• P1DIR Port 1 Direction
• P2DIR Port 2 Direction
• P0INP Port 0 Input Mode
• P1INP Port 1 Input Mode
• P2INP Port 2 Input Mode
• P0IFG Port 0 Interrupt Status Flag
• P1IFG Port 1 Interrupt Status Flag
• P2IFG Port 2 Interrupt Status Flag
• PICTL Port Interrupt Control
• P1IEN Port 1 Interrupt Mask
SWRS055D
Page 92 of 243