SlideShare ist ein Scribd-Unternehmen logo
1 von 2
Downloaden Sie, um offline zu lesen
Wireless Communication Using the
IrDAÂź Standard Protocol
By Bonnie C. Baker, Microchip Technology Inc.


   ANALOG DESIGN NOTE                                                                                                                 ADN006
The two most popular mediums in the wireless arena are Infrared                                  The host controller controls the MCP2150 by sending
(IR) and Radio Frequency (RF). When asked to develop a                                           and receiving data through its UART interface port. The
wireless system, you may be concerned about cost, ease-of-                                       MCP2150, which is positioned between the host controller
design, and distance requirements. IR technologies are better                                    UART device and infrared optical transceiver, decodes and
suited for short distance, low-to-medium data throughput,                                        encodes the signal.
wireless communication channels. Two common types of IR
                                                                                                 The MCP2150 has two independent baud rates. One of the
technologies are currently in use. These are the TV Remote
                                                                                                 baud rates is for communication with the Primary device
(TVR) and the IrDA (Infrared Data Association) standard protocol.
                                                                                                 (PDA). The Primary device negotiates this baud rate with the
The lowest cost wireless connection technology is TVR. The                                       MCP2150, as defined in the IrDA standard. The second baud
trade-off with this technology is between distance and bit-rate.                                 rate is set with the two hardware pins, BAUD1 and BAUD0.
Usually this interface is also unidirectional. If a bidirectional,                               This second baud rate is for communication with the host
higher data bandwidth is required in your application, you may                                   controller.
opt to design an IrDA system. This infrared communication
                                                                                                 The IrDA standard is a network protocol and follows a
standard has been defined by the IrDA industry-based group(1).
                                                                                                 layered approach in its definition. A model of the IrDA
This group has developed communication standards that are
                                                                                                 protocol stack is shown in Figure 2. These protocols deal
well suited for low-cost, short-range, point-to-point infrared
                                                                                                 with a manageable set of responsibilities and also supply
channels. These types of channels operate over a wide range
                                                                                                 needed capabilities to the layers above and below.
of speeds under a cross-platform environment. IrDA standards
have been used to install over 300 million low-cost, short-range                                 The MCP2150 is an IrDA standard Protocol Stack Controller,
communication systems in laptops, printers, handheld PCs, and                                    which provides support for the IrDA standard protocol “stack”
PDAs, to name a few.                                                                             plus bit encoding/decoding.
An example of an IrDA standard embedded system is shown                                          One of the functions of the MCP2150 is to encode and
in Figure 1. In this system, the Primary device (PDA) searches                                   decode the asynchronous serial data stream.
for other IrDA standard devices. The Secondary device (Host
Controller and MCP2150) will respond to queries from the
Primary device.



                    Host                                    UART                                                         Palmℱ Handheld Device
                                                                                                 Optical
                  Controller                              Interface        MCP2150                                        with IrDAÂź Standard
                                                                                               Transceiver
                                                                                                                              Infrared Port
                    Embedded Application




                                                                      TX                TXIR
                                           TX                                Encode              TXD
                                           UART




                                                     EN                    Power Down
                                                                              Logic
                                                                      RX                RXIR
                                           RX                                Decode              RXD


                                                  BAUD1                     Baud Rate
                                                  BAUD0                     Generator

                                                   RTS
                                                   CTS
                                                   DSR                       UART
                                                   DTR                       Control
                                                    CD
                                                     RI                                                                       Primary Device


                                                             Secondary Device


Figure 1.     The Primary Device (PDA) sends data through the infrared interface to the MCP2150. The MCP2150 then decodes this data into the
              UART standard. After translation, the data is sent to the Host Controller through the UART interface. The Host Controller can also
              send data to the MCP2150 where the data is encoded and made ready for transmission to the Primary device.

