MCP402XEV Microchip Technology, MCP402XEV Datasheet - Page 45

BOARD EVAL FOR MCP402X

MCP402XEV

Manufacturer Part Number
MCP402XEV
Description
BOARD EVAL FOR MCP402X
Manufacturer
Microchip Technology
Datasheet

Specifications of MCP402XEV

Main Purpose
Digital Potentiometer
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
MCP4021
Primary Attributes
1 Single Pot, 10 kOhm, 64 Tap, Non Volatile
Secondary Attributes
2.7 ~ 5.5 V, 150 ppm/°C
Processor To Be Evaluated
MCP402X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP402XEV
Manufacturer:
MICROCHIP
Quantity:
12 000
TABLE E-1:
© 2005 Microchip Technology Inc.
;************
;
;
;
;
; ex. To create a 250us delay, (250/5)-1 = 49
;
;
;************
; The value in W at the time of the CALL = x.
VAR5TcyDELAY
DLOOP3
;***********************************************************************************************
end
VARIABLE 5 Tcy DELAY UP TO 256*5Tcy+5Tcy
DLYCNT1 = W
DELAY = T(1 + 5 DLYCNT1 - 1) + CALL + RETLW
movlw
call
movwf
nop
decfsz
goto
retlw
clrwdt
.49
VAR5TcyDELAY
DLYCNT1
DLYCNT1,f
DLOOP3
.250
00066_MCP402XEV.ASM SOURCE CODE (CONTINUED)
;or NOP
;load .49 into WREG
;call VAR5TcyDELAY
00066_MCP402XEV.ASM Source Code
; LOADS CONTROLLING DLY # INTO PRIMARY COUNTER
; DECREMENT AND TEST ZERO
; CONTINUE LOOP
; preload W for the next CALL VAR5TcyDELAY
Delay = 5*Tcy + 5Tcy
DS51546B-page 41

Related parts for MCP402XEV