CC2500
SWRS040C
Page 44 of 89
1.
Read
RXBYTES.NUM_RXBYTES
repeatedly at a rate guaranteed to be at
least twice that of which RF bytes are
received until the same value is returned
twice; store value in
n
.
2.
If
n
< # of bytes remaining in packet, read
n
-1 bytes from the RX FIFO.
3.
Repeat steps 1 and 2 until
n
= # of bytes
remaining in the packet.
4.
Read the remaining bytes from the RX
FIFO.
The 4-bit
setting is used
to program threshold points in the FIFOs.
Table 29 lists the 16
settings and
the corresponding thresholds for the RX and
TX FIFOs. The threshold value is coded in
opposite directions for the RX FIFO and TX
FIFO. This gives equal margin to the overflow
and underflow conditions when the threshold
is reached.
A signal will assert when the number of bytes
in the FIFO is equal to or higher than the
programmed threshold. The signal can be
viewed on the
GDO
pins (see Section 28 on
page 51).
Figure 20 shows the number of bytes in both
the RX FIFO and TX FIFO when the threshold
flag toggles, in the case of
=13.
Figure 19 shows the signal as the respective
FIFO is filled above the threshold, and then
drained below.
53 54 55 56
53
54
55
56
57
6
7
8
9
6
7
8
9
10
NUM_RXBYTES
GDO
NUM_TXBYTES
GDO
Figure 19:
FIFO_THR
=13 vs. Number of
Bytes in FIFO (
GDOx_CFG
=0x00 in RX and
GDOx_CFG
=0x02 in TX)
FIFO_THR
Bytes in TX FIFO
Bytes in RX FIFO
0 (0000)
61
4
1 (0001)
57
8
2 (0010)
53
12
3 (0011)
49
16
4 (0100)
45
20
5 (0101)
41
24
6 (0110)
37
28
7 (0111)
33
32
8 (1000)
29
36
9 (1001)
25
40
10 (1010)
21
44
11 (1011)
17
48
12 (1100)
13
52
13 (1101)
9
56
14 (1110)
5
60
15 (1111)
1
64
Table 29:
FIFO_THR
Settings and the
Corresponding FIFO Thresholds
56 bytes
8 bytes
Overflow
margin
Underflow
margin
FIFO_THR=13
FIFO_THR=13
RXFIFO
TXFIFO
Figure 20: Example of FIFOs at Threshold
21 Frequency Programming
The frequency programming in
CC2500
is
designed
to
minimize
the
programming
needed in a channel-oriented system.
To set up a system with channel numbers, the
desired channel spacing is programmed with
the
and
registers. The channel
spacing registers are mantissa and exponent
respectively.
The base or start frequency is set by the 24 bit
frequency word located in the
,
and
registers. This word will typically
Summary of Contents for CC2500
Page 91: ...PACKAGE OPTION ADDENDUM www ti com 6 Feb 2020 Addendum Page 2 ...
Page 94: ......
Page 95: ......