MCP2155-I/SOGRVB Microchip Technology, MCP2155-I/SOGRVB Datasheet - Page 21

no-image

MCP2155-I/SOGRVB

Manufacturer Part Number
MCP2155-I/SOGRVB
Description
IrDA. protocol handler plus endec for DCE Apps, -40C to +85C, 18-SOIC 300mil, TUBE
Manufacturer
Microchip Technology
Datasheet
ctsLow
;
sndlp
sndwt
;
;
ctsLP2
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 MCP2155 in now programmed with new ID,
; 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 MCP2155 in reset
; Force the DTR pin Low for normal mode
; Force the RTS pin High for normal mode
; delay for 1 ms.
; allow the MCP2155 to come out of reset
; if cts=1 then MCP2155 is in Normal mode
; NO, wait for MCP2155 to be ready
; and is ready to establish an IR link
(ID length byte + # bytes in string)
3UHOLPLQDU\
we're jumping into the middle
!

Related parts for MCP2155-I/SOGRVB