Digi NS9215 Benutzerhandbuch

Seite von 517
. . . . .
S E R I A L   C O N T R O L   M O D U L E :   S P I
SPI Control and Status registers
www.digiembedded.com
439
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
S P I   C o n t r o l   a n d   S t a t u s   r e g i s t e r s
The configuration registers for the SPI module are located at 0x9003_1000. 
Register address 
map
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
S P I   C o n f i g u r a t i o n   r e g i s t e r
Address: 9003_1000
This is the primary SPI Configuration register.
Register
Register bit 
assignment
Address
Register
9003_1000
SPI Configuration register
9003_1010
Clock Generation register
9003_1020
Interrupt Enable register
9003_1024
Interrupt Status register
13
12
11
10
9
8
7
6
5
4
3
2
1
0
15
14
31
29
28
27
26
25
24
23
22
21
20
19
18
17
16
30
DISCARD
Not used
MODE
Not used
ML
B
Not used
RX
BYTE
BIT
ORDR SLAVE
MAS 
TER
Bits
Access
Mnemonic
Reset
Description
D31:13
R/W
Not used
0
Write this field to 0.
D12
R/W
MLB
0
Enable master loopback mode
Write a 1 to enable the master mode transmitter to 
receiver loopback function.