M
Features
• Implements the IrDA standard including:
- IrLAP
- IrLMP
- IAS
- TinyTP
- IrCOMM (9-wire “cooked” service class)
• Provides IrDA standard physical signal layer
support including:
- Bidirectional communication
- CRC implementation
- Data communication rates up to 115.2 kbaud
• Includes UART to IrDA standard encoder/decoder
functionality:
- Easily interfaces with industry standard
UARTs and infrared transceivers
• UART interface for connecting to Data Terminal
Equipment (DTE) systems
• Transmit/Receive formats (bit width) supported:
- 1.63 µs
• Hardware baud rate selection for UART:
- 9.6 kbaud
- 19.2 kbaud
- 57.6 kbaud
- 115.2 kbaud
• Infrared baud rates supported:
- 9.6 kbaud
- 19.2 kbaud
- 38.4 kbaud
- 57.6 kbaud
- 115.2 kbaud
• 64 Byte Data Packet Size
• Programmable Device ID String
• Operates as Secondary Device
®
MCP2150
Package Types
PDIP, SOIC
BAUD0
TXIR
RXIR
RESET
V
SS
EN
TX
RX
RI
1
2
3
4
5
6
7
8
9
18
17
16
15
14
13
12
11
10
BAUD1
CD
OSC1/CLKI
OSC2
V
DD
RTS
CTS
DTR
DSR
IrDA
®
Standard Protocol Stack Controller
Supporting DTE Applications
MCP2150
SSOP
BAUD0
TXIR
RXIR
RESET
V
SS
V
SS
EN
TX
RX
RI
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
BAUD1
CD
OSC1/CLKI
OSC2
V
DD
V
DD
RTS
CTS
DTR
DSR
MCP2150
Block Diagram
MCP2150
TX
Encode and
Protocol Handler
TXIR
EN
Logic
Baud Rate
Generator
BAUD1
BAUD0
RX
CMOS Technology
•
•
•
•
•
Low power, high-speed CMOS technology
Fully static design
Low voltage operation
Industrial temperature range
Low power consumption
- < 1 mA @ 3.3 V, 11.0592 MHz (typical)
- 3 µA typical @ 5.0 V when disabled
RTS
CTS
DSR
DTR
CD
RI
Protocol Handler
and Decode
RXIR
OSC1
OSC2
UART
Control
2002 Microchip Technology Inc.
Preliminary
DS21655B-page 1
MCP2150
NOTES:
DS21655B-page 2
Preliminary
2002 Microchip Technology Inc.
MCP2150
1.0
DEVICE OVERVIEW
This document contains device specific information for
the following device:
• MCP2150
The MCP2150 is a cost effective, low pin count (18-pin),
easy to use device for implementing IrDA standard wire-
less connectivity. The MCP2150 provides support for
the IrDA standard protocol “stack” plus bit encoding/
decoding.
The serial interface baud rates are user selectable to
one of four IrDA standard baud rates between 9600
baud and 115.2 kbaud (9600, 19200, 57600, 115200).
The IR baud rates are user selectable to one of five
IrDA standard baud rates between 9600 baud and
115.2 kbaud (9600, 19200, 37400, 57600, 115200).
The serial interface baud rate will be specified by the
BAUD1:BAUD0 pins, while the IR baud rate is specified
by the Primary Device (during Discover phase). This
means that the baud rates do not need to be the same.
The MCP2150 operates in Data Terminal Equipment
(DTE) applications and sits between a UART and an
infrared optical transceiver.
The MCP2150 encodes an asynchronous serial data
stream, converting each data bit to the corresponding
infrared (IR) formatted pulse. IR pulses received are
decoded and then handled by the protocol handler
state machine. The protocol handler sends the appro-
priate data bytes to the Host Controller in UART
formatted serial data.
The MCP2150 supports “point-to-point” applications.
That is, one Primary device and one Secondary device.
The MCP2150 operates as a Secondary device. It does
not support “multi-point” applications.
Sending data using IR light requires some hardware
and the use of specialized communication protocols.
These protocol and hardware requirements are
described, in detail, by the IrDA standard specifica-
tions. The encoding/decoding functionality of the
MCP2150 is designed to be compatible with the physi-
cal layer component of the IrDA standard. This part of
the standard is often referred to as “IrPHY”.
The complete IrDA standard specifications are avail-
able for download from the IrDA website
(www.IrDA.org).
2002 Microchip Technology Inc.
Preliminary
DS21655B-page 3
MCP2150
1.1
Applications
The MCP2150 Infrared Communications Controller
supporting the IrDA standard provides embedded sys-
tem designers the easiest way to implement IrDA stan-
dard wireless connectivity.
Figure 1-1
shows a typical
application block diagram.
Table 1-2
shows the pin
definitions.
Infrared communication is a wireless two-way data
connection, using infrared light generated by low-cost
transceiver signaling technology. This provides reliable
communication between two devices.
Infrared technology offers:
• Universal standard for connecting portable
computing devices
• Easy, effortless implementation
• Economical alternative to other connectivity
solutions
• Reliable, high-speed connection
• Safe to use in any environment (can even be
used during air travel)
• Eliminates the hassle of cables
• Allows PCs and other electronic devices (such as
PDAs, cell phones, etc.) to communicate with
each other
• Enhances mobility by allowing users to easily
connect
The MCP2150 allows the easy addition of IrDA stan-
dard wireless connectivity to any embedded applica-
tion that uses serial data.
Figure 1-1
shows typical
implementation of the MCP2150 in an embedded
system.
The IrDA protocols for printer support are not included
in the IrCOMM 9-wire “cooked” service class.
TABLE 1-1:
OVERVIEW OF FEATURES
MCP2150
UART, IR
Hardware
Yes
RESET, POR
(PWRT and OST)
18-pin DIP, SOIC,
20-pin SSOP
Features
Serial Communications
Baud Rate Selection
Low Power Mode
Resets (and Delays)
Packages
FIGURE 1-1:
SYSTEM BLOCK DIAGRAM
MCP2150
TX
Encode
TXIR
Optical
Transceiver
TXD
Host Controller
(Microcontroller)
TX
UART
EN
Power Down
Logic
RX
Decode
RXIR
RXD
RX
BAUD1
BAUD0
RTS
CTS
DSR
DTR
CD
RI
Baud Rate
Generator
UART
Control
DS21655B-page 4
Preliminary
2002 Microchip Technology Inc.
MCP2150
TABLE 1-2:
Pin Name
BAUD0
TXIR
RXIR
RESET
V
SS
EN
PIN DESCRIPTIONS
Pin Number
PDIP SOIC SSOP
1
2
3
4
5
6
1
2
3
4
5
6
1
2
3
4
5, 6
7
Pin
Type
I
O
I
I
—
I
Buffer
Type
ST
—
ST
ST
P
TTL
Description
BAUD1:BAUD0 specify the baud rate of the device.
Asynchronous transmit to Infrared transceiver.
Asynchronous receive from Infrared transceiver.
Resets the device.
Ground reference for logic and I/O pins.
Device enable.
1
= Device is enabled.
0
= Device is disabled (low power). MCP2150 only monitors
this pin when in the NDM state.
Asynchronous receive; from Host Controller UART.
Asynchronous transmit; to Host Controller UART.
Ring Indicator. The value on this pin is driven high.
Data Set Ready. Indicates that the MCP2150 has completed
reset.
1
= MCP2150 is initialized.
0
= MCP2150 is not initialized.
Data Terminal Ready. The value of this pin is ignored once
the MCP2150 is initialized. It is recommended that this pin be
connected so that the voltage level is either V
SS
or V
CC
. At
device power up, this signal is used with the RTS signal to
enter device ID programming.
1
= Enter Device ID programming mode (if RTS is cleared).
0
= Do not enter Device ID programming mode.
Clear to Send. Indicates that the MCP2150 is ready to
receive data from the Host Controller.
1
= Host Controller should not send data.
0
= Host Controller may send data.
Request to Send. Indicates that a Host Controller is ready to
receive data from the MCP2150. The MCP2150 prepares to
send data, if available.
1
= Host Controller not ready to receive data.
0
= Host Controller ready to receive data.
At device power up, this signal is used with the DTR signal to
enter device ID programming.
1
= Do not enter Device ID programming mode.
0
= Enter Device ID programming mode (if DTR is set).
Positive supply for logic and I/O pins.
Oscillator crystal output.
Carrier Detect. Indicates that the MCP2150 has established a
valid link with a Primary Device.
1
= An IR link has not been established (No IR Link).
0
= An IR link has been established (IR Link).
BAUD1:BAUD0 specify the baud rate of the device.
TX
RX
RI
DSR
7
8
9
10
7
8
9
10
8
9
10
11
I
O
—
O
TTL
—
—
—
DTR
11
11
12
I
TTL
CTS
12
12
13
O
—
RTS
13
13
14
I
TTL
V
DD
OSC2
OSC1/CLKIN
CD
14
15
16
17
14
15
16
17
15, 16
17
18
19
—
O
I
O
P
—
—
CMOS Oscillator crystal input/external clock source input.
BAUD1
Legend:
18
18
20
I
ST
TTL = TTL compatible input
I = Input
P = Power
ST = Schmitt Trigger input with CMOS levels
O = Output
CMOS = CMOS compatible input
2002 Microchip Technology Inc.
Preliminary
DS21655B-page 5