Murata Electronics North America DNT24 Manual Do Utilizador

Página de 83
www.Murata.com
Technical support +1.678.684.2000
Page 48 of 83
© 2015 by Murata Manufacturing Co. Ltd.
E-mail:
tech_sup@murata.com
DNT24 Integration Guide – 03/04/15
SerialParams - this parameter sets the serial mode options for parity and stop bits:
Setting          Mode
0x00
No parity, 8 data bits, 1 stop bit (default)
0x01
No parity, 8 data bits, 2 stop bits
0x02
Reserved
0x03
Reserved
0x04
Even parity, 8 data bits, 1 stop bit
0x05
Even parity, 8 data bits, 2 stop bits
0x06
Odd parity, 8 data bits, 1 stop bit
0x07
Odd parity, 8 data bits, 2 stop bits
Note that 8-bit data with no parity is capable of carrying 7-bit data with parity for compatibility without loss
of generality for legacy applications that may require it.
SpiMode this parameter sets the SPI operating mode:
Setting          Mode
0x00
SPI disabled - serial UART mode (default)
0x01
SPI Slave mode
0x02
SPI Master mode
SpiRateSel - this parameter sets the SPI master mode clock rate:
Setting          Mode
0x00
125 kbps
0x01
250 kbps
0x02
500 kbps
SpiOptions - this parameter allows the SPI to be configured with the following options:
Setting          Option
0x00
Leading edge rising, sample leading edge, MSBs sent first
0x01
Leading edge rising, sample falling edge, MSBs sent first
0x02
Leading edge falling, sample leading edge, MSBs sent first
0x03
Leading edge falling, sample falling edge, MSBs sent first
0x04
Leading edge rising, sample leading edge, LSBs sent first
0x05
Leading edge rising, sample falling edge, LSBs sent first
0x06
Leading edge falling, sample leading edge, LSBs sent first
0x07
Leading edge falling, sample falling edge, LSBs sent first
SpiMasterCmdLen - 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.
SpiMasterCmdStr - this parameter holds the SPI master command string that is used to interrogate the
slave peripheral when SPI master mode is selected and periodic I/O reporting is enabled.
7.4.5 Bank 0x04 - Host Protocol Settings
Bank
Location
Name
R/W
Size
Range
Default
0x04
0x00
ProtocolMode
R/W
0x01
0..1
0 (Transparent)
0x04
0x01
TxTimeout
R/W
0x01
0..255
0 (No timeout)
0x04
0x02
MinPacketLength
R/W
0x01
0..255
1 (byte)
0x04
0x03
TransPtToPtMode
R/W
0x01
0..1
1 (Last RX)
0x04
0x04
MsgsPerHop
R/W
0x01
1..8
8
Table 7.4.5.1