© 2003 Microchip Technology, Inc.                                                                                                           DS21843A - Page 1
IrTRAN-P        IrObex          IrLAN         IrCOMM (1)             IrMC                allows easy connections to PC serial ports. Another product
                                                                                          available is the MCP2155, which is best suited for serial port
 LM-IAS                     Tiny Transport Protocol (Tiny TP)
                                                                                          interfaces (ie., modems). In all cases, these point-to-point
                    IR Link Management - Mux (IrLMP)                                      systems connect to devices of “higher intelligence”, such as
                       IR Link Access - Mux (IrLAP)                                       PCs, PDAs, etc.. This minimizes the cost of MCP215X-type
 Asynchronous Serial IR         Synchronous Serial         Synchronous Fast               devices. The MCP215X can also serve as a primary device in
       (2, 3) (SIR)              IR (1.15 MBaud)               IR (FIR)                   these point-to-point applications. Both devices provide support
  (9600 - 115200 Baud)                                        (4 MBaud)                   for the IrDA standard protocol “stack” plus bit encoding and
                                                                                          decoding capability.
Figure 2.       This IrDA protocol stack has been defined by the
                IrDA industry-based group. Within the protocol stack                      Another product in this family from Microchip is the MCP2140,
                data communications, details, as well as the data                         which is an IrDA standard protocol stack controller with a fixed
                structures, are defined.
                                                                                          baud communication rate of 9600. Adding IR connectivity to
The encode/decode translation format is shown in Figures 3                                cost-sensitive, high volume, embedded applications was not
and 4. Figure 3 shows how the received IR data from the PDA                               really feasible prior to the introduction of the MCP215X and
is decoded to UART-formatted data. Figure 4 demonstrates                                  MCP2140 parts. These parts remove the requirement of the
how data is taken from the Host Controller, into the MCP2150,                             system designer needing to implement the complex IrDA stack.
and encoded in preparation of transmission to the PDA. The                                Finally, the MCP2120 is an infrared encoder/decoder chip.
IrDA bit format is the NAND of the UART signal. The bits are
                                                                                          Sending data using IR light requires some hardware and
inverted and high pulses are shortened in order to reduce the
                                                                                          specialized communication protocols. These protocol and
optics power consumption. The MCP2150 decodes the IR data,
                                                                                          hardware requirements are described, in detail, in the IrDA
which is then handled by the protocol handler state machine.
                                                                                          standard specifications. The encoding/decoding functionality
The protocol handler sends the appropriate data bytes to the
                                                                                          of the MCP2150 is designed to be compatible with the physical
Host Controller in UART-formatted serial data.
                                                                                          layer component of the IrDA standard. This part of the standard
The MCP2150 replaces a wired serial connection with a                                     is often referred to as “IrPHY”. Additionally, the MCP2150
wireless solution. The MCP2150 allows designers to add IrDA                               handles the speciallized communication protocol, IrCOMM
wireless connectivity to their embedded system designs easily                             (9-wire “cooked” service class). A complete list of IrDA standard
and cost effectively. With this device, the host UART interface                           specifications is available on the IrDA website (www.irda.org).

                                               Start Bit     Data bit 0    Data bit 1     Data bit 2   Data bit ...
                                               16 CLK

                              BITCLK
                                (CLK)
                                                              ≄ 13 CLK)
                                 RXIR Bit
                                 Value             ≄ 1.6 ”s up to 3 CLK)

                                               16 CLK        16 CLK          16 CLK        16 CLK      16 CLK         16 CLK
                                   RX


                                                  0              1              0              0            1            0

Figure 3.        Bit Encoding

                                               Start Bit      Data bit 0     Data bit 1   Data bit 2   Data bit ...
                                               16 CLK

                              BITCLK
                                TX Bit
                                Value
                                                        7 CLK

                                 TXIR
                                                            24 TOSC
                                                   0              1              0             0             1           0
