PICkit? Serial Analyzer User’s Guide
? AUX2 Direction – AUX2 communication line – direction: 1 : input, 0 : output
4.6
COMMUNICATIONS: BASIC OPERATIONS
The I 2 C Basic Operations window can be opened by selecting:
? Communications: Basic Operations from the tool bar, or
? Communications > Basic Operations from the menu bar
The I 2 C Basic Operations window is shown in Figures 4-3. There are two basic
communications commands, Read and Write.
Read performs a combination Write then Read commands to the target device (refer to
the I 2 C Specification reference in Section 4.1 “Introduction” above). The basic
structure of the command is:
? Start bit (S_)
? Slave Address[W] – Enter the slave address of the device to communicate with.
The write bit should be cleared to indicate a write operation
? Word Address – Enter the word address
? Restart (RS),
? Slave Address[R] – The slave address with the write bit set will be automatically
entered when the Slave Address[W] has been entered
? Byte Count – Enter the number of bytes to be read
? Stop bit (P_)
Note:
The “x” indicates the value is a hexadecimal number. Clicking on “x” will
toggle it to a “d” indicating that the value is a decimal number.
Write performs a write operation to the target device (refer to The I 2 C Specification
reference in Section 4.1 “Introduction” above). The basic structure of the command
is:
? Start bit (S_)
? Slave Address[W] – Enter the slave address of the device to communicate with.
The write bit should be cleared to indicate a write operation.
? Word Address – Enter the word address
? Data – Enter up to eight bytes of data
? Stop bit (P_)
The command will be logged in the Transactions window. A listing of the command
abbreviations is given in Table 4-2.
DS51647A-page 30
? 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