MCP2150-I/SO Microchip Technology Inc., MCP2150-I/SO Datasheet - Page 21

no-image

MCP2150-I/SO

Manufacturer Part Number
MCP2150-I/SO
Description
IRDA PROTOCOL HANDLER PLUS ENDEC FOR DTE APPS
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of MCP2150-I/SO

Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2150-I/SO
Manufacturer:
MIC
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-I/SO