Integration Guide

SMK900 Integration Guide Revision 4
Register table
Regi
ster
offs
et
S
i
z
e
(
b
y
t
e
s
)
R
ea
d-
O
nl
y
Fl
ag
Register name
Sub-register name
Sub-regis
ter
location
(bit
offset)
Sub-r
egiste
r
range
De
fau
lt
val
ue
Description
0x00
8
addressBuf
-
-
N/
A
MAC address buffer
0x01
1
addressBufLen
-
-
3
MAC address buffer length
0x02
6
X
dyn
BO
0
1..4
1
Dynamic configuration, Broadcast Out Phase Count
BI
8
1..4
1
Dynamic configuration, Broadcast In Phase Count
NH
16
2..31
5
Dynamic configuration, Number of Hops
NR
24
1
1
Dynamic configuration, Number of Hops for Redux Phase
R
32
0..1
0
Dynamic configuration, Redux Enable Flag
D
40
1, 2, 5,
10, 20,
40, 80
10
Dynamic configuration, Inverted Duty Cycle
0x03
1
nwkId
-
-
0..7
0
Network ID
0x04
1
hopTable
-
-
0..5
0
FHSS Hop Table selection
0x05
1
power
-
-
0..1
1
Power selection (0=LO, 1=HI)
0x06
2
uart_bsel
-
-
1..6553
5
0x9
3D
7
UART baudrate selector. See Serial Interface section for more
details.
0x07
1
nodeType
-
-
0..1
1
Node Type (0=GATEWAY 1=NODE)
0x08
1
sleepMode
-
-
0..2
2
Sleep mode (0=IDLE, 1=RC, 2=EXTERNAL)
0x09
1
extSlpCtrlI2CA
ddress
-
-
0..127
0x4
8
Ext Slp Ctrl I2C address
0x0
A
2
X
extSlpCorrectio
nFactor
-
-
0..6553
5
N/
A
Correction Factor (current value)
0x0B
1
presetRF
-
-
0..1
0
Preset RF configuration set (0=PRESET1_50K(default),
1=PRESET2_100K)
0x0C
8
cryptoData_
qWord0
-
-
0..2^64
-1
0
Data encryption key, first 8 bytes, Little Endian
0x0
D
8
cryptoData_
qWord1
-
-
0..2^64
-1
0
Data encryption key, last 8 bytes, Little Endian
0x0E
7
i2c
delayClockLen
0
0..6553
5
16
I2C delay for clock generation. The I2C max clock speed is:
MaxSpeed[MHz] = 1 / ( 2 + 0.5*(delayClockLen) ). Thus, a
value of 16 yields a 100KHz max speed, and a value of 96
yields a 20KHz max speed. Use lower clock values when using
higher value resistor pull-ups or when the capacitance charge
on the I2C pins is higher than usual.
srcPort
16
0
0
I2C source port (hard-coded to the I2C pins assigned to
module, for the current firmware revision)
pullupEnabledFlag
24
0..1
1
I2C internal weak pull-up on I2C pins (0 = disabled, 1 =
enabled)
powerBusMode
32
0..3
1
I2C Power Bus mode. Values possible are: 0 = DISABLED
(hi-impedance), 1 = NORMAL (pin state toggling between
hi-impedance and VCC connection depending on VM
execution and I2C commands - on if I2C command executed,
and togglable via VM commands), 2 = ALWAYSOFF (pin
connected to ground), 3 = ALWAYSON (pin connected to
VCC)
32