MCP402XEV Microchip Technology, MCP402XEV Datasheet - Page 38

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.
State4
State5
Loop5_2sec
;
;
HV_IncrExit clrwdt
State6
Loop6_2sec
;
;
call
movlw
call
clrf
retlw
movlw
movwf
call
movlw
call
btfsc
retlw
call
movlw
call
btfsc
retlw
decfsz
goto
call
movlw
call
movlw
call
call
movlw
call
btfss
goto
call
movlw
call
btfss
goto
clrf
retlw
movlw
movwf
call
movlw
call
btfsc
retlw
call
movlw
call
btfsc
retlw
decfsz
goto
call
movlw
call
movlw
call
InitGPIO
.1
LV_Decrement
State
.4
.200
Exit
GPIO_TestUP
.5
VAR1000TcyDELAY
UP
.5
GPIO_TestDOWN
.5
VAR1000TcyDELAY
DOWN
.5
Exit,f
Loop5_2sec
InitGPIO
.64
HV_Increment_WL_Disable
.4
VAR1000TcyDELAY
GPIO_TestDOWN
.10
VAR1000TcyDELAY
DOWN
HV_IncrExit
GPIO_TestUP
.10
VAR1000TcyDELAY
UP
HV_IncrExit
State
.5
.200
Exit
GPIO_TestUP
.5
VAR1000TcyDELAY
UP
.6
GPIO_TestDOWN
.5
VAR1000TcyDELAY
DOWN
.6
Exit,f
Loop6_2sec
InitGPIO
.64
HV_Decrement_WL_Disable
.4
VAR1000TcyDELAY
00066_MCP402XEV.ASM SOURCE CODE (CONTINUED)
; make GP0/DECR/CS & GP1/INCR/UD outputs, block undesired U/D commands
; make GP0/DECR/CS & GP1/INCR/UD outputs, block undesired U/D commands
; make GP0/DECR/CS & GP1/INCR/UD outputs, block undesired U/D commands
00066_MCP402XEV.ASM Source Code
; LV Decrement
; Both buttons pressed
; 200x10mS = 2s
; make GP1/INCR/UD an input (w/pu enabled)
; 5ms delay
; if UP gets released, exit
; make GP0/DECR/CS an input (w/pu enabled)
; 5ms delay
; if DOWN gets released, exit
; add a 4mS delay for E/W cycle
; make GP0/DECR/CS an input (w/pu enabled)
; add a 10mS delay for settling time
; if DOWN gets released, exit
; make GP1/INCR/UD an input (w/pu enabled)
; add a 10mS delay for settling time
; if UP gets released, exit
; 200x10mS = 2s
; make GP1/INCR/UD an input (w/pu enabled)
; 5ms delay
; if UP gets released, exit
; make GP0/DECR/CS an input (w/pu enabled)
; 5ms delay
; if DOWN gets released, exit
; add a 4mS delay for E/W cycle
DS51546B-page 34

Related parts for MCP402XEV