Zilog Z80230 Manual de usuario Pagina 115

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 394
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 114
SCC/ESCC
User Manual
UM010903-0515 Data Communication Modes
108
Some synchronous protocols require that certain characters be excluded from CRC calculation.
This is possible in the SCC because CRC calculations are enabled and disabled on the fly. To give
the processor sufficient time to decide whether or not a particular character should be included in
the CRC calculation, the SCC contains an 8-bit time delay between the receive shift register and
the CRC checker. The logic also guarantees that the calculation only starts or stops on a character
boundary by delaying the enable or disable until the next character is loaded into the receive data
FIFO. Because the nature of the protocol requires that CRC calculation disable/enable be selected
before the next character gets loaded into the Receive FIFO, users cannot take advantage of the
FIFO.
To understand how this works see Figure and the following explanation. Consider a case where
the SCC receives a sequence of eight bytes, called A, B, C, D, E, F, G and H, with A received first.
Now suppose that A is the sync character, the CRC is calculated on B, C, E, and F, and that F is the
last byte of this message. This process is used to control the SCC.
Receive CRC Data Path
Before A is received, the receiver is in Hunt mode and the CRC is disabled. When A is in the
receive shift register, it is compared with the contents of WR7. Since A is the sync character, the
bit patterns match and receive leaves Hunt mode, but character A is not transferred to the receive
data FIFO.
Receive Data FIFO
Receive Shift Register
CRC Checker
Eight Bit Time Delay
Receive Data
3 Bytes Deep for NMOS/CMOS
8 Bytes Deep for ESCC
Vista de pagina 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 393 394

Comentarios a estos manuales

Sin comentarios