Cypress Semiconductor FX2LP Informações Técnicas Página 316

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 460
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 315
EZ-USB FX2 Technical Reference Manual
Page 14-24 EZ-USB FX2 Technical Reference Manual v2.1
Figure 14-12. Serial Port 0 Mode 1 Receive Timing
14.3.6 Mode 2
Mode 2 provides asynchronous, full-duplex communication, using a total of 11 bits: 1 start bit, 8
data bits, a programmable 9th bit, and 1 stop bit. The data bits are transmitted and received LSB
first. For transmission, the 9th bit is determined by the value in TB8_0 (or TB8_1). To use the 9th
bit as a parity bit, move the value of the P bit (SFR PSW.0) to TB8_0 (or TB8_1).
The Mode 2 baud rate is either CLKOUT/32 or CLKOUT/64, as determined by the SMOD0 (or
SMOD1) bit. The formula for the mode 2 baud rate is:
Mode 2 operation is identical to the standard 8051.
14.3.6.1 Mode 2 Transmit
Figure 14-13 illustrates the mode 2 transmit timing. Transmission begins after the first rollover of
the divide-by-16 counter following a software write to SBUF0 (or SBUF1). The USART shifts data
out on the TXD0 (or TXD1) pin in the following order: start bit, data bits (LSB first), 9th bit, stop bit.
The TI_0 (or TI_1) Bit is set when the stop bit is placed on the TXD0 (or TXD1) pin.
RI_0
TXD0
RXD0
RXD0OUT
SHIFT
RX CLK
TI_0
D0 D1 D2 D3 D4 D5 D6 D7
STOP
START
Bit detector
sampling
×
Baud Rate =
2
SMODx
CLKOUT
64
Vista de página 315
1 2 ... 311 312 313 314 315 316 317 318 319 320 321 ... 459 460

Comentários a estes Manuais

Sem comentários