Figure 4.        Bit Encoding
Recommend References:
(1)www.irda.org - Trade Association for Defining Infrared Standards, IrDA System Protocol consortium web site.
  AN858 - “Interfacing the MCP215X to a Host Controller”, Palmer, Mark, Microchip Technology Inc.




                                                For more information, please visit www.microchip.com
   The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. IrDA is a registered
     trademark of the Infrared Data Association. All other trademarks mentioned herein are the property of their respective owners. Information subject to change.
                                                                © 2004 Microchip Technology Inc. 1/2004

DS21843A - Page 2                                                                                                                © 2003 Microchip Technology, Inc.

Weitere Àhnliche Inhalte

Was ist angesagt?

GSM 2.5G Migration
GSM 2.5G MigrationGSM 2.5G Migration
GSM 2.5G Migrationmaddiv
 
Sagittar MN (MIMO, 11n) Series Brochure and White Paper
Sagittar MN (MIMO, 11n) Series Brochure and White PaperSagittar MN (MIMO, 11n) Series Brochure and White Paper
Sagittar MN (MIMO, 11n) Series Brochure and White PaperSagittar
 
Vertex vxd 720-spec_sheet_final_0511
Vertex vxd 720-spec_sheet_final_0511Vertex vxd 720-spec_sheet_final_0511
Vertex vxd 720-spec_sheet_final_0511Advantec Distribution
 
Hiperlink optical 05 Ghz-lanrtx
Hiperlink optical 05 Ghz-lanrtxHiperlink optical 05 Ghz-lanrtx
Hiperlink optical 05 Ghz-lanrtxRes-Ingenium
 
Integrated Software-Defined Radio (SDR) - VE2013
Integrated Software-Defined Radio (SDR) - VE2013Integrated Software-Defined Radio (SDR) - VE2013
Integrated Software-Defined Radio (SDR) - VE2013Analog Devices, Inc.
 
HIPERLINK 05G backhaul - IRTX
HIPERLINK 05G backhaul - IRTXHIPERLINK 05G backhaul - IRTX
HIPERLINK 05G backhaul - IRTXRes-Ingenium
 
Wireless RF module
Wireless RF moduleWireless RF module
Wireless RF modulerapper13_32
 
Spectra dtp4700h march2012_final
Spectra dtp4700h march2012_finalSpectra dtp4700h march2012_final
Spectra dtp4700h march2012_finalADLINK Technology IoT
 
How rfid changes our lifes
How rfid changes our lifesHow rfid changes our lifes
How rfid changes our lifesPUMEIYI
 
Codedivisionduplexing 101030162422-phpapp02
Codedivisionduplexing 101030162422-phpapp02Codedivisionduplexing 101030162422-phpapp02
Codedivisionduplexing 101030162422-phpapp02pankajtalan
 
Software Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGASoftware Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGAIRJET Journal
 
Matrix Telecom Solutions: ETERNITY PLCC EPAX
Matrix Telecom Solutions: ETERNITY PLCC EPAX Matrix Telecom Solutions: ETERNITY PLCC EPAX
Matrix Telecom Solutions: ETERNITY PLCC EPAX Matrix Comsec
 
LayerZero Series 70: ePanel-HD2 High Density Power Panel
LayerZero Series 70: ePanel-HD2 High Density Power PanelLayerZero Series 70: ePanel-HD2 High Density Power Panel
LayerZero Series 70: ePanel-HD2 High Density Power PanelLayerZero Power Systems, Inc.
 
ZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNA
ZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNAZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNA
ZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNANMDG NV
 
PNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNA
PNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNAPNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNA
PNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNANMDG NV
 
20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_en20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_ennezinamais
 
A review on various types of software defined radios (sdrs) in radio communic...
A review on various types of software defined radios (sdrs) in radio communic...A review on various types of software defined radios (sdrs) in radio communic...
A review on various types of software defined radios (sdrs) in radio communic...eSAT Journals
 
DRV401AIDWPG4
DRV401AIDWPG4DRV401AIDWPG4
DRV401AIDWPG4spicepark
 

Was ist angesagt? (19)

GSM 2.5G Migration
GSM 2.5G MigrationGSM 2.5G Migration
GSM 2.5G Migration
 
