17.05.2015 Views

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

U) ,------------------------------------------------------------------------------------------,<br />

~ In the case where the destination slave is ready to receive data, it sends a "permission to transmit" and prepares to receive<br />

Z: data. The master, on receiving this "permission to transmit" sends it to the source slave and prepares for a transparent transfer<br />

c( of data from source slave to destination slave. The source transmits data and if it reaches the destination without error, the<br />

destination slave sends an acknowledge byte. The data/acknowledge cycle continues until the last page of data is transferred.<br />

At this point the destination slave sends a special acknowledge called an EaT ("end of transmission") terminating the communication<br />

sequence and releasing the master to poll the next slave (see Figure 5).<br />

START AT 3<br />

3) CAN YOU RECEIVE<br />

(4 &: 5) PERMISSION TO XMIT<br />

(6&:7) 1-254 BYTES SENT (1 PAGE)<br />

TO DEST SLAVE<br />

MASTER TRANSPARENT<br />

8) RECEIVED DATA<br />

PACKET (ACK)<br />

9) ACK DATA RECEIVED<br />

- ANY MORE PAGES?<br />

---.........<br />

(NO ERRORS)<br />

ERROR HANDLING<br />

FIGURE 5<br />

DATA TRANSMISSION<br />

(SOURCE AND DESTINATION READY)<br />

TL/F/9339-5<br />

Recovery from transmission error is handled in the following way. If any node (either master or slave) detects an error while<br />

receiving any message from the network (data or control), it sends an error message to the sending node. On receiving an error<br />

message, a node retransmits its last message (examples are shown in Figure 6). This may continue to a limit of five retransmission<br />

attempts per communication sequence. An error message is simply the error flag register of the DP8343 receiver indicating<br />

the type of error that occurred. The receiver provides the following types of internal error checking:<br />

- Data overflow<br />

- Parity error<br />

- Transmit check<br />

- Invalid ending sequence<br />

- Loss of mid-bit transition<br />

- New starting sequence before read<br />

- Receiver disabled while active<br />

2-46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!