MCP402XEV Microchip Technology, MCP402XEV Datasheet - Page 39

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.
HV_DecrExit clrwdt
State7
State8
State9
State10
State11
State12
State13
State14
State15
;***********************************************************************************************
; Low Power Mode
;***********************************************************************************************
LowPowerMode
SUBS
call
movlw
call
btfss
goto
call
movlw
call
btfss
goto
clrf
retlw
call
movlw
call
clrf
retlw
call
movlw
call
clrf
retlw
call
call
clrf
retlw
call
call
clrf
retlw
goto
movlw
tris
movlw
movwf
movlw
option
sleep
goto
CODE
GPIO_TestUP
.10
VAR1000TcyDELAY
UP
HV_DecrExit
GPIO_TestDOWN
.10
VAR1000TcyDELAY
DOWN
HV_DecrExit
State
.6
InitGPIO
.1
HV_Increment_WL_Disable
State
.11
InitGPIO
.1
HV_Decrement_WL_Disable
State
.12
InitGPIO
HV_Increment_WL_Enable
State
.13
InitGPIO
HV_Decrement_WL_Enable
State
.14
StateMachineReset
b’11111000’
GPIO
b’11111111’
GPIO
b’10011111’
Start
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
; make GP0/DECR/CS & GP1/INCR/UD outputs, block undesired U/D commands
00066_MCP402XEV.ASM Source Code
; HV Increment w/o WL
; HV Increment w/o WL
; HV Decrement w/WL
; HV Decrement w/WL
; make all I/O pins an output
; output high
; disable Wake-Up on Pin Change,
; enable weak pullups for button inputs
; T0CS must be 0 for GP2 TRIS to be active
; set up for 2.3ms WDT
; put into lowest power setting
; shouldn’t get here
; make GP1/INCR/UD an input (w/pu enabled)
; add a 10mS delay for settling time
; if UP gets released, exit
; make GP0/DECR/CS an input (w/pu enabled)
; add a 10mS delay for settling time
; if DOWN gets released, exit
DS51546B-page 35

Related parts for MCP402XEV