www.semtech.comPage 25
SX1231J
WIRELESS & SENSING
DATASHEET
Rev 2 - April 2012
RegPacketConfig1
(0x37)
7 PacketFormat rw 0 Defines the packet format used:
0 Æ Fixed length
1 Æ Variable length
6-5 DcFree rw 00 Defines DC-free encoding/decoding performed:
00 Æ None (Off)
01 Æ Manchester
10 Æ Whitening
11 Æ reserved
4 CrcOn rw 1 Enables CRC calculation/check (Tx/Rx):
0 Æ Off
1 Æ On
3 CrcAutoClearOff rw 0 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 0 unused
RegPayloadLength
(0x38)
7-0 PayloadLength rw 0x40 If PacketFormat = 0 (fixed), payload length.
If PacketFormat = 1 (variable), max length in Rx, not used
in Tx.
RegNodeAdrs
(0x39)
7-0 NodeAddress rw 0x00 Node address used in address filtering.
RegBroadcastAdrs
(0x3A)
7-0 BroadcastAddress rw 0x00 Broadcast address used in address filtering.
RegAutoModes
(0x3B)
7-5 EnterCondition rw 000 Interrupt condition for entering the intermediate mode:
000 Æ None (AutoModes Off)
001 Æ Rising edge of FifoNotEmpty
010 Æ Rising edge of FifoLevel
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 000 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 00 Intermediate mode:
00 Æ Sleep mode (SLEEP)
01 Æ Standby mode (STDBY)
10 Æ Receiver mode (RX)
11 Æ Transmitter mode (TX)