參數(shù)資料
型號(hào): MCP2140DM-TMPSNS
廠商: Microchip Technology
文件頁(yè)數(shù): 11/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
2003 Microchip Technology Inc.
Preliminary
DS21790A-page 19
MCP2140
2.14.2
DISCOVERY MODE
Discovery mode allows the Primary device to deter-
mine the capabilities of the MCP2140 (Secondary
device). Discovery mode is entered once the MCP2140
(Secondary device) has sent a XID response to the Pri-
mary device and the Primary device has completed
sending the XIDs and a Broadcast ID. If this sequence
is not completed, a Primary and Secondary device can
stay in NDM indefinitely.
When the Primary device has something to do, it
initiates Discovery, which has two parts. They are:
Link initialization
Resource determination
The first step is for the Primary and Secondary devices
to determine, and then adjust to, each other’s hardware
capabilities. These capabilities are parameters like:
Data rate
Turnaround time
Number of packets without a response
How long to wait before disconnecting
Both the Primary and Secondary devices begin com-
munications at 9600 baud, the default baud rate. The
Primary device sends its parameters and the Second-
ary device responds with its parameters. For example,
if the Primary device supports all data rates up to
115.2 kbaud and the Secondary device only supports
9.6 kbaud, the link will be established at 9.6 kbaud.
Once the hardware parameters are established, the
Primary device must determine if the Secondary device
has the resources it requires. If the Primary device has
a job to print, it must know if it’s talking to a printer, and
not a modem or other device. This determination is
made using the Information Access Service (IAS). The
job of the Secondary device is to respond to IAS que-
ries made by the Primary device. The Primary device
must ask a series of questions like:
What is the name of your service?
What is the address of this service?
What are the capabilities of this device?
When all the Primary device’s questions are answered,
the Primary device can access the service provided by
the Secondary device.
During Discovery mode, the MCP2140 handles all
responses to the Primary device (see Figure 2-13)
without any communication with the Host Controller.
The Host Controller is inhibited by the CTS signal of the
MCP2140 from sending data to the MCP2140.
2.14.3
NORMAL CONNECT MODE (NCM)
Once discovery has been completed, the Primary
device and MCP2140 (Secondary device) can freely
exchange data.
The MCP2140 uses a hardware handshake to stop the
local serial port from sending data when the MCP2140
Host UART Receiving buffer is full..
Both the Primary device and the MCP2140 (Secondary
device) check to make sure that data packets are
received by the other without errors. Even when data is
not required to be sent, the Primary and Secondary
devices will still exchange packets to ensure that the
connection hasn’t, unexpectedly, been dropped. When
the Primary device has finished, it transmits the “close
link” command to the MCP2140 (Secondary device).
The MCP2140 will confirm the “close link” command
and both the Primary device and the MCP2140 (Sec-
ondary device) will revert to the NDM state.
It is the responsibility of the Host Controller program to
understand the meaning of the data received and how
the program should respond to it. It’s just as if the data
were being received by the Host Controller from a
UART.
2.14.3.1
Primary Device Notification
The MCP2140 identifies itself to the Primary device as
a modem.
However, the MCP2140 is not a modem, and the non-
data circuits are not handled in a modem fashion.
Note:
The MCP2140 is limited to a data rate of
9.6 kbaud.
Note:
Data loss will result if this hardware
handshake is not observed.
Note:
If the NCM mode is unexpectedly termi-
nated for any reason (including the Primary
device not issuing a close link command),
the MCP2140 will revert to the NDM state
approximately 10 seconds after the last
frame has been received.
Note:
The MCP2140 identifies itself as a modem
to ensure that it is identified as a serial
device with a limited amount of memory.
相關(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