Murata Electronics North America DNT90 Manual Do Utilizador

Página de 40
Preliminary 
 
 
www.RFM.com
 
Technical support +1.678.684.2000 
Page 47 of 80 
© 2010-2012 by RF Monolithics, Inc. 
E-mail: 
tech_sup@rfm.com
 
DNT90 Integration Guide - 05/10/12 
7.4.4 Bank 0x03 - Serial and SPI Settings 
 
Bank 
Location 
Name 
R/W 
Size 
Range 
Default 
0x03 0x00 
SerialRate 
R/W 
0x01 
0..10 
3 (9600 baud) 
0x03 0x01 
SerialParams 
R/W 
0x01 0..7 
(8-N-1) 
0x03 0x02 
SpiMode 
R/W 
0x01 
0..2 
0 (SPI disabled) 
0x03 0x03 
SpiRateSel 
R/W 
0x01 
0..2 
0 (125 kHz) 
0x03 0x04 
SpiOptions 
R/W 
0x01 0..7 
0x03 0x05 
SpiMasterCmdLen  R/W 
0x01 0..16 
0x03 0x06 
SpiMasterCmdStr  R/W 
0x10 
0..16 byte string 
All 0x00 bytes 
 
Table 7.4.4.1 
 
SerialRate - this parameter sets the serial data rate as shown below: 
 
    Setting      Serial rate 
 
 0x00 
  
1.2 
kbps 
 0x01 
  
2.4 
kbps 
 0x02 
  
4.8 
kbps 
 0x03 
  
9.6 
kbps 
 0x04 
  
14.4 
kbps 
 0x05 
  
19.2 
kbps 
 0x06 
  
28.8 
kbps 
 0x07 
  
38.4 
kbps 
 0x08 
  
57.6 
kbps 
 0x09 
  
115.2 
kbps 
 0x0A  
230.4 
kbps 
 0x0B  
250.0 
kbps 
 
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