SlideShare a Scribd company logo
Section 17.1



                                                                                                                                       Objectives
                                                                          Upon completion of this chapter, you will be able to:
                                                                            List the advantages of serial communication over parallel
                                                                            communication
                         CMPE328 Microprocessors                            Explain the difference between synchronous and
                                        (Spring 2007-08)                    asynchronous communication
                                                                            Define the terms simplex, half duplex, and full duplex and
                                                                            diagram their implementation in serial communication
                                      Serial Interfacing                    Describe how start and stop bits frame data for serial
                                                                            communication
                                                                            Compare the measures baud rate and bps (bits per second)
                         By Dr. Mehmet Bodur                                Describe the RS232 standard
                                                                            Compare DTE (data terminal) versus DCE (data
                                                                            communication) equipment
                                                                            Describe the purpose of handshaking signals such as DTR,
                                                                            RTS, and CTS
                                                                            Describe the operation of a USART and use and 8251 IC

                                                                           CMPE328 Spring 2007-08      Dr.Mehmet Bodur, EMU-CMPE                            2




                                                           Section 17.1                                                                         Section 17.1



 Basics of Serial Communication                                                                              Simplex vs Duplex
    Microprocessors are based mostly on 8-bit                                  In Simplex Mode data flow                  Transmitter            Receiver
                                                                               is in one direction only.
    registers. Thus, their fastest I/O is 8-bit                                In Half Duplex Mode data
    parallel ports.                                                            flows in one direction, at a               Transmitter   0   1   Transmitter
                                                                               given time,                                                       Receiver
                                                                                                                            Receiver    1   0
    But, wiring cost of a long distance                                              A protocol and switches
                                                                                    connect the devices both to
    communication is very expensive if you                                          receive and also to transmit.
    carry 8-wires.                                                             In Full Duplex mode,
                                                                               transmitted data and
    Remedy is to transfer data serially in bits                                received data goes                         Transmitter           Transmitter

    instead of in bytes or words.                                              simultaneously through two                   Receiver             Receiver
                                                                               channels.


CMPE328 Spring 2007-08    Dr.Mehmet Bodur, EMU-CMPE                3       CMPE328 Spring 2007-08      Dr.Mehmet Bodur, EMU-CMPE                            4
Section 17.1                                                                                                     Section 17.1


                                                                                                                                     Asynchronous Transmission
    Asynchronous vs Synchronous
How can the receiver get each data bit when it is
                                                                                                                                             Start and Stop Bits
 delivered by the transmitter?                                                                                  Start bit is required to synchronize the internal
 In synchronous transmission an explicit clock                                                                  clock of receiver.
 signal describes the instants of valid data.                                                                   Stop bit is required to test the clock frequency.
         A single data bit is sent at each clock.
                                                                                                                Only DATA is transmitted, internal clock is
                                                                                                                generated locally.            Voltage levels are 0 and 5V (TTL signal)
         Minimum three signal lines required for full duplex,
         Receive-DATA, Transmit-DATA, and CLOCK.                                                         TTL DATA
   In asynchronous transmission clock is derived                                                         internal
   using a-priory parameters and a start bit.                                                              clock
                                                                                                                        Start     D0        D1      D2        D3     D4         D5   D6        D7     Stop
         Transfer rate known, internal clock starts to pulse with                                                        0        1         0       1         0      0          1    1         0       1
         the start bit, at the known transfer rate.                                                                                                                       Internal clock stops with the           time
                                                                                                            Internal clock starts            Bits are sampled at
         Ony two signal lines required for full duplex                                                                                        the rising edge of            stop bit. If Stop bit is not
                                                                                                              with the start bit.                                          high, it gives framing error.
         Receive-DATA and Transmit-DATA                                                                                                       the internal clock
                                                                                                                    bit#: 7 6 5 4 3 2 1 0
                                                                                                             Data is 01100101b =65h. It is ASCII “e”
CMPE328 Spring 2007-08              Dr.Mehmet Bodur, EMU-CMPE                                       5      CMPE328 Spring 2007-08                   Dr.Mehmet Bodur, EMU-CMPE                                      6




                                                                                          Section 17.1                                                                                                     Section 17.1

Computers may be                          Asynchronous
connected to
eachother at COM
port or TTL signal
                                   Communication System                                                                                                  Data Transfer Rate
levels as well. 1488 and 1489                            COM port
   CPU                                      BUS
                                                                MODEM
                                Transmit
                                           DRIVER
                                                     Transmit
                                                                                                                Both devices shall know the data transfer
            System       UART                                                         Phone Line
             Bus                                                                                                rate of the communication to synchronize
                                Receive               Receive                                                   the internal clocks correctly.
                                TTL
                            Level Signals
                                                       RS232
                                                    Level Signals
                                                                                                                Data transfer rate is measured in BAUD
                                                                                                                    Baud = bit/second
         Phone                                             BUS
   Telecommunication
         Media                     MODEM
                                                          DRIVER
                                                                                                   CPU
                                                                                                                (including start, stop, data, parity etc.)
                                                                    Transmit   UART
                                              Transmit                                 System
                                                                                        Bus
                                                                                                                    kilo Baud = 1000 Baud. (not 1024 Baud)
                                              Receive               Receive                                         Mega Baud = 1000 000 Baud
                                              RS232                    TTL
                                               Level                  Level
                                              Signals                Signals
