Logica

Páginas: 8 (1963 palabras) Publicado: 14 de abril de 2010
Dispositivos periféricos

Puerto serie y USB
William Marin 2007-2008 Escuela de Ingeniería Electrónica

El puerto Serie RS-232c

Puerto Serie
El puerto serie provee un protocolo estándar y conectores estándar que permite conectar dispositivos, como modems, al sistema.

•Llamados también puertos COM •Son bi-direccionales (información viaja en dos direcciones) •Half duplex: utiliza unamisma línea para transmitir datos •Full duplex: utiliza líneas diferentes para transmitir datos •Dependen de un chip regulador especial (UART)
3

Conectores Serie
•Puede ser de 9 o 25 pines •Originalmente el uso principal de un puerto serial era el de conectar un modem a la computadora

Conectores Serie
9-pin connector: • Carrier Detect - Determines if the modem is connected to a workingphone line. Receive Data - Computer receives information sent from the modem. • • Transmit Data - Computer sends information to the modem. • Data Terminal Ready - Computer tells the modem that it is ready to talk. Signal Ground - Pin is grounded. • • Data Set Ready - Modem tells the computer that it is ready to talk. • Request To Send - Computer asks the modem if it can send information. Clear ToSend - Modem tells the computer that it can send information. • • Ring Indicator - Once a call has been placed, computer acknowledges signal (sent from modem) that a ring is detected. 25-pin connector: Not Used • • Transmit Data - Computer sends information to the modem. • Receive Data - Computer receives information sent from the modem. Request To Send - Computer asks the modem if it can sendinformation. • • Clear To Send - Modem tells the computer that it can send information. • Data Set Ready - Modem tells the computer that it is ready to talk. Signal Ground - Pin is grounded. • • Received Line Signal Detector - Determines if the modem is connected to a working phone line. • Not Used: Transmit Current Loop Return (+) • Not Used • Not Used: Transmit Current Loop Data (-) • Not Used •Not Used • Not Used Not Used • • Not Used • Not Used Not Used: Receive Current Loop Data (+) • • Not Used • Data Terminal Ready - Computer tells the modem that it is ready to talk. Not Used • • Ring Indicator - Once a call has been placed, computer acknowledges signal (sent from modem) that a ring is detected. • Not Used Not Used • • Not Used: Receive Current Loop Return (-) Voltage sent over thepins can be in one of two states, On or Off. On (binary value "1") means that the pin is transmitting a signal between -3 and -25 volts, while Off (binary value "0") means that it is transmitting a signal between +3 and +25 volts...

5

Control de Flujo
• Habilidad de un artefacto de comunicarle a otro artefacto que detenga la transmisión de datos. • Sistema que permite que el dispositivo “maslento” (receptor), regule la velocitat de transmisión del más rápido (emisor). • Comandos que permiten el control de flujo:
• • • •

Request to Send (RTS) Clear To Send (CTS) Data Terminal Ready (DTR) Data Set Ready (DSR)

6

Puerto Serie y UARTs
-PC original 2 ptos serie, RS232c COM1 dir 3F8, IRQ4 COM2 dir 2F8, IRQ3 -PCs actuales El BIOS permite tener más puertos serie RS232c. Windowsasigna por PNP las direcciones de puerto y IRQ. -Control de Flujo Se puede configurar protocolo hardware o software. Velocidades de hasta 115200 bps o más en UARTs estándar.

Chips UART
(Universal Asynchronous ReceiverTransmitter)

Encargados de convertir la información de paralelo a serie y viceversa. Introducen el protocolo serial y en ellos se define la velocidad de transmisión y recepción.UART8250- Chip original Info. Serie al exterior
TxD

Línea de int.

UART
Info. Paralela

RxD

Handshake DTR, CTS...
7

Configuración

8

UART16550AF
Líneas de interrupción y solicitud de DMA
F I F O
Búfers de transmisión y recepción

Info. Serie al exterior Circuito controlador de flujo paralelo-serie.
TxD RxD

Info. Paralela al bus datos del CPU

Líneas de...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Logica
  • Logica
  • Logica
  • Logica
  • Logica
  • Logico
  • logica
  • logica

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS