PICkit? Serial Analyzer User’s Guide
TABLE B-1:
MODULE
adc.asm
device.asm
ee_util.asm
exec.asm
FIRMWARE MODULES
DESCRIPTION
ADC service – measuring channel AN0, connected to potentiometer
RP1, and post results to register in shared memory
Basic device (microcontroller) configuration
EEPROM Read/Write routines
“Executive” feature set – provides functionality for test and demon-
stration of PICkit? Serial Analyzer and 28-Pin Demo Board
i2c_slave_pksd.asm
led.asm
main.asm
pksi.asm
rtc.asm
timer0.asm
timer1.asm
I 2 C? service for three slave devices:
0xA2: Real-Time Clock (RTC)
0xA8: EEPROM
0xAA: Executive (EXEC)
LED management, set/reset LEDs per state register
Initialization, Idle loop and Interrupt Service Routine context
management
Monitor PICkit Serial Analyzer interface I/O pins – post results to state
register
I 2 C? device: real-time clock emulation maintains 16 locations for
register-based I/O
Utilizes TMR0 as a source for multiple “soft” timers
Utilizes TMR1 with external 32 kHz crystal for RTC 1-second ‘ticks’
B.5
I 2 C COMMUNICATIONS
B.5.1
Overview
The 28-Pin Demo Board I 2 C? Demo responds to three I 2 C slave addresses:
TABLE B-2:
DEVICE SLAVE ADDRESSES
ADDR
0xA2
0xA8
0xAA
NAME
RTC
EEPROM
EXEC
DESCRIPTION
Device emulation: Real-Time Clock
Device emulation: EEPROM
Supervisory features
All devices (slave addresses) respond to the I 2 C protocols described below. Each slave
device supports a fixed number of word addresses (see section B.6 Slave Devices
below). The word address is automatically incremented during a transaction for
sequential access of the device registers. If the word address is incremented beyond
the end of the supported address range, the address will “wrap”.
B.5.2
Protocols
Figure B-1 shows the Master and Slave legend used for Figures B-2 through B-4.
FIGURE B-1:
MASTER/SLAVE DEVICE LEGEND
Master
Slave
Write Byte(s) – This transaction is used to write one or more bytes. The maximum
number of bytes is slave-dependant.
DS51647A-page 108
? 2007 Microchip Technology Inc.
相关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