CMPE328 Spring 2007-08              Dr.Mehmet Bodur, EMU-CMPE                                       7      CMPE328 Spring 2007-08                   Dr.Mehmet Bodur, EMU-CMPE                                      8
Section 17.1



                            Baud Rate Calculations                                                                             Packet transmission time
   If each bit takes T seconds,
   the baud rate is B= 1/T.                                                                               If a system sends a packet of 50 bytes at
        Standard Baudrates are
        150, 300, 600, 1200, 2400, 4800, 9600, 19200, etc.                                                1200 Baud, using 8-data, no-parity, one
        Baudrate tolerance for a10-bit frame is 5%.                                                       stop bits, what is the transmission time of
   Example: T=209μs                                    B= 1/T = 4785 Baud                                 the whole packet:
        it is 4800 Baud within 5% tolerance.                                                                   1-byte frame is 1-start + 8-data + 1-stop bit
                                 one frame period                                                                      = 10 bits/byte.
                    T
                                                                                                               packet is transferred by 50 x 10 bits = 500 bits
                                                                                                               on the serial communication line.
                                                                                                               Tpacket = 500 bits / 1200 Baud = 0.417sec.
          Start   D0       D1          D2        D3      D4       D5   D6       D7   Stop                                    = 417 milliseconds.
           0      1        0           1         0       0        1    1        0     1   time
                                bits 7 6 5 4 3 2 1 0
     the transmitted data value is   01100101 b = 65h =‘e’
CMPE328 Spring 2007-08                Dr.Mehmet Bodur, EMU-CMPE                                  9    CMPE328 Spring 2007-08       Dr.Mehmet Bodur, EMU-CMPE          10




                                                                                      Section 17.1                                                             Section 17.1



                                            RS232 Socket Pins                                                                     Handshaking Signals
 Recommended standard
 describe two kind of sockets.                                         DTE              DCE           Modem-Terminal handshaking signals:
                                                                       TxD 2            TxD 2
      DTE: Device Terminal Equipment.                                  RxD 3            RxD 3
                                                                                                        Device status signals
           Computers, Terminals, etc.
                                                                       GND 7            GND 7                     DTR: Data terminal ready (DTE is ok.).
      DCE: Device Communication Equipment                                                                         DSR: Data Set ready (DCE is ok.)
           Modem (modulator-demodulator).
 Equipment connections:                                                                                      Flow control signals
                                                                        DTE              DTE                      RTS: Request to Send (DTE sends char.)
      DTE is connected to DCE                                           TxD 2            TxD 2
      without crossing.                                                RxD 3             RxD 3                    CTS: Clear to Send (DCE accepts RTS)
      DTE is connected to DTE                                          GND 7            GND 7

      cross-wired.
CMPE328 Spring 2007-08                Dr.Mehmet Bodur, EMU-CMPE                                  11   CMPE328 Spring 2007-08       Dr.Mehmet Bodur, EMU-CMPE          12
Section 17.4                                                                            Section 17.4



                                                     UART 8251                                                         8251 UART Device
                                                                                      Register addressing
                                                                                                                                                8251 USART
    A processor may transmit/receive data in                                          ~CS C/~D=00 (data)                                                    TXRDY
    serial format without any extra hardware.                                                writes to the transmit buffer                     D[0..7]        TXE
                                                                                                                                                             ~TXC
         But it costs to the processing time of the                                          reads from the receive buffer                                    TXD
                                                                                                                                                             RXD
         processor.
                                                                                      ~CS C/~D=01 (control)                                    RESET
                                                                                                                                                            RXRDY
    A UART (Universal Asynchronous Receiver Transmitter) is                                  writes to the                                     CLK
                                                                                                                                                             ~RXC
                                                                                                                                                            SY/BR
    a hardware device that shifts out data bits                                                   mode register right after a reset.           C/~D
                                                                                                                                                             DSR
    to transmit a data byte, and also shifts-in                                                   command register after mode is               ~RD
                                                                                                                                                            ~DTR
                                                                                                                                               ~WR          ~CTS
    data bits to receive a data byte.                                                             written.                                     ~CS          ~RTS
                                                                                             reads from the status register.

CMPE328 Spring 2007-08   Dr.Mehmet Bodur, EMU-CMPE                               13    CMPE328 Spring 2007-08      Dr.Mehmet Bodur, EMU-CMPE                          14




                                                                       Section 17.4                                                                            Section 17.4



           8251 system bus connection                                                                                  8251 Clock Signals
                                                      8251 USART                         CLK is system clock input
                                                               TXRDY                                                                                      8251 USART
Data buffer                            D[0..7]       D[0..7]     TXE     Transmit        TXC and RXC are transmit-receive                                           TXRDY
                                                                           Clock
address is 308h                                                 ~TXC
                                                                 TXD      serial
                                                                                         clock inputs.                                                   D[0..7]      TXE
                                                                                                                                                                     ~TXC
                                                                          data                There are three baudrate factors
Control/Status                                                  RXD                                                                                                   TXD
                                                                                                                                                                     RXD
                                                               RXRDY   Receive                     divide by 1, 16 and 64.
address is 309h,                       RESET         RESET      ~RXC    Clock
                                                                                          Example. Find RXC oscillator frequency                                    RXRDY
                                        CLK          CLK                                                                                                 RESET       ~RXC
TXRDY and                                 A0         C/~D
                                                               SY/BR      Clock
                                                                         Generator
                                                                                           for 1200 Baud operation with baudrate                         CLK
                                                                                                                                                                    SY/BR
                                                                DSR                        factor 1/64.                                                  C/~D
RXRDY are for                             ~IOR       ~RD
                                                               ~DTR       modem                                                                                      DSR
                                         ~IOW        ~WR                                   Solution: fRXC =1200*64 Hz = 76.8 kHz.                        ~RD
