MCP2150 Microchip Technology, Inc., MCP2150 Datasheet - Page 21

no-image

MCP2150

Manufacturer Part Number
MCP2150
Description
The MCP2150 Provides Irda Protocol Handling Plus Bit Encoding/decoding Functionality For Data Terminal Equipment (DTE) Applications in One Low Pincount Device
Manufacturer
Microchip Technology, Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2150-I/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
MCP2150-I/P
Manufacturer:
Microchip
Quantity:
129
Part Number:
MCP2150-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2150-I/SO
Manufacturer:
MIC
Quantity:
20 000
Part Number:
MCP2150-I/SS
Manufacturer:
VISHAY
Quantity:
7 011
Part Number:
MCP2150-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2150T-I/SO
Manufacturer:
Microchip
Quantity:
4 656
Part Number:
MCP2150T-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2150T-I/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP2150T-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
EXAMPLE 2-1:
ctsLow
;
sndlp
sndwt
;
;
ctsLP2
2002 Microchip Technology Inc.
clrf
call
movwf
incf
movwf
goto
call
movwf
btfsc
goto
call
incf
decfsz
goto
bcf
bcf
bsf
call
bsf
btfss
goto
goto
breg
string1
creg
creg, f
areg
sndwt
string1
areg
cts
sndwt
txser
breg,f
creg, f
sndlp
clr
dtr
rts
delay1mS
clr
cts
ctsLP2
NormalOperation ; The MCP2150 in now programmed with new ID,
PIC16FXX Code to Program the Device ID (Continued)
; clear the offset
; get the byte count
;
; use creg as the loop counter
; add 1 to the loop count since
;
; save the count in areg to send it
; start sending the count + ID string
; get the byte
; save the byte
; check the cts input
; wait if cts=1
; send the byte using the Transmit Routine
; increment the table pointer
; more bytes to send?
; YES, send more bytes
; NO, place the MCP2150 in reset
; Force the DTR pin low for normal mode
; Force the RTS pin high for normal mode
; delay for 1 ms.
; allow the MCP2150 to come out of reset
; if cts=1 then MCP2150 is in Normal mode
; NO, wait for MCP2150 to be ready
; and is ready to establish an IR link
(ID length byte + # bytes in string)
Preliminary
we're jumping into the middle
MCP2150
DS21655B-page 21

Related parts for MCP2150