Page 54 of 90
CCT24
SPI_MasterCmdLen
- this parameter sets the length for the SPI Master command string that will be used
to interrogate the slave peripheral, when SPI Master mode is selected with periodic I/O reporting enabled.
SPI_MasterCmdStr
- this parameter holds the SPI Master command string that is used to interrogate the
slave peripheral when SPI Master mode is selected with periodic I/O reporting enabled.
4.2.5 Bank 4 - Host Protocol Settings
Size in
Bank
Loc'n
Name
R/W
bytes
Range
Default; Options
0x04
0x00
ProtocolMode
R/W
1
0..1
0 = transparent
; 1 = protocol
0x04
0x01
ProtocolOptions
R/W
1
0..255
0x05
0x04
0x02
TxTimeout
R/W
1
0..255
0x00 (no timeout)
0x04
0x03
MinPacketLength
R/W
1
1..255
1 byte
0x04
0x04
AnnounceOptions
R/W
1
0..7
0x07 all enabled
0x04
0x05
TransLinkAnnEn
R/W
1
0..1
0 = disabled
; 1 = <LINK> announce
0x04
0x06
ProtocolSequenceEn
R/W
1
0..2
0 = disabled; 1 = startup,
2 = anytime
0x04
0x07
TransPtToPtMode
R/W
1
0..1
0 = multipoint
, 1 = point-to-point
0x04
0x08
MaxPktsPerHop
R/W
1
0..3
0x03
ProtocolMode
- this parameter selects the host protocol mode. The default is 0, which is transparent
mode, meaning the radio conveys whatever characters that are sent to it transparently, without requiring
the host to understand or conform to the CCT24’s built-in protocol. This setting is recommended for point-
to-point applications for legacy applications such as wire replacements where another serial protocol may
already exist. Setting this parameter to 1 enables the CCT24 host protocol, which is recommended for
point-to-multipoint applications and is preferred for new designs. It is not necessary to define the same
protocol mode for all radios in a network. For example, it is frequently useful to configure all the remotes
for transparent mode and the base for protocol mode. Note that it is possible for the host to switch the
radio from transparent mode to protocol mode and back if desired by transmitting an
Enter-ProtocolMode
command.
ProtocolOptions
- this is a bitmask that selects various options for the protocol mode. The default is 0x05.
bits 7..3
Reserved
bit 2
Enable output of TxReply packets
bit 1
Reserved
bit 0
Enable output of Announce packets
AnnounceOptions
- this is a bitmask that enables/disables different types of Announce packets:
bit 7..3
Reserved
bit 2
Enable bit for Announce types E0-EA (error notification)
bit 1
Enable bit for Announce types A1-A7 (<LINK> notifications)
bit 0
Enable bit for Announce types A0 (initialization)
TxTimeout
- this parameter is the transmit timeout used for determining message boundaries in transpar-
ent data mode. Units are in milliseconds. A message boundary is determined whenever a gap between
consecutive characters is equal to or greater than the
TxTimeout
value, or the number of bytes reaches
the
MinPacketLength
. Either condition will trigger a transmission. The default
TxTimeout
value is 0 ms.
MinPacketLength
- sets the minimum message length used for determining packet boundaries in trans-
parent data mode. The default is one byte. A transmission is triggered when either the number of bytes
reaches
MinPacketLength
or a gap is detected between consecutive characters greater than
TxTimout
.
TransLinkAnnEn
- enables a link announcement function for transparent mode. Whenever link is acquired
or dropped, the strings "<LINK>" or "<DROP>" are sent to the local host.