Sagittar MN (MIMO, 11n) Series Brochure and White Paper
Sagittar MN (MIMO, 11n) Series Brochure and White PaperSagittar MN (MIMO, 11n) Series Brochure and White Paper
Sagittar MN (MIMO, 11n) Series Brochure and White Paper
 
Vertex vxd 720-spec_sheet_final_0511
Vertex vxd 720-spec_sheet_final_0511Vertex vxd 720-spec_sheet_final_0511
Vertex vxd 720-spec_sheet_final_0511
 
Hiperlink optical 05 Ghz-lanrtx
Hiperlink optical 05 Ghz-lanrtxHiperlink optical 05 Ghz-lanrtx
Hiperlink optical 05 Ghz-lanrtx
 
Integrated Software-Defined Radio (SDR) - VE2013
Integrated Software-Defined Radio (SDR) - VE2013Integrated Software-Defined Radio (SDR) - VE2013
Integrated Software-Defined Radio (SDR) - VE2013
 
HIPERLINK 05G backhaul - IRTX
HIPERLINK 05G backhaul - IRTXHIPERLINK 05G backhaul - IRTX
HIPERLINK 05G backhaul - IRTX
 
T3 datasheet
T3 datasheetT3 datasheet
T3 datasheet
 
Wireless RF module
Wireless RF moduleWireless RF module
Wireless RF module
 
Spectra dtp4700h march2012_final
Spectra dtp4700h march2012_finalSpectra dtp4700h march2012_final
Spectra dtp4700h march2012_final
 
How rfid changes our lifes
How rfid changes our lifesHow rfid changes our lifes
How rfid changes our lifes
 
Codedivisionduplexing 101030162422-phpapp02
Codedivisionduplexing 101030162422-phpapp02Codedivisionduplexing 101030162422-phpapp02
Codedivisionduplexing 101030162422-phpapp02
 
Software Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGASoftware Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGA
 
Matrix Telecom Solutions: ETERNITY PLCC EPAX
Matrix Telecom Solutions: ETERNITY PLCC EPAX Matrix Telecom Solutions: ETERNITY PLCC EPAX
Matrix Telecom Solutions: ETERNITY PLCC EPAX
 
LayerZero Series 70: ePanel-HD2 High Density Power Panel
LayerZero Series 70: ePanel-HD2 High Density Power PanelLayerZero Series 70: ePanel-HD2 High Density Power Panel
LayerZero Series 70: ePanel-HD2 High Density Power Panel
 
ZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNA
ZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNAZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNA
ZVxPlus Product Brochure: Nonlinear Starter Kit For R&S VNA
 
PNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNA
PNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNAPNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNA
PNAPlus Product Brochure: Nonlinear Starter Kit For Agilent VNA
 
20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_en20110224 saf cfip_brochure_en
20110224 saf cfip_brochure_en
 
A review on various types of software defined radios (sdrs) in radio communic...
A review on various types of software defined radios (sdrs) in radio communic...A review on various types of software defined radios (sdrs) in radio communic...
A review on various types of software defined radios (sdrs) in radio communic...
 
DRV401AIDWPG4
DRV401AIDWPG4DRV401AIDWPG4
DRV401AIDWPG4
 

Andere mochten auch

Jack dempsey developmental work poster
Jack dempsey developmental work poster Jack dempsey developmental work poster
Jack dempsey developmental work poster itsjackalackin
 
CECRL Ă©chelle globale
CECRL Ă©chelle globaleCECRL Ă©chelle globale
CECRL Ă©chelle globaleneobebe59
 
Coaching for jaipur thar gramin bank exam 2012 at cheap rate with free study...
Coaching for jaipur thar gramin bank exam 2012  at cheap rate with free study...Coaching for jaipur thar gramin bank exam 2012  at cheap rate with free study...
Coaching for jaipur thar gramin bank exam 2012 at cheap rate with free study...Tanay Kumar Das
 
Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...
Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...
Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...Tanay Kumar Das
 
