RF42/43
POR
Def.
Function/Descri
ption
D7
D6
D5
D4
D3
D2
D1
D0
Add R/W
Operating &Function
Control 2
Reser
ved
Reser
ved
Reserve
d
Reserve
d
autotx
Reserve
d
Reserved
R/W
ffclrtx
00h
08
R/W
TX FIFO Control 1
TX FIFO Control 2
txafthr[5] txafthr[4]
txafthr[5] txafthr[4]
txafthr[3] txafthr[2]
txafthr[3] txafthr[2]
txafthr[1]
txafthr[1]
txafthr[0]
txafthr[0]
37h
04h
7C
R/W
7D
The TX FIFO may be cleared or reset with the ffclrtx bit in ―Register 08h. Operating Mode and Function Control 2,‖. All
interrupts may be enabled by setting the Interrupt Enabled bits in "Register 05h. Interrupt Enable 1" and ―Register 06h.
Interrupt Enable 2,‖. If the interrupts are not enabled the function will not generate an interrupt on the nIRQ pin but the
bits will still be read correctly in the Interrupt Status registers.
6.2. Packet Configuration
When using the FIFO, automatic packet handling may be enabled for the TX mode. "Register 30h. Data Access
Control" through ―Register 3Eh. Packet Length,‖ control the configuration for Packet Handling. The usual fields for
network communication (such as preamble, synchronization word, headers, packet length, and CRC) can be
configured to be automatically added to the data payload. The fields needed for packet generation normally change
infrequently and can therefore be stored in registers. Automatically adding these fields to the data payload greatly
reduces the amount of communication between the microcontroller and the RF42/43 and therefore also reduces the
required computational power of the microcontroller.
The general packet structure is shown in Figure 11. The length of each field is shown below the field. The preamble
pattern is always a series of alternating ones and zeroes, starting with a one. All the fields have programmable lengths
to accommodate different applications. The most common CRC polynominals are available for selection.
Figure 11. Packet Structure
An overview of the packet handler configuration registers is shown in Table 12. A complete register description
can be found in ―11.1. Complete Register Table and Descriptions‖.
6.3. Packet Handler TX Mode
If the TX packet length is set the packet handler will send the number of bytes in the packet length field before
returning to ready mode and asserting the packet sent interrupt. To resume sending data from the FIFO the
microcontroller needs to command the chip to re-enter TX mode Figure 12 provides an example transaction
where the packet length is set to three bytes.
32
Tel: +86-755-82973805
Fax: +86-755-82973550
E-mail: sales@hoperf.com
http://www.hoperf.com