Digi NS9215 R e g i s t e r s, M m a n d T r a n s m i t D a t a r e g i s t e r, Address 9005

Models: NS9215

1 517
Download 517 pages 25.29 Kb
Page 450
Image 450

I 2 C M A S T E R / S L A V E I N T E R F A C E

I2C registers

bus owner, the transaction goes through. If the module loses bus arbitration, an M_ARBIT_LOST interrupt is generated to the host processor and the command must be reissued.

I 2 C r e g i s t e r s

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Register address map

All registers have 8-bit definitions, but must be accessed in pairs. For example, TX_DATA_REG and CMD_REG are written simultaneously and RX_DATA_REG and STATUS_REG are read simultaneously.

This table shows the register addresses. All configuration registers must be accessed as 32-bit words and as single accesses only. Bursting is not allowed.

RegisterDescription

9005 0000

Command Transmit Data register (CMD_TX_DATA_REG)

 

Status Receive Data register (STATUS_RX_DATA_REG)

9005

0004

Master Address register

 

 

 

9005

0008

Slave Address register

 

 

 

9005

000C

Configuration register

 

 

 

After a reset, all registers are set to the initial value. If an unspecified register or bit is read, a zero is returned.

C o m m a n d T r a n s m i t D a t a r e g i s t e r

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Address: 9005 0000

The Command Transmit Data (CMD_TX_DATA_REG) register is the primary interface register for transmission of data between the I/O hub and I2C bus. This register is write only.

Register

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PIPE

DLEN

TXVAL

 

 

CMD

 

 

 

 

 

TXDATA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

450Hardware Reference NS9215

Page 450
Image 450
Digi NS9215 manual R e g i s t e r s, M m a n d T r a n s m i t D a t a r e g i s t e r, Address 9005, RegisterDescription