Rf22, Figure19. multiple packets in rx packet handler, Table13. rx packet handler configuration – Rainbow Electronics RF22 User Manual

Page 26: Rx fifo contents: transmission

Advertising
background image

RF22

Version: 0.1 Date: 12/23/2008

Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: [email protected] http://www.hoperf.com

26



6.4.2. Packet Handler Enabled
When the packet handler is enabled, all the fields of the packet structure need to be configured. If multiple packets are
desired to be stored in the FIFO, then there are options available for the different fields that will be stored into the FIFO.
Figure 19 demonstrates the options and settings available when multiple packets are enabled. Figure 20 demonstrates
the operation of fixed packet length and correct/incorrect packets.

Register

Data

Register

Data

FIFO

Data

Header(s)

Length

rx_multi_pk_en = 1

H

Data

rx_multi_pk_en = 0

txhdlen = 0 txhdlen > 0

fixpklen

fixpklen

0

1

0 1

Data

Data

Data

Data

L

L

H

RX FIFO Contents:

Transmission:

Figure19. Multiple Packets in RX Packet Handler

Data

L

H

Data

L

H

Data

L

H

Data

L

H

Write

Pointer

Write

Pointer

RX FIFO Addr.

63

0

RX FIFO Addr.

63

0

Data

L

H

Write

Pointer

RX FIFO Addr.

63

0

Data

L

H

Data

L

H

Write

Pointer

RX FIFO Addr.

63

0

CRC

error

Data

L

H

Data

L

H

Write

Pointer

RX FIFO Addr.

63

0

Initial state PK 1 OK

PK 2 OK

PK 3

ERROR

PK 4 OK

Figure20. Multiple Packets in RX with CRC or Header Error

Table13. RX Packet Handler Configuration

Data mod

es

dtm

od

[1:0

]

enpacrx

Direct Da

ta a

nd

CLK I

O

Preamble &

Syn

c

word

de

tecti

o

n

Header H

andl

in

g

Data St

orage

in

FIF

O

CRC Ha

ndli

n

g

Manche

ster a

n

d

Wh

it

en

in

g

FIFO_PH 10 1

option set option set option option

FIFO 10

0

option

set

set

option

Direct 0X

X set set

Manchester optional for sync-detection

Advertising