MCP402XEV Microchip Technology, MCP402XEV Datasheet - Page 41

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.
S13_10
S13_11
S14_00
S14_01
S14_10
S14_11
S15_00
S15_01
S15_10
S15_11
PerformState
;***********************************************************************************************
InitGPIO
GPIO_TestUP
commands
GPIO_TestDOWN
commands
movf
andlw
addwf
retlw
goto
goto
goto
goto
goto
goto
retlw
retlw
retlw
retlw
goto
goto
goto
goto
goto
movlw
movwf
movlw
tris
retlw
movlw
movwf
movlw
tris
movlw
tris
retlw
movlw
movwf
movlw
tris
movlw
tris
retlw
retlw
retlw
retlw
retlw
retlw
retlw
retlw
retlw
retlw
retlw
State,w
b’00001111’
PCL,f
.0
State1
State2
State3
State4
State5
State6
.7
.8
.9
.10
State11
State12
State13
State14
StateMachineReset ; State 15... shouldn’t be here
b’00001011’
GPIO
b’11111100’
GPIO
b’11000000’
b’00001011’
GPIO
b’11111100’
GPIO
b’11111110’
GPIO
b’10000000’
b’00001011’
GPIO
b’11111100’
GPIO
b’11111101’
GPIO
b’01000000’
00066_MCP402XEV.ASM SOURCE CODE (CONTINUED)
.0
.0
.0
.0
.0
.0
.0
.0
.0
.0
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; shouldn’t be here, reset state
; mask all states >15
; jump to desired State
; State 0, no action
; (2s for repeating LV increment)
; (2s for repeating LV decrement)
; (2s for repeating HV increment)
; (2s for repeating HV decrement)
; State 7, no action
; State 8, no action
; State 9, no action
; State 10, no action
; initialize UP and DOWN switches to be high & CP to be low.
; make GP0/DECR/CS & GP1/INCR/UD outputs, block undesired U/D commands
; initialize UP and DOWN switches to be high & CP to be low.
; make both GP0/DECR/CS & GP1/INCR/UD outputs, prevent undesired U/D
; make GP1/INCR/UD an input (w/pu enabled)
; initialize UP and DOWN switches to be high & CP to be low.
; make both GP0/DECR/CS & GP1/INCR/UD outputs, prevent undesired U/D
; make GP0/DECR/CS an input (w/pu enabled)
00066_MCP402XEV.ASM Source Code
DS51546B-page 37

Related parts for MCP402XEV