beautypg.com

Echelon I/O Model Reference for Smart Transceivers and Neuron Chips User Manual

Page 79

background image

I/O Model Reference

69

Table 26. Slave Writes Buffer to Master: R/W~=1

Step Master

Slave

Comment

1

(Owns

Token)

2

Write XFER

Slave has data to write (XFER=0x01)

3 Read

XFER

4

Write (length)

Length=number of bytes of data

5 Read

(length)

6

Write (data_0)

Salve begins data transfer to master

7 Read

(data_0)

8

Repeat steps 6 and 7

length

times

9

Write (data_n)

Last byte of data to be transferred

10 Read

(data_n)

11

Write EOM

End of data transfer (EOM=0x00)

12

Process EOM

Exchange token

13 (Owns

Token)

Table 27. Master Passes Token to Slave

Step Master

Slave

Comment

1 (Owns

Token)

2

Write NULL

Master has no data to send to slave

3

Read

NULL NULL=0x00

4

Write EOM

End of data transfer (EOM=0x00)

5

Process EOM

Exchange token

6

(Owns

Token)