interrupted                 Address                  ~CS
                                                               ~CTS
                                                               ~RTS
                                                                        handshaking
                                                                                          Example: What shall be the baudrate                            ~WR
                                                                                                                                                                    ~DTR
                                                                                                                                                                    ~CTS
                            Decoder ~308h – ~309h
operation.                                                                                 factor for 4800 Baud operation if RXC is                      ~CS        ~RTS
                                                                                           connected to 19.2 kHz ?
                                                                                           Solution: 19.2kHz/4.8kHz = 4,      1/4
CMPE328 Spring 2007-08   Dr.Mehmet Bodur, EMU-CMPE                               15    CMPE328 Spring 2007-08      Dr.Mehmet Bodur, EMU-CMPE                          16
Section 17.4                                                                                               Section 17.4


                                                                                                                                        8251 mode/control settings
                               8251 Reset Sequence
                                                                                                                     8251 USART
                                                                                                                       Mode Register format for asynchronous mode:
                                                                                                                                                                   and status bits
                                                                                                                     b7 b6     = { S2S1: nr.of stop bits 00: invalid / 01:1stop / 10: 1.5stop / 11: 2stop },
  8251 reset sequence is                                                                                             b5
                                                                                                                     b4
                                                                                                                               = { EP: parity type 0: odd / 1: even },
                                                                                                                               = { PEN: parity enable 0: no-parity-bits / 1: parity-bits-present },
      write three successive zeros to control address to                                                             b3 b2     = { L2L1: nr.of data bits 00: 5-bit / 01: 6-bit / 10: 7-bit / 11: 8-bit },
                                                                                                                     b1 b0     = { B2B1: baud rate factor 00: sync-mode / 01: /1 / 10: /16 / 11: /64 }
      assure writing a reset to the command register.                                                                   Control Register format for asynchronous mode:
                                                                                                                     b7        = { EH: Enter hunt mode to search sync char 1: enable / 0: disable }
      write command 40h to reset (reset chip)                                                                        b6        = { IR:   Internal reset 1: resets the 8251A }
                                                                                                                     b5        = { RTS: Request to send, 1: RTS-output-forced-to-low }
  After the reset, 8251 expects mode settings.                                                                       b4        = { ER: Error Reset 1: reset error flags PE,OE,FE }
                                                                                                                     b3        = { SBRK: Send break char 1: forces TxD low }
      write the mode settings to control address                                                                     b2        = { RxE: Receiver enable 1: enable, 0: disable }
                                                                                                                     b1        = { DTR: Data terminal ready 1: DTR-output-forced-to-low }
  There after 8251 needs command settings.                                                                           b0        = { TxE: Transmitter enable 1: enable, 0: disable }
                                                                                                                        Status Register format for asynchronous mode:
      write command for command settings.                                                                            b7        = {DSR      1: DSR pin is active (low)}
                                                                                                                     b6        = {SY/BD 1: sync-or-break char detected}
  Now the device is ready for transmit and receive                                                                   b5        = {FE       1: Framing error occurs}
                                                                                                                     b4        = {OE      1: Overrun error occurs}
  operations                                                                                                         b3        = {PE       1: Parity error occurs}
                                                                                                                     b2        = {TxE     1: Tx finished transmitting all data}
                                                                                                                     b1        = {RxRDY 1: Data-in buffer is full}
                                                                                                                     b0        = {TxRDY 1: Data-out buffer is empty}
 CMPE328 Spring 2007-08             Dr.Mehmet Bodur, EMU-CMPE                                         17             CMPE328 Spring 2007-08                 Dr.Mehmet Bodur, EMU-CMPE                          18




                                                                                            Section 17.4



For the circuit                                8251 initialization                                                   For the circuit with ports                                       8251 coding
with ports 308h,                                                                                                     308h, 309h enabling
309h enabling              Mode Register                                                                             8251, write a code                                                 mainloop
                          b7 b6   = { S2S1: nr.of stop bits 00: inval./ 01:1stop / 10: 1.5stop / 11: 2stop },                                                        .model small
8251, write a             b5      = { EP: parity type 0: odd / 1: even },                                            a) to initialize it for 1200                    .code                  ….
code                      b4      = { PEN: parity enable 0: no-parity-bits / 1: parity-bits-present },               baud when TXC                               ; reset 8251           ; read the port
a) to initialize it for   b3 b2   ={ L2L1: nr.of data bits 00: 5-bit / 01: 6-bit / 10: 7-bit / 11: 8-bit },          connected to 19.2kHz, to
                                                                                                                                                                     mov dx,309h            mov dx,300h
1200 baud when            b1 b0   ={ B2B1: baud rate factor 00: sync-mode / 01: 1 / 10: 16 / 11: 64 }                transmit characters to a
                                                                                                                                                                     mov al,0               in al,dx
TXC connected to            Control Register                                                                         DCE with 8-bit data, no                                                mov ah,al ; save it
19.2kHz, to               b7      = { EH: Enter hunt mode to search sync char 1: enable / 0: disable }               parity, one stop bit                            out dx,al
transmit                  b6      = { IR: Internal reset 1: resets the 8251A }                                       configuration.                                  out dx,al          ; send the char,
characters to a           b5      = { RTS: Request to send, 1: RTS-output-forced-to-low }                            b) to read port 300h, and                       out dx,al          ; wait if buffer is full
DCE with 8-bit            b4      = { ER: Error Reset 1: reset error flags PE,OE,FE }                                transmit the value in                           mov al,40h             mov dh,309h
data, no parity,          b3      = { SBRK: Send break char 1: forces TxD low }                                      serial format                                   out dx,al          wdataout
one stop bit              b2      = { RxE: Receiver enable 1: enable, 0: disable }                                                                                                          in al,dx ; status byte
                          b1      = { DTR: Data terminal ready 1: DTR-output-forced-to-low }                                                                     ; set mode
