MCP2150-I/P Microchip Technology, MCP2150-I/P Datasheet - Page 19
![IC IRDA STD CONTROLLER 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
MCP2150-I/P
Manufacturer Part Number
MCP2150-I/P
Description
IC IRDA STD CONTROLLER 18DIP
Manufacturer
Microchip Technology
Datasheets
1.MCP2155-ISO.pdf
(6 pages)
2.MCP2155-ISO.pdf
(6 pages)
3.MCP2155-ISO.pdf
(4 pages)
4.MCP2150-IP.pdf
(52 pages)
Specifications of MCP2150-I/P
Package / Case
18-DIP (0.300", 7.62mm)
Controller Type
IRDA Standard Protocol Stack Controller
Interface
UART
Voltage - Supply
3 V ~ 5.5 V
Current - Supply
7mA
Operating Temperature
-40°C ~ 125°C
Mounting Type
Through Hole
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Mounting Style
Through Hole
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MCP215XDM - BOARD DEMO FOR MCP215X
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
MCP2150-I/P
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
MCP2150-I/P
Manufacturer:
Microchip
Quantity:
129
Part Number:
MCP2150-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
2.11
An IR link can be compared to a one-wire data connec-
tion. The IR transceiver can transmit or receive, but not
both at the same time. A delay of one bit time is recom-
mended between the time a byte is received and
another byte is transmitted.
2.12
The baud rate for the MCP2150 IR port (the TXIR and
RXIR pins) is, initially, at the default rate of 9600 baud.
The Primary device determines the maximum baud
rate that the MCP2150 will operate at. This information
is used during NDM, with the Primary device setting the
baud rate of the IR link. The maximum IR baud rate is
not required to be the same as the MCP2150’s serial
port (UART) baud rate (as determined by the
BAUD1:BAUD0 pins).
2.13
The MCP2150 has a flexible feature that allows the
MCP2150 Device ID to be changed by the Host Con-
troller. The default ID is “Generic IrDA” and is stored in
non-volatile, electrically erasable programmable mem-
ory (EEPROM). The maximum ID String length is 19
bytes. The format of the ID EEPROM is shown in
Figure 2-11.
The ID String must only contain the ASCII characters
from 20h to 7Ah (inclusive).
The MCP2150 enters into ID String programming when
it exits the reset state and detects that the DTR pin is
high and the RTS pin is low.
A Host Controller connected to the MCP2150 would,
typically, perform the following steps to place the
MCP2150 into ID String programming mode:
1.
2.
3.
4.
FIGURE 2-11:
2002 Microchip Technology Inc.
Force the MCP2150 into reset (RESET pin
forced low).
Force the DTR pin high and the RTS pin low.
Release the MCP2150 from reset (RESET pin
forced high).
Wait for device to complete initialization.
Turnaround Latency
IR Port Baud Rate
Programmable Device ID
ID STRING FORMAT
1st Byte
Transferred
Length
1 Byte
ID String
1 to 19 Bytes
Preliminary
TABLE 2-5:
Once the MCP2150 is ready to receive data, the CTS
pin will be forced low. Data may now be transferred, fol-
lowing the format in Figure 2-11. The CTS pin deter-
mines the flow control and the Host Controller must
monitor this signal to ensure that the data byte may be
sent.
Once the Host Controller has sent its last byte, the DTR
pin must be set low. This ensures that, if another reset
occurs, the MCP2150 will not reenter ID String pro-
gramming mode. The MCP2150 uses the String Length
(1st byte transmitted) to determine when the ID String
programming mode has completed. This returns the
MCP2150 to normal operation.
Example 2-1
PIC16CXXX acting as the Host Controller to modify the
MCP2150 Device ID String.
* Until device initialization is complete.
DTR
Note 1: If a non-valid ID String (containing an ASCII
0
1
1
2: The communication program supplied with
character not in the valid range) is
programmed, the MCP2150 will not create
a link with a Primary device.
Microsoft’s Windows
(called HyperTerminal) may leave the DTR
signal high and the RTS signals low when
the program disconnects, or is closed. Care
should be taken to ensure that this does not
accidently cause the MCP2150 to enter
Device ID String Programming.
RTS
Last Byte
Transferred
X
0
1
shows
DTR/RTS STATE & DEVICE
MODE
After Device Reset *
Enter Normal Mode
Enter Programmable Device ID
Enter Normal Mode
the
firmware
MCP2150
®
DS21655B-page 19
operating system
code
for
a