SX1231
ADVANCED COMMUNICATIONS & SENSING
DATASHEET
7
PacketFormat
rw
rw
0
Defines the packet format used:
0 Æ Fixed length
1 Æ Variable length
RegPacketConfig1
(0x37)
6-5 DcFree
00
Defines DC-free encoding/decoding performed:
00 Æ None (Off)
01 Æ Manchester
10 Æ Whitening
11 Æ reserved
4
3
CrcOn
rw
rw
1
0
Enables CRC calculation/check (Tx/Rx):
0 Æ Off
1 Æ On
CrcAutoClearOff
Defines the behavior of the packet handler when CRC
check fails:
0 Æ Clear FIFO and restart new packet reception. No
PayloadReady interrupt issued.
1 Æ Do not clear FIFO. PayloadReady interrupt issued.
2-1 AddressFiltering
rw
00
Defines address based filtering in Rx:
00 Æ None (Off)
01 Æ Address field must match NodeAddress
10 Æ Address field must match NodeAddress or
BroadcastAddress
11 Æ reserved
0
-
rw
rw
0
unused
7-0 PayloadLength
0x40 If PacketFormat = 0 (fixed), payload length.
If PacketFormat = 1 (variable), max length in Rx, not used
in Tx.
RegPayloadLength
(0x38)
7-0 NodeAddress
rw
rw
rw
0x00 Node address used in address filtering.
RegNodeAdrs
(0x39)
7-0 BroadcastAddress
7-5 EnterCondition
0x00 Broadcast address used in address filtering.
RegBroadcastAdrs
(0x3A)
000
000
00
Interrupt condition for entering the intermediate mode:
000 Æ None (AutoModes Off)
001 Æ Rising edge of FifoNotEmpty
010 Æ Rising edge of FifoLevel
RegAutoModes
(0x3B)
011 Æ Rising edge of CrcOk
100 Æ Rising edge of PayloadReady
101 Æ Rising edge of SyncAddress
110 Æ Rising edge of PacketSent
111 Æ Falling edge of FifoNotEmpty (i.e. FIFO empty)
4-2 ExitCondition
rw
Interrupt condition for exiting the intermediate mode:
000 Æ None (AutoModes Off)
001 Æ Falling edge of FifoNotEmpty (i.e. FIFO empty)
010 Æ Rising edge of FifoLevel or Timeout
011 Æ Rising edge of CrcOk or Timeout
100 Æ Rising edge of PayloadReady or Timeout
101 Æ Rising edge of SyncAddress or Timeout
110 Æ Rising edge of PacketSent
111 Æ Rising edge of Timeout
1-0 IntermediateMode
rw
Intermediate mode:
00 Æ Sleep mode (SLEEP)
01 Æ Standby mode (STDBY)
10 Æ Receiver mode (RX)
11 Æ Transmitter mode (TX)
Rev 2 - Nov 2009
Page 70
www.semtech.com