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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 460
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 303
EZ-USB FX2 Technical Reference Manual
Page 14-12 EZ-USB FX2 Technical Reference Manual v2.1
Figure 14-6. Timer 2 - Baud Rate Generator Mode
14.3 Serial Interface
The FX2 provides two serial ports. Serial Port 0 operates almost exactly as a standard 8051 serial
port; depending on the configured mode (see Table 14-7), its baud-clock source can be CLKOUT/
4 or CLKOUT/12, Timer 1, Timer 2, or the High-Speed Baud Rate Generator (see Section 14.3.2).
Serial Port 1 is identical to Serial Port 0, except that it cannot use Timer 2 as its baud rate genera-
tor.
Each serial port can operate in synchronous or asynchronous mode. In synchronous mode, the
FX2 generates the serial clock and the serial port operates in half-duplex mode. In asynchronous
mode, the serial port operates in full-duplex mode. In all modes, the FX2 double-buffers the incom-
ing data so that a byte of incoming data can be received while firmware is reading the previously-
received byte.
Each serial port can operate in one of four modes, as outlined in Tabl e14-7.
Divide
by 2
T2 pin
TR2
0
1
CLK
CLKOUT
C/ T2
Divide
by 16
Divide
by 16
RX
CLOCK
TX
CLOCK
TCLK
0
0
1
Divide
by 2
0
1
1
TL2 TH2
EXF2
TIMER 2 INTERRUPT
EXEN2
T2EX pin
TIMER 1 OVERFLOW
0
7
70
RCAP2L RCAP2H
8
15
8
15
SMOD0
RCLK
Vista de página 303
1 2 ... 299 300 301 302 303 304 305 306 307 308 309 ... 459 460

Comentários a estes Manuais

Sem comentários