MCP402XEV Microchip Technology, MCP402XEV Datasheet - Page 42

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.
;***********************************************************************************************
; Button Isolation Subroutines
;***********************************************************************************************
; Low Voltage Increment & Decrement Subroutines
;***********************************************************************************************
LV_Increment
DLOOP_LVI
LV_IncrLoop
LV_Decrement
DLOOP_LVD
LV_DecrLoop
IFDEF
ENDIF
IFDEF
ENDIF
IFDEF
ENDIF
movwf
bsf
goto
bcf
movlw
movwf
clrwdt
nop
decfsz
goto
bcf
goto
bsf
goto
decfsz
goto
bcf
goto
bsf
retlw
movwf
bcf
goto
bcf
movlw
movwf
clrwdt
nop
decfsz
goto
goto
bsf
goto
bcf
goto
decfsz
goto
bsf
goto
bsf
retlw
SaveWiper
SaveWiper
SaveWiper
Exit
UD
$+1
CS
.100
DLYCNT1
$+1
UD
$+1
Exit,f
LV_IncrLoop
UD
$+1
CS
0x00
Exit
UD
$+1
CS
.100
DLYCNT1
DLYCNT1,f
DLOOP_LVD
LV_DecrLoop+4
UD
$+1
UD
$+1
Exit,f
LV_DecrLoop
UD
$+1
CS
0x01
DLYCNT1,f
DLOOP_LVI
UD
;or NOP
00066_MCP402XEV.ASM SOURCE CODE (CONTINUED)
; load the loop counter
; creates a 3us total delay
; 5*100 = 500us delay to pull down CS
;or NOP
; creates a 3us total delay
; Have we incremented the wiper enough?
; creates a 3us total delay
; Follow w/long delay to ramp CS & EEPROM Write Cycle
; load the loop counter
; creates a 3us total delay
; 5*100 = 500us delay to pull down CS
00066_MCP402XEV.ASM Source Code
; skip first Decrement since final edge is rising
; creates a 3us total delay
; creates a 3us total delay
; Have we decremented the wiper enough?
; creates a 3us total delay
; Follow w/long delay to ramp CS & EEPROM Write Cycle
DS51546B-page 38

Related parts for MCP402XEV