Optional Radio Control Feature; Data Rate Programming - Texas Instruments CC2500 TK Manual

Low-cost low-power 2.4 ghz rf transceiver
Table of Contents

Advertisement

The GDO0 pin can also be used for an on-chip
analog temperature sensor. By measuring the
voltage on the GDO0 pin with an external ADC,
the
temperature
Specifications for the temperature sensor are
found in Section 4.7 on page 14.
With default PTEST register setting (0x7F) the
temperature sensor output is only available
when the frequency synthesizer is enabled
(e.g. the MANCAL, FSTXON, RX and TX
states). It is necessary to write 0xBF to the
PTEST register to use the analog temperature
sensor in the IDLE state. Before leaving the
IDLE state, the PTEST register should be
restored to its default value (0x7F).
11.3

Optional Radio Control Feature

The CC2500 has an optional way of controlling
the radio, by reusing SI, SCLK and CSn from
the SPI interface. This feature allows for a
simple three-pin control of the major states of
the radio: SLEEP, IDLE, RX and TX.
This optional functionality is enabled with the
MCSM0.PIN_CTRL_EN configuration bit.

12 Data Rate Programming

The data rate used when transmitting, or the
data rate expected in receive is programmed
by
the
MDMCFG3.DRATE_M
MDMCFG4.DRATE_E configuration registers.
The data rate is given by the formula below.
As the formula shows, the programmed data
rate depends on the crystal frequency.
256
DRATE
R
DATA
The following approach can be used to find
suitable values for a given data rate:
DRATE
_
E
log
DRATE
_
M
f
XOSC
can
be
calculated.
and
the
DRATE
_
E
_
M
2
f
XOSC
28
2
20
R
2
 
 
DATA
2
f
XOSC
28
R
2
DATA
256
DRATE
_
E
2
SWRS040C
State changes are commanded as follows:
When CSn is high the SI and SCLK is set to
the desired state according to Table 18. When
CSn goes low the state of SI and SCLK is
latched and a command strobe is generated
internally according to the control coding. It is
only possible to change state with this
functionality. That means that for instance RX
will not be restarted if SI and SCLK are set to
RX and CSn toggles. When CSn is low the SI
and SCLK has normal SPI functionality.
All pin control command strobes are executed
immediately, except the SPWD strobe, which is
delayed until CSn goes high.
CSn
SCLK
SI
Function
1
X
X
Chip unaffected by SCLK/SI
0
0
Generates SPWD strobe
0
1
Generates STX strobe
1
0
Generates SIDLE strobe
1
1
Generates SRX strobe
SPI
SPI
SPI mode (wakes up into
0
mode
mode
IDLE if in SLEEP/XOFF)
Table 18: Optional Pin Control Coding
If DRATE_M is rounded to the nearest integer
and becomes 256, increment DRATE_E and
use DRATE_M=0.
The data rate can be set from 1.2 kBaud to
500 kBaud with the minimum step size of:
Min Data
Typical
Rate
Data Rate
[kBaud]
[kBaud]
0.8
1.2/2.4
3.17
4.8
6.35
9.6
12.7
19.6
25.4
38.4
50.8
76.8
101.6
153.6
203.1
250
406.3
500
Table 19: Data Rate Step Size
CC2500
Max Data
Data Rate
Rate
Step Size
[kBaud]
[kBaud]
3.17
0.0062
6.35
0.0124
12.7
0.0248
25.4
0.0496
50.8
0.0992
101.6
0.1984
203.1
0.3967
406.3
0.7935
500
1.5869
Page 26 of 89

Advertisement

Table of Contents
loading

Table of Contents