configuration.            b0      = { TxE: Transmitter enable 1: enable, 0: disable }
                                                                                                                Status Register format for asynchronous mode:
                                                                                                                                                                     mov al, 4Eh            and al,01h
b) to read port                                                                                                 b7         = {DSR 1: DSR pin is active (low)}                               jz wdataout
300h, and                            Mode register shall be 01001110b = 4Eh                                     b6         = {SY/BD 1: sync-or-break char detected} out dx,al
                                                                                                                b5         = {FE       1: Framing error occurs}  ; set command          ; now send character
transmit the value                   Control register shall be 00110011b = 33h                                  b4         = {OE       1: Overrun error occurs}                             mov al,ah
in serial format                                                                                                                                                     mov al, 33h
                                                                                                                b3         = {PE       1: Parity error occurs}                              mov dx,308h
                                                  handshaking                                                   b2         = {TxE   1: Tx finished transmitting all data} out dx,al         out dx,al
                                                  to modem is                    receiver is disabled.          b1         = {RxRDY 1: Data-in buffer is full}
                                                    enabled.                                                    b0         = {TxRDY 1: Data-out buffer is empty}                        ; continue looping
                                                                               only transmitter enabled.
                                                                                                                                                                                            jmp mainloop
                                                                                                                                                                                            end
 CMPE328 Spring 2007-08             Dr.Mehmet Bodur, EMU-CMPE                                         19             CMPE328 Spring 2007-08                 Dr.Mehmet Bodur, EMU-CMPE                          20
Exercise
    Solve the following two Final Exam
    questions.
         Final Fall 06
         Final Fall 07




CMPE328 Spring 2007-08   Dr.Mehmet Bodur, EMU-CMPE          21

More Related Content

What's hot

Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
IDES Editor
 
Cooperative Communication for a Multiple-Satellite Network
Cooperative Communication for a Multiple-Satellite NetworkCooperative Communication for a Multiple-Satellite Network
Cooperative Communication for a Multiple-Satellite Network
chiragwarty
 
Frequency Shit Keying(FSK) modulation project report
Frequency Shit Keying(FSK) modulation project reportFrequency Shit Keying(FSK) modulation project report
Frequency Shit Keying(FSK) modulation project report
Md. Rayid Hasan Mojumder
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency
128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency
128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency
TELKOMNIKA JOURNAL
 
IIP2 requirements in 4G LTE Handset Receivers
IIP2 requirements in 4G LTE Handset ReceiversIIP2 requirements in 4G LTE Handset Receivers
IIP2 requirements in 4G LTE Handset Receivers
criterion123
 
Receiver design
Receiver designReceiver design
Receiver design
Pei-Che Chang
 
Qualitative Analysis of Darlington Feedback Amplifier at 45nm Technology
Qualitative Analysis of Darlington Feedback Amplifier at 45nm TechnologyQualitative Analysis of Darlington Feedback Amplifier at 45nm Technology
Qualitative Analysis of Darlington Feedback Amplifier at 45nm Technology
journalBEEI
 
Enhancement Of Diversity Gain In Mimo System
Enhancement Of Diversity Gain  In Mimo SystemEnhancement Of Diversity Gain  In Mimo System
Enhancement Of Diversity Gain In Mimo Systemmscs12
 
B0530714
B0530714B0530714
B0530714
IOSR Journals
 
K0536569
K0536569K0536569
K0536569
IOSR Journals
 
Mathematical description of ofdm
Mathematical description of ofdmMathematical description of ofdm
Mathematical description of ofdm
Julia Urbina-Pineda
 
Popular Interview Wireless Question with Answer
Popular Interview Wireless Question with AnswerPopular Interview Wireless Question with Answer
Popular Interview Wireless Question with Answer
VARUN KUMAR
 
IRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band Radar
IRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band RadarIRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band Radar
IRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band Radar
IRJET Journal
 
Fpga implementation of soft decision low power convolutional decoder using vi...
Fpga implementation of soft decision low power convolutional decoder using vi...Fpga implementation of soft decision low power convolutional decoder using vi...
Fpga implementation of soft decision low power convolutional decoder using vi...
ecejntuk
 
Data Communication & Computer Networks: Multi level, multi transition & block...
Data Communication & Computer Networks: Multi level, multi transition & block...Data Communication & Computer Networks: Multi level, multi transition & block...
Data Communication & Computer Networks: Multi level, multi transition & block...
Dr Rajiv Srivastava
 

What's hot (19)

Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
Performance analysis of Multiband - OFDM systems using LDPC coder in pulsed -...
 
Lecture 08
Lecture 08Lecture 08
Lecture 08
 
Cooperative Communication for a Multiple-Satellite Network
Cooperative Communication for a Multiple-Satellite NetworkCooperative Communication for a Multiple-Satellite Network
Cooperative Communication for a Multiple-Satellite Network
 
Frequency Shit Keying(FSK) modulation project report
Frequency Shit Keying(FSK) modulation project reportFrequency Shit Keying(FSK) modulation project report
Frequency Shit Keying(FSK) modulation project report
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency
128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency
128 mA CMOS LDO with 108 dB PSRR at 2.4 MHz frequency
 
Ch04
Ch04Ch04
Ch04
 
OFDM Final
OFDM FinalOFDM Final
OFDM Final
 
IIP2 requirements in 4G LTE Handset Receivers
IIP2 requirements in 4G LTE Handset ReceiversIIP2 requirements in 4G LTE Handset Receivers
IIP2 requirements in 4G LTE Handset Receivers
 
