S D B C - D K 3 U G
Rev. 0.3
53
The
RFIdle()
function sets the transceiver and the RF stack into an IDLE state independent of the actual state of
the RF stack. It disables the transmit/receive mode and all the interrupts. It then reads the interrupt status
registers from the radio and clears the IT flags.
The
RFTransmit()
function starts packet transmission and ensures packets are sent successfully.
The
RFReceive()
function enables packet reception by enabling the receiver and setting up the relevant interrupts
prior to and reading the interrupt status registers.
The
RFPacketReceived()
function checks whether the packet is received or not. It reads the data packet from the
FIFO if all packet handlers and the CRC are correct.
Table 5. Registers
Bits
Register Name
Register Address
IFBW:
IF Filter Bandwidth
0x1C
COSR:
Clock Recovery Oversampling Ratio
0x20
CRO2:
Clock Recovery Offset 2
0x21
CRO1:
Clock Recovery Offset 1
0x22
CRO0:
Clock Recovery Offset 0
0x23
CTG1:
Clock Recovery Timing Loop Gain 1
0x24
CTG0:
Clock Recovery Timing Loop Gain 1
0x25
TDR1:
TX Data Rate 1
0x6E
TDR0:
TX Data Rate 0
0x6F
MMC1:
Modulation Mode Control 1
0x70
FDEV:
Frequency Deviation
0x72
AFC:
AFC Loop Gear Shift Override
0x1D
ChargepumpCT:
Charge Pump Current Trimming Override
0x58
============================================================================
// This table contains the modem parameters for different data rates. See the comments for more details
code uint8 RfSettings[NMBR_OF_SAMPLE_SETTING][NMBR_OF_PARAMETER] =
// revV2
{
// IFBW, COSR, CRO2, CRO1, CRO0, CTG1, CTG0, TDR1, TDR0, MMC1, FDEV,AFC, ChargepumpCT
{0x01, 0x83, 0xc0, 0x13, 0xa9, 0x00, 0x05, 0x13, 0xa9, 0x20, 0x3a, 0x40, 0x80},
//DR: 2.4kbps, DEV:+-36kHz, BBBW: 75.2kHz
{0x04, 0x41, 0x60, 0x27, 0x52, 0x00, 0x0a, 0x27, 0x52, 0x20, 0x48, 0x40, 0x80},
//DR: 4.8kbps, DEV: +-45kHz, BBBW: 95.3kHz
{0x91, 0x71, 0x40, 0x34, 0x6e, 0x00, 0x18, 0x4e, 0xa5, 0x20, 0x48, 0x40, 0x80},
//DR: 9.6kbps, DEV: +-45kHz, BBBW:112.8kHz
{0x12, 0xc8, 0x00, 0xa3, 0xd7, 0x01, 0x13, 0x51, 0xec, 0x20, 0x13, 0x40, 0x80},
//DR: 10kbps, DEV: +-12kHz, BBBW: 41.7kHz
{0x13, 0x64, 0x01, 0x47, 0xAE, 0x04, 0x46, 0xa3, 0xd7, 0x20, 0x13, 0x40, 0x80},
//DR: 20kbps, DEV: +-12kHz, BBBW: 45.2kHz
{0x02, 0x64, 0x01, 0x47, 0xae, 0x05, 0x21, 0x0A, 0x3D, 0x00, 0x20, 0x40, 0x80},
//DR: 40kbps, DEV: +-20kHz, BBBW: 83.2kHz
{0x05, 0x50, 0x01, 0x99, 0x9A, 0x06, 0x68, 0x0C, 0xCD, 0x00, 0x28, 0x40, 0x80},
//DR: 50kbps, DEV: +-25kHz, BBBW:112.8kHz
{0x9A, 0x3C, 0x02, 0x22, 0x22, 0x07, 0xFF, 0x19, 0x9A, 0x00, 0x50, 0x00,0xC0},
//DR: 100kbps, DEV: +-50kHz, BBBW: 208 kHz
{0x89, 0x5e, 0x01, 0x5D, 0x86, 0x02, 0xAB, 0x20, 0xc5, 0x00, 0x66, 0x00, 0xC0},
//DR: 128kbps, DEV:+-64kHz, BBBW:269.3kHz
};
============================================================================
Summary of Contents for C8051F930
Page 2: ...SDBC DK3 UG 2 Rev 0 3 ...
Page 9: ...SDBC DK3 UG Rev 0 3 9 Figure 5 MSC DBSB8 Schematic 2 of 2 ...
Page 21: ...SDBC DK3 UG Rev 0 3 21 Figure 24 Active Antenna and RSSI Indications ...
Page 23: ...SDBC DK3 UG Rev 0 3 23 Figure 26 Lab Equipment Connection Diagram ...
Page 75: ...SDBC DK3 UG Rev 0 3 75 NOTES ...