参数资料
型号: MCP2150DM
厂商: Microchip Technology
文件页数: 13/52页
文件大小: 0K
描述: BOARD DEMO FOR MCP2150
标准包装: 1
主要目的: 接口,IrDA
嵌入式: 是,MCU,8 位
已用 IC / 零件: MCP2150
主要属性: 带 PIC18F MCU 的 IrDA 控制器
次要属性: USB 接口
已供物品:
产品目录页面: 685 (CN2011-ZH PDF)
MCP2150
DS21655B-page 20
Preliminary
2002 Microchip Technology Inc.
EXAMPLE 2-1:
PIC16FXX Code to Program the Device ID
;#define
dtr
PORTx, Pinx
; Must specify which Port and Which Pin
;#define
cts
PORTx, Pinx
; Must specify which Port and Which Pin
;#define
rts
PORTx, Pinx
; Must specify which Port and Which Pin
;#define
clr
PORTx, Pinx
; Must specify which Port and Which Pin
;
;*****************************************************************
; String Table
; This table stores a string, breg is the offset.
The string
; is terminated by a null character.
;*****************************************************************
string1 clrf
PCLATH
; this routine is on page 0
movf
breg, W
; get the offset
addwf
PCL, F
; add the offset to PC
DT
D'15'
; the first byte is the byte count
DT
"My IR ID String"
;
UpdateID
call
deviceInit
; Initialize the PIC16Fxxx
bcf
clr
; place the MCP2150 in reset
bsf
dtr
; Force the DTR pin high for program mode
bcf
rts
; Force the RTS pin low for program mode
call
delay1mS
; delay for 1 ms.
bsf
clr
; allow the MCP2150 to come out of reset
;
clrf
LoopCnt
; LoopCnt = 0
ctsLP1
call
delay1mS
; delay for 1 ms.
btfss
cts
; if cts=0 then we're ready to program
goto
ctsLow
; MCP2150 is ready to receive data
decfsz LoopCnt, F
;
goto
ctsLP1
; NO, wait for MCP2150 to be ready
goto
StuckReset
; The MCP2150 did not exit reset, do your recovery
;
in this routine.
相关PDF资料
PDF描述
GBM10DRSN-S664 CONN EDGECARD 20POS DIP .156 SLD
CB5278-000 HEAT SHRINK TUBING
ELC-10D390E COIL CHOKE 39UH RADIAL
CB5270-000 HEAT SHRINK TUBING
VI-BWV-EX CONVERTER MOD DC/DC 5.8V 75W
相关代理商/技术参数
参数描述
MCP2150-I/P 功能描述:输入/输出控制器接口集成电路 IrDA protocol handlr RoHS:否 制造商:Silicon Labs 产品: 输入/输出端数量: 工作电源电压: 最大工作温度:+ 85 C 最小工作温度:- 40 C 安装风格:SMD/SMT 封装 / 箱体:QFN-64 封装:Tray
MCP2150-I/P 制造商:Microchip Technology Inc 功能描述:IC IRDA CONTROLLER 2150 DIP18
MCP2150-I/SO 功能描述:输入/输出控制器接口集成电路 IrDA protocol handlr RoHS:否 制造商:Silicon Labs 产品: 输入/输出端数量: 工作电源电压: 最大工作温度:+ 85 C 最小工作温度:- 40 C 安装风格:SMD/SMT 封装 / 箱体:QFN-64 封装:Tray
MCP2150-I/SO 制造商:Microchip Technology Inc 功能描述:IRDA CONTROLLER SMD 2150 SOIC18
MCP2150-I/SORVB 制造商:Microchip 功能描述:MCP2150 Series 115.2 kBaud 64 Byte Standard Protocol Stack Controller - SOIC-18