Receiver design
Receiver designReceiver design
Receiver design
 
Qualitative Analysis of Darlington Feedback Amplifier at 45nm Technology
Qualitative Analysis of Darlington Feedback Amplifier at 45nm TechnologyQualitative Analysis of Darlington Feedback Amplifier at 45nm Technology
Qualitative Analysis of Darlington Feedback Amplifier at 45nm Technology
 
Enhancement Of Diversity Gain In Mimo System
Enhancement Of Diversity Gain  In Mimo SystemEnhancement Of Diversity Gain  In Mimo System
Enhancement Of Diversity Gain In Mimo System
 
B0530714
B0530714B0530714
B0530714
 
K0536569
K0536569K0536569
K0536569
 
Mathematical description of ofdm
Mathematical description of ofdmMathematical description of ofdm
Mathematical description of ofdm
 
Popular Interview Wireless Question with Answer
Popular Interview Wireless Question with AnswerPopular Interview Wireless Question with Answer
Popular Interview Wireless Question with Answer
 
IRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band Radar
IRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band RadarIRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band Radar
IRJET- FPGA based Processor for Feature Detection in Ultra-Wide Band Radar
 
Fpga implementation of soft decision low power convolutional decoder using vi...
Fpga implementation of soft decision low power convolutional decoder using vi...Fpga implementation of soft decision low power convolutional decoder using vi...
Fpga implementation of soft decision low power convolutional decoder using vi...
 
Data Communication & Computer Networks: Multi level, multi transition & block...
Data Communication & Computer Networks: Multi level, multi transition & block...Data Communication & Computer Networks: Multi level, multi transition & block...
Data Communication & Computer Networks: Multi level, multi transition & block...
 

Viewers also liked

8251 usart programmable communication interface by aniket bhute
8251  usart  programmable communication interface by aniket bhute8251  usart  programmable communication interface by aniket bhute
8251 usart programmable communication interface by aniket bhute
Aniket Bhute
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar
Vijay Kumar
 
8251 USART
8251 USART8251 USART
8251 USART
coolsdhanesh
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
AJAL A J
 
Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.Prof. Swapnil V. Kaware
 
8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay
Vijay Kumar
 

Viewers also liked (6)

8251 usart programmable communication interface by aniket bhute
8251  usart  programmable communication interface by aniket bhute8251  usart  programmable communication interface by aniket bhute
8251 usart programmable communication interface by aniket bhute
 
8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar8051 microcontroller by K. Vijay Kumar
8051 microcontroller by K. Vijay Kumar
 
8251 USART
8251 USART8251 USART
8251 USART
 
8237 / 8257 DMA
8237 / 8257 DMA8237 / 8257 DMA
8237 / 8257 DMA
 
Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.Interfacing of 8255 IC By Er. Swapnil Kaware.
Interfacing of 8255 IC By Er. Swapnil Kaware.
 
8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay8259 Programmable Interrupt Controller by vijay
8259 Programmable Interrupt Controller by vijay
 

Similar to 11 Serial 0515

SONET.pdf
SONET.pdfSONET.pdf
SONET.pdf
Jayaprasanna4
 
Comparative evaluation of bit error rate for different ofdm subcarriers in ra...
Comparative evaluation of bit error rate for different ofdm subcarriers in ra...Comparative evaluation of bit error rate for different ofdm subcarriers in ra...
Comparative evaluation of bit error rate for different ofdm subcarriers in ra...
ijmnct
 
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
IJECEIAES
 
A010240110
A010240110A010240110
A010240110
IOSR Journals
 
Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)
Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)
Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)Pradeep Singh
 
Elet 4315 homework 2
Elet 4315 homework 2Elet 4315 homework 2
Elet 4315 homework 2Rever Wesley
 
Paper id 2720144
Paper id 2720144Paper id 2720144
Paper id 2720144
IJRAT
 
UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )
Tarun Khaneja
 
Understanding ISP Wiring
Understanding ISP WiringUnderstanding ISP Wiring
Understanding ISP Wiring
rns-usa
 
IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...
IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...
IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...
IRJET Journal
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
The fundamentals of sonet
The fundamentals of sonetThe fundamentals of sonet
The fundamentals of sonet
HARRY CHAN PUTRA
 
U N I T I I Baseband Demod V S H
U N I T I I  Baseband Demod  V S HU N I T I I  Baseband Demod  V S H
U N I T I I Baseband Demod V S HPrathmesh Ghodke
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
Kathirvel Ayyaswamy
 
24071 digitalcommunication
24071 digitalcommunication24071 digitalcommunication
24071 digitalcommunicationsharma ellappan
 
unit 4 smartsensors and application.pptx
unit 4 smartsensors and application.pptxunit 4 smartsensors and application.pptx
unit 4 smartsensors and application.pptx
AanshuSingh3
 
PONs overview
PONs overviewPONs overview
PONs overview
Tasuka Hsu
 
Serial1
Serial1Serial1
Serial1
anishgoel
 

Similar to 11 Serial 0515 (20)

SONET.pdf
SONET.pdfSONET.pdf
SONET.pdf
 
Comparative evaluation of bit error rate for different ofdm subcarriers in ra...
Comparative evaluation of bit error rate for different ofdm subcarriers in ra...Comparative evaluation of bit error rate for different ofdm subcarriers in ra...
Comparative evaluation of bit error rate for different ofdm subcarriers in ra...
 
38 41
38 4138 41
38 41
 
38 41
38 4138 41
38 41
 
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
Comparing ICH-leach and Leach Descendents on Image Transfer using DCT
 
A010240110
A010240110A010240110
A010240110
 
Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)
Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)
Project Report on Optical Fiber Cables and Systems (MTNL Mumbai)
 