CurrĂ­culum vitae
CurrĂ­culum vitaeCurrĂ­culum vitae
CurrĂ­culum vitaeAndreaViguerM
 
Explica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłn
Explica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłnExplica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłn
Explica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłneduard95
 
Presentacion
PresentacionPresentacion
PresentacionSamuel100a
 
Dueitt Middle School March 2010
Dueitt  Middle  School  March 2010Dueitt  Middle  School  March 2010
Dueitt Middle School March 2010Mary Jane Carvell
 
Trigeminal nerve/ dental implant courses
Trigeminal nerve/ dental implant coursesTrigeminal nerve/ dental implant courses
Trigeminal nerve/ dental implant coursesIndian dental academy
 
P1 e1 internet
P1 e1 internetP1 e1 internet
P1 e1 internettrianagm17
 
Resume Fall 2011 Jason Void
Resume Fall 2011 Jason VoidResume Fall 2011 Jason Void
Resume Fall 2011 Jason Voiddevoid1023
 
Tmj /certified fixed orthodontic courses by Indian dental academy
Tmj   /certified fixed orthodontic courses by Indian   dental academy Tmj   /certified fixed orthodontic courses by Indian   dental academy
Tmj /certified fixed orthodontic courses by Indian dental academy Indian dental academy
 
Cranial nerve examination / dental implant courses
Cranial nerve examination / dental implant coursesCranial nerve examination / dental implant courses
Cranial nerve examination / dental implant coursesIndian dental academy
 
Internet features (2nd topic)
Internet features (2nd topic)Internet features (2nd topic)
Internet features (2nd topic)Anish Thomas
 
MotivaciĂłn en el aula
MotivaciĂłn en el aulaMotivaciĂłn en el aula
MotivaciĂłn en el aulaFernanda Reyes
 

Andere mochten auch (18)

Jack dempsey developmental work poster
Jack dempsey developmental work poster Jack dempsey developmental work poster
Jack dempsey developmental work poster
 
CECRL Ă©chelle globale
CECRL Ă©chelle globaleCECRL Ă©chelle globale
CECRL Ă©chelle globale
 
Same day loans
Same day loansSame day loans
Same day loans
 
Resume
Resume Resume
Resume
 
Coaching for jaipur thar gramin bank exam 2012 at cheap rate with free study...
Coaching for jaipur thar gramin bank exam 2012  at cheap rate with free study...Coaching for jaipur thar gramin bank exam 2012  at cheap rate with free study...
Coaching for jaipur thar gramin bank exam 2012 at cheap rate with free study...
 
Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...
Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...
Haryana staff selection commission hssc exam 2012 tution at cheap rate with f...
 
CurrĂ­culum vitae
CurrĂ­culum vitaeCurrĂ­culum vitae
CurrĂ­culum vitae
 
Explica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłn
Explica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłnExplica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłn
Explica a que llamamos tecnologĂ­as de la informaciĂłn y la comunicaciĂłn
 
Presentacion
PresentacionPresentacion
Presentacion
 
Socialwheel
SocialwheelSocialwheel
Socialwheel
 
Dueitt Middle School March 2010
Dueitt  Middle  School  March 2010Dueitt  Middle  School  March 2010
Dueitt Middle School March 2010
 
Trigeminal nerve/ dental implant courses
Trigeminal nerve/ dental implant coursesTrigeminal nerve/ dental implant courses
Trigeminal nerve/ dental implant courses
 
P1 e1 internet
P1 e1 internetP1 e1 internet
P1 e1 internet
 
Resume Fall 2011 Jason Void
Resume Fall 2011 Jason VoidResume Fall 2011 Jason Void
Resume Fall 2011 Jason Void
 
Tmj /certified fixed orthodontic courses by Indian dental academy
Tmj   /certified fixed orthodontic courses by Indian   dental academy Tmj   /certified fixed orthodontic courses by Indian   dental academy
Tmj /certified fixed orthodontic courses by Indian dental academy
 
