參數(shù)資料
型號(hào): MCP2140DM-TMPSNS
廠商: Microchip Technology
文件頁(yè)數(shù): 46/58頁(yè)
文件大?。?/td> 0K
描述: BOARD DEMO FOR MCP2140
產(chǎn)品培訓(xùn)模塊: PIC18 J Series MCU Overview
標(biāo)準(zhǔn)包裝: 1
主要目的: 接口,IrDA
嵌入式: 是,MCU,8 位
已用 IC / 零件: MCP2140
主要屬性: 帶 PIC18F MCU 和溫度傳感器的 IrDA 控制器
次要屬性: 設(shè)置為數(shù)據(jù)記錄器
已供物品: 板,軟件
產(chǎn)品目錄頁(yè)面: 685 (CN2011-ZH PDF)
相關(guān)產(chǎn)品: MCP2140A-I/SS-ND - IC IRDA CONTROLLR DTE/DCE 20SSOP
MCP2140A-I/SO-ND - IC IRDA CONTROLLR DTE/DCE 18SOIC
MCP2140A-I/P-ND - IC IRDA CONTROLLR DTE/DCE 18DIP
MCP2140AT-I/SSTR-ND - IC IRDA CONTROLLR DTE/DCE 20SSOP
MCP2140AT-I/SOTR-ND - IC IRDA CONTROLLR DTE/DCE 18SOIC
MCP2140T-I/SS-ND - IC IRDA CONTROLLR DTE/DCE 20SSOP
MCP2140T-I/SO-ND - IC IRDA CONTROLLR DTE/DCE 18SOIC
MCP2140-I/SS-ND - IC IRDA CONTROLLR DTE/DCE 20SSOP
MCP2140-I/SO-ND - IC IRDA CONTROLLR DTE/DCE 18SOIC
MCP2140-I/P-ND - IC IRDA CONTROLLER DTE/DCE 18DIP
其它名稱(chēng): MCP2140DM-TMPSNSR
MCP2140DM-TMPSNSR-ND
MCP2140
DS21790A-page 50
Preliminary
2003 Microchip Technology Inc.
APPENDIX C: HOW DEVICES
CONNECT
When two devices implementing the IrDA standard fea-
ture establish a connection using the IrCOMM protocol,
the process is analogous to connecting two devices
with serial ports using a cable. This is referred to as a
“point-to-point” connection. This connection is limited
to half-duplex operation because the IR transceiver
cannot transmit and receive at the same time. The pur-
pose of the IrDA protocols is to allow this half-duplex
link to emulate, as much as possible, a full-duplex con-
nection. In general, this is done by dividing the data into
“packets”, or groups of data. These packets can then
be sent back and forth, when needed, without risk of
collision. The rules of how and when these packets are
sent constitute the IrDA protocols.
When a wired connection is used, the assumption is
made that both sides have the same communications
parameters and features. A wired connection has no
need to identify the other connector because it is
assumed that the connectors are properly connected.
In the IrDA standard, a connection process has been
defined to identify other IrDA compatible devices and
establish a communication link. There are three steps
that these two devices go through to make this
connection. They are:
Normal Disconnect Mode (NDM)
Discovery Mode
Normal Connect Mode (NCM)
Figure C-1 shows the connection sequence.
C.1
Normal Disconnect Mode (NDM)
When two IrDA standard compatible devices come into
range they must first recognize each other. The basis
of this process is that one device has some task to
accomplish and the other device has a resource
needed to accomplish this task. One device is referred
to as a Primary device and the other is referred to as a
Secondary device. This distinction between Primary
device and Secondary device is important. It is the
responsibility of the Primary device to provide the
mechanism to recognize other devices. So the Primary
device must first poll for nearby IrDA standard compat-
ible devices. During this polling, the default baud rate of
9600 baud is used by both devices.
For example, if you want to print from an IrDA equipped
laptop to an IrDA printer, utilizing the IrDA standard fea-
ture, you would first bring your laptop in range of the
printer. In this case, the laptop is the one that has
something to do and the printer has the resource to do
it. The laptop is called the Primary device and the
printer is the Secondary device. Some data-capable
cell phones have IrDA standard infrared ports. If you
used such a cell phone with a Personal Digital Assis-
tant (PDA), the PDA that supports the IrDA standard
feature would be the Primary device and the cell phone
would be the Secondary device.
When a Primary device polls for another device, a
nearby Secondary device may respond. When a Sec-
ondary device responds, the two devices are defined to
be in the Normal Disconnect Mode (NDM) state. NDM
is established by the Primary device broadcasting a
packet and waiting for a response. These broadcast
packets are numbered. Usually 6 or 8 packets are sent.
The first packet is number 0, the last packet is usually
number 5 or 7. Once all the packets are sent, the Pri-
mary device sends an ID packet, which is not num-
bered.
The Secondary device waits for these packets and then
responds to one of the packets. The packet responds
to determines the “timeslot” to be used by the Second-
ary device. For example, if the Secondary device
responds after packet number 2, then the Secondary
device will use timeslot 2. If the Secondary device
responds after packet number 0, then the Secondary
device will use timeslot 0. This mechanism allows the
Primary device to recognize as many nearby devices
as there are timeslots. The Primary device will continue
to generate timeslots and the Secondary device should
continue to respond, even if there’s nothing to do.
Note 1: The MCP2140 can only be used to
implement a Secondary device.
2: The MCP2140 supports a system with
only one Secondary device having exclu-
sive use of the IrDA standard infrared link
(known as “point-to-point” communica-
tion).
3: The MCP2140 always responds to packet
number 2. This means that the MCP2140
will always use timeslot 2.
4: If another Secondary device is nearby,
the Primary device may fail to recognize
the MCP2140, or the Primary device may
not recognize either of the devices.
相關(guān)PDF資料
PDF描述
H8MMS-5006M DIP CABLE - HDM50S/AE50M/HDM50S
VE-B20-EW CONVERTER MOD DC/DC 5V 100W
GCB10DHFT CONN CARDEDGE 20POS .050" SMD
RMW-10/3-1200/ADH-0 HEAT SHRINK TUBING
RNF-100-1/2-BK-STK HEATSHRINK RNF-100 1/2"X4' BLK
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MCP2140-I/P 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 9600bd fixd spd IrDA RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray
MCP2140-I/P 制造商:Microchip Technology Inc 功能描述:IrDA Protocol Handler Communication IC
MCP2140-I/SO 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 9600bd fixd spd IrDA RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray
MCP2140-I/SO 制造商:Microchip Technology Inc 功能描述:IrDA Protocol Handler Communication IC
MCP2140-I/SS 功能描述:網(wǎng)絡(luò)控制器與處理器 IC 9600bd fixd spd IrDA RoHS:否 制造商:Micrel 產(chǎn)品:Controller Area Network (CAN) 收發(fā)器數(shù)量: 數(shù)據(jù)速率: 電源電流(最大值):595 mA 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:PBGA-400 封裝:Tray