Elet 4315 homework 2
Elet 4315 homework 2Elet 4315 homework 2
Elet 4315 homework 2
 
Paper id 2720144
Paper id 2720144Paper id 2720144
Paper id 2720144
 
UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )UART project report by Tarun Khaneja ( 09034406598 )
UART project report by Tarun Khaneja ( 09034406598 )
 
Understanding ISP Wiring
Understanding ISP WiringUnderstanding ISP Wiring
Understanding ISP Wiring
 
IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...
IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...
IRJET- Comparison of ATTEMPT and SIMPLE Protocols for Wireless Body Area Netw...
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
The fundamentals of sonet
The fundamentals of sonetThe fundamentals of sonet
The fundamentals of sonet
 
U N I T I I Baseband Demod V S H
U N I T I I  Baseband Demod  V S HU N I T I I  Baseband Demod  V S H
U N I T I I Baseband Demod V S H
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
24071 digitalcommunication
24071 digitalcommunication24071 digitalcommunication
24071 digitalcommunication
 
unit 4 smartsensors and application.pptx
unit 4 smartsensors and application.pptxunit 4 smartsensors and application.pptx
unit 4 smartsensors and application.pptx
 
PONs overview
PONs overviewPONs overview
PONs overview
 
Serial1
Serial1Serial1
Serial1
 

More from Aisu

ma project
ma projectma project
ma projectAisu
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton RaphsonAisu
 
Aisuphysics
AisuphysicsAisuphysics
AisuphysicsAisu
 
Dreaming In Arabicnovel
Dreaming In ArabicnovelDreaming In Arabicnovel
Dreaming In ArabicnovelAisu
 
The Society For The Betterment Of Mankind
The Society For The Betterment Of MankindThe Society For The Betterment Of Mankind
The Society For The Betterment Of MankindAisu
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission FundamentalsAisu
 
8251 08 Serial
8251 08 Serial8251 08 Serial
8251 08 SerialAisu
 
8251
82518251
8251Aisu
 
Io (2)
Io (2)Io (2)
Io (2)Aisu
 
I Ointerface in mp
I Ointerface in mpI Ointerface in mp
I Ointerface in mpAisu
 
Display1in mp
Display1in mpDisplay1in mp
Display1in mpAisu
 
Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mpAisu
 
8279 in microprocessor
8279 in microprocessor8279 in microprocessor
8279 in microprocessorAisu
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2Aisu
 
db
dbdb
dbAisu
 
Timer
TimerTimer
TimerAisu
 
Serial Io
Serial IoSerial Io
Serial IoAisu
 
Interrupt11
Interrupt11Interrupt11
Interrupt11Aisu
 
B Trees
B TreesB Trees
B Trees
Aisu
 
overview of physical storage media
overview of physical storage mediaoverview of physical storage media
overview of physical storage media
Aisu
 

More from Aisu (20)

ma project
ma projectma project
ma project
 
Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
Aisuphysics
AisuphysicsAisuphysics
Aisuphysics
 
Dreaming In Arabicnovel
Dreaming In ArabicnovelDreaming In Arabicnovel
Dreaming In Arabicnovel
 
The Society For The Betterment Of Mankind
The Society For The Betterment Of MankindThe Society For The Betterment Of Mankind
The Society For The Betterment Of Mankind
 
Digital Transmission Fundamentals
Digital Transmission FundamentalsDigital Transmission Fundamentals
Digital Transmission Fundamentals
 
8251 08 Serial
8251 08 Serial8251 08 Serial
8251 08 Serial
 
8251
82518251
8251
 
Io (2)
Io (2)Io (2)
Io (2)
 
I Ointerface in mp
I Ointerface in mpI Ointerface in mp
I Ointerface in mp
 
Display1in mp
Display1in mpDisplay1in mp
Display1in mp
 
Display11 in mp
Display11 in mpDisplay11 in mp
Display11 in mp
 
8279 in microprocessor
8279 in microprocessor8279 in microprocessor
8279 in microprocessor
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
db
dbdb
db
 
Timer
TimerTimer
Timer
 
Serial Io
Serial IoSerial Io
Serial Io
 
Interrupt11
Interrupt11Interrupt11
Interrupt11
 
B Trees
B TreesB Trees
B Trees
 
overview of physical storage media
overview of physical storage mediaoverview of physical storage media
overview of physical storage media
 

Recently uploaded

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