Cranial nerve examination / dental implant courses
Cranial nerve examination / dental implant coursesCranial nerve examination / dental implant courses
Cranial nerve examination / dental implant courses
 
Internet features (2nd topic)
Internet features (2nd topic)Internet features (2nd topic)
Internet features (2nd topic)
 
MotivaciĂłn en el aula
MotivaciĂłn en el aulaMotivaciĂłn en el aula
MotivaciĂłn en el aula
 

Ähnlich wie Adn006

A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...ranjitha mudhiraj
 
NFCRFID Ripe for Application Expansion_ElectronicDesign
NFCRFID Ripe for Application Expansion_ElectronicDesignNFCRFID Ripe for Application Expansion_ElectronicDesign
NFCRFID Ripe for Application Expansion_ElectronicDesignHamed M. Sanogo
 
rfidbasedemployeetracking-140121120946-phpapp02.pptx
rfidbasedemployeetracking-140121120946-phpapp02.pptxrfidbasedemployeetracking-140121120946-phpapp02.pptx
rfidbasedemployeetracking-140121120946-phpapp02.pptxRohithTopula
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmissionbjp4642
 
Isa scada overview
Isa scada overviewIsa scada overview
Isa scada overviewsakthinathanr
 
Rfid interfacing & controlling with 8051
Rfid interfacing & controlling with 8051Rfid interfacing & controlling with 8051
Rfid interfacing & controlling with 8051Akshay Dhole
 
RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...
RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...
RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...ASHOKKUMAR RAMAR
 
Presentation of Software Defined Radio.ppt
Presentation of Software Defined Radio.pptPresentation of Software Defined Radio.ppt
Presentation of Software Defined Radio.pptMathavan N
 
final presentation
final presentationfinal presentation
final presentationshalinigowda12
 
Akash uid ppt3
Akash uid ppt3Akash uid ppt3
Akash uid ppt3Akash Verma
 
Sdr seminar
Sdr seminarSdr seminar
Sdr seminarJyoti Yadav
 
U H F R F I D Antennas For Printer Encoders
U H F  R F I D Antennas For Printer EncodersU H F  R F I D Antennas For Printer Encoders
U H F R F I D Antennas For Printer Encodersbtsirline
 
Rfid based employee tracking
Rfid based employee trackingRfid based employee tracking
Rfid based employee trackinggiri529
 
Wireless agro automation system
Wireless agro automation systemWireless agro automation system
Wireless agro automation systemkarthikpunuru
 

Ähnlich wie Adn006 (20)

Af24220226
Af24220226Af24220226
Af24220226
 
A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...A zigbee wireless sensor network and multiple way bus communication meduim ca...
A zigbee wireless sensor network and multiple way bus communication meduim ca...
 
NFCRFID Ripe for Application Expansion_ElectronicDesign
NFCRFID Ripe for Application Expansion_ElectronicDesignNFCRFID Ripe for Application Expansion_ElectronicDesign
NFCRFID Ripe for Application Expansion_ElectronicDesign
 
23.pptx
23.pptx23.pptx
23.pptx
 
Gps
GpsGps
Gps
 
Gps
GpsGps
Gps
 
rfidbasedemployeetracking-140121120946-phpapp02.pptx
rfidbasedemployeetracking-140121120946-phpapp02.pptxrfidbasedemployeetracking-140121120946-phpapp02.pptx
rfidbasedemployeetracking-140121120946-phpapp02.pptx
 
rohith.pptx
rohith.pptxrohith.pptx
rohith.pptx
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmission
 
Isa scada overview
Isa scada overviewIsa scada overview
Isa scada overview
 
Rfid interfacing & controlling with 8051
Rfid interfacing & controlling with 8051Rfid interfacing & controlling with 8051
Rfid interfacing & controlling with 8051
 
RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...
RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...
RFID PROJECTS ABSTRACT LIST-Rfid based access control and staff attendence ma...
 
