Digi NS9215 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, Enable master loopback mode

Models: NS9215

1 517
Download 517 pages 25.29 Kb
Page 439
Image 439

S E R I A L C O N T RO L M O D U L E : S P I

. . .

SPI Control and Status registers. .

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

Address

Register

 

 

 

 

9003_1000

SPI Configuration register

 

 

 

 

9003_1010

Clock Generation register

 

 

 

 

9003_1020

Interrupt Enable register

 

 

 

 

9003_1024

Interrupt Status register

 

 

 

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

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Notused

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Notused

 

ML

 

DISCARD

 

Notused

MODE

RX

BIT

SLAVE

MAS

 

 

B

 

 

BYTE

ORDR

TER

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register bit

assignment

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.

www.digiembedded.com

439

Page 439
Image 439
Digi NS9215 manual 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, I C o n f i g u r a t i o n r e g i s t e r