11 Serial 0515

  • 1. Section 17.1 Objectives Upon completion of this chapter, you will be able to: List the advantages of serial communication over parallel communication CMPE328 Microprocessors Explain the difference between synchronous and (Spring 2007-08) asynchronous communication Define the terms simplex, half duplex, and full duplex and diagram their implementation in serial communication Serial Interfacing Describe how start and stop bits frame data for serial communication Compare the measures baud rate and bps (bits per second) By Dr. Mehmet Bodur Describe the RS232 standard Compare DTE (data terminal) versus DCE (data communication) equipment Describe the purpose of handshaking signals such as DTR, RTS, and CTS Describe the operation of a USART and use and 8251 IC CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 2 Section 17.1 Section 17.1 Basics of Serial Communication Simplex vs Duplex Microprocessors are based mostly on 8-bit In Simplex Mode data flow Transmitter Receiver is in one direction only. registers. Thus, their fastest I/O is 8-bit In Half Duplex Mode data parallel ports. flows in one direction, at a Transmitter 0 1 Transmitter given time, Receiver Receiver 1 0 But, wiring cost of a long distance A protocol and switches connect the devices both to communication is very expensive if you receive and also to transmit. carry 8-wires. In Full Duplex mode, transmitted data and Remedy is to transfer data serially in bits received data goes Transmitter Transmitter instead of in bytes or words. simultaneously through two Receiver Receiver channels. CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 3 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 4
  • 2. Section 17.1 Section 17.1 Asynchronous Transmission Asynchronous vs Synchronous How can the receiver get each data bit when it is Start and Stop Bits delivered by the transmitter? Start bit is required to synchronize the internal In synchronous transmission an explicit clock clock of receiver. signal describes the instants of valid data. Stop bit is required to test the clock frequency. A single data bit is sent at each clock. Only DATA is transmitted, internal clock is generated locally. Voltage levels are 0 and 5V (TTL signal) Minimum three signal lines required for full duplex, Receive-DATA, Transmit-DATA, and CLOCK. TTL DATA In asynchronous transmission clock is derived internal using a-priory parameters and a start bit. clock Start D0 D1 D2 D3 D4 D5 D6 D7 Stop Transfer rate known, internal clock starts to pulse with 0 1 0 1 0 0 1 1 0 1 the start bit, at the known transfer rate. Internal clock stops with the time Internal clock starts Bits are sampled at Ony two signal lines required for full duplex the rising edge of stop bit. If Stop bit is not with the start bit. high, it gives framing error. Receive-DATA and Transmit-DATA the internal clock bit#: 7 6 5 4 3 2 1 0 Data is 01100101b =65h. It is ASCII “e” CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 5 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 6 Section 17.1 Section 17.1 Computers may be Asynchronous connected to eachother at COM port or TTL signal Communication System Data Transfer Rate levels as well. 1488 and 1489 COM port CPU BUS MODEM Transmit DRIVER Transmit Both devices shall know the data transfer System UART Phone Line Bus rate of the communication to synchronize Receive Receive the internal clocks correctly. TTL Level Signals RS232 Level Signals Data transfer rate is measured in BAUD Baud = bit/second Phone BUS Telecommunication Media MODEM DRIVER CPU (including start, stop, data, parity etc.) Transmit UART Transmit System Bus kilo Baud = 1000 Baud. (not 1024 Baud) Receive Receive Mega Baud = 1000 000 Baud RS232 TTL Level Level Signals Signals CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 7 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 8
  • 3. Section 17.1 Baud Rate Calculations Packet transmission time If each bit takes T seconds, the baud rate is B= 1/T. If a system sends a packet of 50 bytes at Standard Baudrates are 150, 300, 600, 1200, 2400, 4800, 9600, 19200, etc. 1200 Baud, using 8-data, no-parity, one Baudrate tolerance for a10-bit frame is 5%. stop bits, what is the transmission time of Example: T=209μs B= 1/T = 4785 Baud the whole packet: it is 4800 Baud within 5% tolerance. 1-byte frame is 1-start + 8-data + 1-stop bit one frame period = 10 bits/byte. T packet is transferred by 50 x 10 bits = 500 bits on the serial communication line. Tpacket = 500 bits / 1200 Baud = 0.417sec. Start D0 D1 D2 D3 D4 D5 D6 D7 Stop = 417 milliseconds. 0 1 0 1 0 0 1 1 0 1 time bits 7 6 5 4 3 2 1 0 the transmitted data value is 01100101 b = 65h =‘e’ CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 9 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 10 Section 17.1 Section 17.1 RS232 Socket Pins Handshaking Signals Recommended standard describe two kind of sockets. DTE DCE Modem-Terminal handshaking signals: TxD 2 TxD 2 DTE: Device Terminal Equipment. RxD 3 RxD 3 Device status signals Computers, Terminals, etc. GND 7 GND 7 DTR: Data terminal ready (DTE is ok.). DCE: Device Communication Equipment DSR: Data Set ready (DCE is ok.) Modem (modulator-demodulator). Equipment connections: Flow control signals DTE DTE RTS: Request to Send (DTE sends char.) DTE is connected to DCE TxD 2 TxD 2 without crossing. RxD 3 RxD 3 CTS: Clear to Send (DCE accepts RTS) DTE is connected to DTE GND 7 GND 7 cross-wired. CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 11 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 12
  • 4. Section 17.4 Section 17.4 UART 8251 8251 UART Device Register addressing 8251 USART A processor may transmit/receive data in ~CS C/~D=00 (data) TXRDY serial format without any extra hardware. writes to the transmit buffer D[0..7] TXE ~TXC But it costs to the processing time of the reads from the receive buffer TXD RXD processor. ~CS C/~D=01 (control) RESET RXRDY A UART (Universal Asynchronous Receiver Transmitter) is writes to the CLK ~RXC SY/BR a hardware device that shifts out data bits mode register right after a reset. C/~D DSR to transmit a data byte, and also shifts-in command register after mode is ~RD ~DTR ~WR ~CTS data bits to receive a data byte. written. ~CS ~RTS reads from the status register. CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 13 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 14 Section 17.4 Section 17.4 8251 system bus connection 8251 Clock Signals 8251 USART CLK is system clock input TXRDY 8251 USART Data buffer D[0..7] D[0..7] TXE Transmit TXC and RXC are transmit-receive TXRDY Clock address is 308h ~TXC TXD serial clock inputs. D[0..7] TXE ~TXC data There are three baudrate factors Control/Status RXD TXD RXD RXRDY Receive divide by 1, 16 and 64. address is 309h, RESET RESET ~RXC Clock Example. Find RXC oscillator frequency RXRDY CLK CLK RESET ~RXC TXRDY and A0 C/~D SY/BR Clock Generator for 1200 Baud operation with baudrate CLK SY/BR DSR factor 1/64. C/~D RXRDY are for ~IOR ~RD ~DTR modem DSR ~IOW ~WR Solution: fRXC =1200*64 Hz = 76.8 kHz. ~RD interrupted Address ~CS ~CTS ~RTS handshaking Example: What shall be the baudrate ~WR ~DTR ~CTS Decoder ~308h – ~309h operation. factor for 4800 Baud operation if RXC is ~CS ~RTS connected to 19.2 kHz ? Solution: 19.2kHz/4.8kHz = 4, 1/4 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 15 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 16
  • 5. Section 17.4 Section 17.4 8251 mode/control settings 8251 Reset Sequence 8251 USART Mode Register format for asynchronous mode: and status bits b7 b6 = { S2S1: nr.of stop bits 00: invalid / 01:1stop / 10: 1.5stop / 11: 2stop }, 8251 reset sequence is b5 b4 = { EP: parity type 0: odd / 1: even }, = { PEN: parity enable 0: no-parity-bits / 1: parity-bits-present }, write three successive zeros to control address to b3 b2 = { L2L1: nr.of data bits 00: 5-bit / 01: 6-bit / 10: 7-bit / 11: 8-bit }, b1 b0 = { B2B1: baud rate factor 00: sync-mode / 01: /1 / 10: /16 / 11: /64 } assure writing a reset to the command register. Control Register format for asynchronous mode: b7 = { EH: Enter hunt mode to search sync char 1: enable / 0: disable } write command 40h to reset (reset chip) b6 = { IR: Internal reset 1: resets the 8251A } b5 = { RTS: Request to send, 1: RTS-output-forced-to-low } After the reset, 8251 expects mode settings. b4 = { ER: Error Reset 1: reset error flags PE,OE,FE } b3 = { SBRK: Send break char 1: forces TxD low } write the mode settings to control address b2 = { RxE: Receiver enable 1: enable, 0: disable } b1 = { DTR: Data terminal ready 1: DTR-output-forced-to-low } There after 8251 needs command settings. b0 = { TxE: Transmitter enable 1: enable, 0: disable } Status Register format for asynchronous mode: write command for command settings. b7 = {DSR 1: DSR pin is active (low)} b6 = {SY/BD 1: sync-or-break char detected} Now the device is ready for transmit and receive b5 = {FE 1: Framing error occurs} b4 = {OE 1: Overrun error occurs} operations b3 = {PE 1: Parity error occurs} b2 = {TxE 1: Tx finished transmitting all data} b1 = {RxRDY 1: Data-in buffer is full} b0 = {TxRDY 1: Data-out buffer is empty} CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 17 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 18 Section 17.4 For the circuit 8251 initialization For the circuit with ports 8251 coding with ports 308h, 308h, 309h enabling 309h enabling Mode Register 8251, write a code mainloop b7 b6 = { S2S1: nr.of stop bits 00: inval./ 01:1stop / 10: 1.5stop / 11: 2stop }, .model small 8251, write a b5 = { EP: parity type 0: odd / 1: even }, a) to initialize it for 1200 .code …. code b4 = { PEN: parity enable 0: no-parity-bits / 1: parity-bits-present }, baud when TXC ; reset 8251 ; read the port a) to initialize it for b3 b2 ={ L2L1: nr.of data bits 00: 5-bit / 01: 6-bit / 10: 7-bit / 11: 8-bit }, connected to 19.2kHz, to mov dx,309h mov dx,300h 1200 baud when b1 b0 ={ B2B1: baud rate factor 00: sync-mode / 01: 1 / 10: 16 / 11: 64 } transmit characters to a mov al,0 in al,dx TXC connected to Control Register DCE with 8-bit data, no mov ah,al ; save it 19.2kHz, to b7 = { EH: Enter hunt mode to search sync char 1: enable / 0: disable } parity, one stop bit out dx,al transmit b6 = { IR: Internal reset 1: resets the 8251A } configuration. out dx,al ; send the char, characters to a b5 = { RTS: Request to send, 1: RTS-output-forced-to-low } b) to read port 300h, and out dx,al ; wait if buffer is full DCE with 8-bit b4 = { ER: Error Reset 1: reset error flags PE,OE,FE } transmit the value in mov al,40h mov dh,309h data, no parity, b3 = { SBRK: Send break char 1: forces TxD low } serial format out dx,al wdataout one stop bit b2 = { RxE: Receiver enable 1: enable, 0: disable } in al,dx ; status byte b1 = { DTR: Data terminal ready 1: DTR-output-forced-to-low } ; set mode configuration. b0 = { TxE: Transmitter enable 1: enable, 0: disable } Status Register format for asynchronous mode: mov al, 4Eh and al,01h b) to read port b7 = {DSR 1: DSR pin is active (low)} jz wdataout 300h, and Mode register shall be 01001110b = 4Eh b6 = {SY/BD 1: sync-or-break char detected} out dx,al b5 = {FE 1: Framing error occurs} ; set command ; now send character transmit the value Control register shall be 00110011b = 33h b4 = {OE 1: Overrun error occurs} mov al,ah in serial format mov al, 33h b3 = {PE 1: Parity error occurs} mov dx,308h handshaking b2 = {TxE 1: Tx finished transmitting all data} out dx,al out dx,al to modem is receiver is disabled. b1 = {RxRDY 1: Data-in buffer is full} enabled. b0 = {TxRDY 1: Data-out buffer is empty} ; continue looping only transmitter enabled. jmp mainloop end CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 19 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 20
  • 6. Exercise Solve the following two Final Exam questions. Final Fall 06 Final Fall 07 CMPE328 Spring 2007-08 Dr.Mehmet Bodur, EMU-CMPE 21