Presentation of Software Defined Radio.ppt
Presentation of Software Defined Radio.pptPresentation of Software Defined Radio.ppt
Presentation of Software Defined Radio.ppt
 
final presentation
final presentationfinal presentation
final presentation
 
Akash uid ppt3
Akash uid ppt3Akash uid ppt3
Akash uid ppt3
 
Sdr seminar
Sdr seminarSdr seminar
Sdr seminar
 
U H F R F I D Antennas For Printer Encoders
U H F  R F I D Antennas For Printer EncodersU H F  R F I D Antennas For Printer Encoders
U H F R F I D Antennas For Printer Encoders
 
Final_Report_15
Final_Report_15Final_Report_15
Final_Report_15
 
Rfid based employee tracking
Rfid based employee trackingRfid based employee tracking
Rfid based employee tracking
 
Wireless agro automation system
Wireless agro automation systemWireless agro automation system
Wireless agro automation system
 

KĂŒrzlich hochgeladen

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...gurkirankumar98700
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

KĂŒrzlich hochgeladen (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Adn006

  • 1. Wireless Communication Using the IrDAÂź Standard Protocol By Bonnie C. Baker, Microchip Technology Inc. ANALOG DESIGN NOTE ADN006 The two most popular mediums in the wireless arena are Infrared The host controller controls the MCP2150 by sending (IR) and Radio Frequency (RF). When asked to develop a and receiving data through its UART interface port. The wireless system, you may be concerned about cost, ease-of- MCP2150, which is positioned between the host controller design, and distance requirements. IR technologies are better UART device and infrared optical transceiver, decodes and suited for short distance, low-to-medium data throughput, encodes the signal. wireless communication channels. Two common types of IR The MCP2150 has two independent baud rates. One of the technologies are currently in use. These are the TV Remote baud rates is for communication with the Primary device (TVR) and the IrDA (Infrared Data Association) standard protocol. (PDA). The Primary device negotiates this baud rate with the The lowest cost wireless connection technology is TVR. The MCP2150, as defined in the IrDA standard. The second baud trade-off with this technology is between distance and bit-rate. rate is set with the two hardware pins, BAUD1 and BAUD0. Usually this interface is also unidirectional. If a bidirectional, This second baud rate is for communication with the host higher data bandwidth is required in your application, you may controller. opt to design an IrDA system. This infrared communication The IrDA standard is a network protocol and follows a standard has been defined by the IrDA industry-based group(1). layered approach in its definition. A model of the IrDA This group has developed communication standards that are protocol stack is shown in Figure 2. These protocols deal well suited for low-cost, short-range, point-to-point infrared with a manageable set of responsibilities and also supply channels. These types of channels operate over a wide range needed capabilities to the layers above and below. of speeds under a cross-platform environment. IrDA standards have been used to install over 300 million low-cost, short-range The MCP2150 is an IrDA standard Protocol Stack Controller, communication systems in laptops, printers, handheld PCs, and which provides support for the IrDA standard protocol “stack” PDAs, to name a few. plus bit encoding/decoding. An example of an IrDA standard embedded system is shown One of the functions of the MCP2150 is to encode and in Figure 1. In this system, the Primary device (PDA) searches decode the asynchronous serial data stream. for other IrDA standard devices. The Secondary device (Host Controller and MCP2150) will respond to queries from the Primary device. Host UART Palmℱ Handheld Device Optical Controller Interface MCP2150 with IrDAÂź Standard Transceiver Infrared Port Embedded Application TX TXIR TX Encode TXD UART EN Power Down Logic RX RXIR RX Decode RXD BAUD1 Baud Rate BAUD0 Generator RTS CTS DSR UART DTR Control CD RI Primary Device Secondary Device Figure 1. The Primary Device (PDA) sends data through the infrared interface to the MCP2150. The MCP2150 then decodes this data into the UART standard. After translation, the data is sent to the Host Controller through the UART interface. The Host Controller can also send data to the MCP2150 where the data is encoded and made ready for transmission to the Primary device. © 2003 Microchip Technology, Inc. DS21843A - Page 1
  • 2. IrTRAN-P IrObex IrLAN IrCOMM (1) IrMC allows easy connections to PC serial ports. Another product available is the MCP2155, which is best suited for serial port LM-IAS Tiny Transport Protocol (Tiny TP) interfaces (ie., modems). In all cases, these point-to-point IR Link Management - Mux (IrLMP) systems connect to devices of “higher intelligence”, such as IR Link Access - Mux (IrLAP) PCs, PDAs, etc.. This minimizes the cost of MCP215X-type Asynchronous Serial IR Synchronous Serial Synchronous Fast devices. The MCP215X can also serve as a primary device in (2, 3) (SIR) IR (1.15 MBaud) IR (FIR) these point-to-point applications. Both devices provide support (9600 - 115200 Baud) (4 MBaud) for the IrDA standard protocol “stack” plus bit encoding and decoding capability. Figure 2. This IrDA protocol stack has been defined by the IrDA industry-based group. Within the protocol stack Another product in this family from Microchip is the MCP2140, data communications, details, as well as the data which is an IrDA standard protocol stack controller with a fixed structures, are defined. baud communication rate of 9600. Adding IR connectivity to The encode/decode translation format is shown in Figures 3 cost-sensitive, high volume, embedded applications was not and 4. Figure 3 shows how the received IR data from the PDA really feasible prior to the introduction of the MCP215X and is decoded to UART-formatted data. Figure 4 demonstrates MCP2140 parts. These parts remove the requirement of the how data is taken from the Host Controller, into the MCP2150, system designer needing to implement the complex IrDA stack. and encoded in preparation of transmission to the PDA. The Finally, the MCP2120 is an infrared encoder/decoder chip. IrDA bit format is the NAND of the UART signal. The bits are Sending data using IR light requires some hardware and inverted and high pulses are shortened in order to reduce the specialized communication protocols. These protocol and optics power consumption. The MCP2150 decodes the IR data, hardware requirements are described, in detail, in the IrDA which is then handled by the protocol handler state machine. standard specifications. The encoding/decoding functionality The protocol handler sends the appropriate data bytes to the of the MCP2150 is designed to be compatible with the physical Host Controller in UART-formatted serial data. layer component of the IrDA standard. This part of the standard The MCP2150 replaces a wired serial connection with a is often referred to as “IrPHY”. Additionally, the MCP2150 wireless solution. The MCP2150 allows designers to add IrDA handles the speciallized communication protocol, IrCOMM wireless connectivity to their embedded system designs easily (9-wire “cooked” service class). A complete list of IrDA standard and cost effectively. With this device, the host UART interface specifications is available on the IrDA website (www.irda.org). Start Bit Data bit 0 Data bit 1 Data bit 2 Data bit ... 16 CLK BITCLK (CLK) ≄ 13 CLK) RXIR Bit Value ≄ 1.6 ”s up to 3 CLK) 16 CLK 16 CLK 16 CLK 16 CLK 16 CLK 16 CLK RX 0 1 0 0 1 0 Figure 3. Bit Encoding Start Bit Data bit 0 Data bit 1 Data bit 2 Data bit ... 16 CLK BITCLK TX Bit Value 7 CLK TXIR 24 TOSC 0 1 0 0 1 0 Figure 4. Bit Encoding Recommend References: (1)www.irda.org - Trade Association for Defining Infrared Standards, IrDA System Protocol consortium web site. AN858 - “Interfacing the MCP215X to a Host Controller”, Palmer, Mark, Microchip Technology Inc. For more information, please visit www.microchip.com The Microchip name and logo and the Microchip logo are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. IrDA is a registered trademark of the Infrared Data Association. All other trademarks mentioned herein are the property of their respective owners. Information subject to change. © 2004 Microchip Technology Inc. 1/2004 DS21843A - Page 2 © 2003 Microchip Technology, Inc.