28-Pin Demo Board I 2 C? Demonstration Firmware
TABLE B-4:
TABLE B-4 EXECUTIVE (EXEC) WORD ADDRESSES
REG
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
NAME
EXEC_STATE
EXEC_ADC_CH0
EXEC_RTC_SECS
EXEC_STATUS
EXEC_04
EXEC_05
EXEC_06
EXEC_VERSION
DESCRIPTION
State of executive state controller
bit 7 == 1: force state controller to one of eight “entry
points” specified by bits[2:0]
ADC results of CHANNEL AN0 (potentiometer RP1)
binary value representation of RTC “SECONDS”
state of communications connector pins:
bit 0: PIN 1 (AUX1)
bit 1: PIN 4 (SDA)
bit 2: PIN 5 (SCL)
bit 3: PIN 6 (AUX2)
bits[5:4]: undefined
bit 6: operation error
bit 7: operation busy
undefined (can be read/written with no operational effect)
undefined (can be read/written with no operational effect)
undefined (can be read/written with no operational effect)
Firmware version number
State Controller – The Executive state controller manages background functions. The
HOST enacts a function by writing to EXEC_STATE with a valid “state entry value” (i.e.,
0x80-0x87). Writing values outside this range will cause unknown results.
TABLE B-5:
EXEC STATE ENTRY VALUES
VALUE
0x80
0x81
0x82
0x83
0x84
0x85
0x86
0x87
? 2007 Microchip Technology Inc.
NAME
EXEC_DISPLAY_PING_PONG
EXEC_TIMER1_TEST
EXEC_DISPLAY_ADC
EXEC_DISPLAY_RTC
EXEC_DISPLAY_PKSI
EXEC_DISPLAY_RESET
EXEC_DISPLAY_1SEC
EXEC_0x87
DESCRIPTION
display PING-PONG LED pattern:
DS1,2,3,4,3,2,1,2 ...
operation: timer1 test
display of Most Significant 4 bits of ADC
results measuring variable resistor
display of RTC SECONDS (binary) – 0-15
display of state of communications connector
pins:
LED1: PIN 1 (AUX1)
LED2: PIN 4 (SDA)
LED3: PIN 5 (SCA)
LED4: PIN 6 (AUX2)
display ‘RESET’ sequence
display – blink all LEDs – 1 sec ON, 1 sec
OFF, ...
undefined
DS51647A-page 111
相关PDF资料
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
DVA1001 ADAPTER FOR PIC16F716 18DIP
DVA1004 DEVICE ADAPTER 8/14/20DIP
E3R-D12GP-P RELAY RCVR PLUG-IN DIMMER
E3R-R12-3HOTP RCVR 3WIRE RELAY 120V
E3R-R12GP RCVR PLUG-IN RELAY
相关代理商/技术参数
DV164126 功能描述:开发板和工具包 - PIC / DSPIC USB Kit w/ PICkit LowPinCount RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164130 功能描述:电路内置调试器 PICkit 3 Starter Kit RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC16F1829 用于:PIC16F1829 核心:PIC 接口类型: 工作电源电压:
DV164131 功能描述:电路内置调试器 PICkit 3 Debug Exprs RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164131 制造商:Microchip Technology Inc 功能描述:PICKIT 3 DEBUG EXPRESS
DV164131-XLP 制造商:Microchip Technology Inc 功能描述:KIT DEV PICKIT 3-XLP/NANOWAT
DV164132 功能描述:开发板和工具包 - PIC / DSPIC F1 Evaluation Kit RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164132 制造商:Microchip Technology Inc 功能描述:PIC12F1xxx/PIC16F1xxx F1 Evaluation Kit
DV164133 功能描述:电源管理IC开发工具 Energy Harvesting Development Tool RoHS:否 制造商:Maxim Integrated 产品:Evaluation Kits 类型:Battery Management 工具用于评估:MAX17710GB 输入电压: 输出电压:1.8 V