Cisco Systems C819HG4GVK9, C819GUK9 manual Half-Duplex DCE State Machines, 8-15

Models: C819GUK9

1 196
Download 196 pages 51.42 Kb
Page 89
Image 89
Half-Duplex DTE Receive State Machine

Chapter 8 Configuring the Serial Interface

How to Configure Serial Interfaces

Once there are no more frames to transmit, the state machine transitions to the wait transmit finish state. The machine waits for the transmit FIFO in the serial controller to empty, starts a delay timer with a value defined by the half-duplex timer rts-drop-delayinterface command, and transitions to the wait RTS drop delay state.

When the timer in the wait RTS drop delay state expires, the state machine deasserts RTS and transitions to the wait CTS drop state. A timeout timer with a value set by the half-duplex timer cts-drop-timeoutinterface command starts, and the state machine waits for the CTS to deassert. The default is 250 ms.

Once the CTS signal is deasserted or the timeout timer expires, the state machine transitions back to the ready state. If the timer expires before CTS is deasserted, an error counter is incremented, which can be displayed by issuing the show controllers command for the serial interface in question.

As shown in Figure 4, a half-duplex DTE receive state machine for low-speed interfaces idles and receives frames in the ready state. A giant frame is any frame whose size exceeds the maximum transmission unit (MTU). If the beginning of a giant frame is received, the state machine transitions to the in giant state and discards frame fragments until it receives the end of the giant frame. At this point, the state machine transitions back to the ready state and waits for the next frame to arrive.

Figure 4

Half-Duplex DTE Receive State Machine

 

 

 

 

 

 

An error counter is incremented upon receipt of the giant frames. To view the error counter, use the show interfaces command for the serial interface in question.

Half-Duplex DCE State Machines

As shown in Figure 5, for a low-speed serial interface in DCE mode, the half-duplex DCE transmit state machine idles in the ready state when it is quiescent. When a frame is available for transmission on the serial interface, such as when the output queues are no longer empty, the state machine starts a timer (based on the value of the half-duplex timer transmit-delaycommand, in milliseconds) and transitions to the transmit delay state. Similar to the DTE transmit state machine, the transmit delay state gives you the option of setting a delay between the transmission of frames; for example, this feature lets you compensate for a slow receiver that loses data when multiple frames are received in quick succession. The default transmit-delayvalue is 0 ms; use the half-duplex timer transmit-delayinterface configuration command to specify a delay value not equal to 0.

 

 

Cisco 819 Series Integrated Services Routers Software Configuration Guide

 

 

 

 

 

 

OL-23590-02

 

 

8-15

 

 

 

 

 

Page 89
Image 89
Cisco Systems C819HG4GVK9, C819GUK9 manual Half-Duplex DCE State Machines, 8-15, Half-Duplex DTE Receive State Machine