2C-COMPATIBLE INTERFACE The ADuC824 supports a 2-wire serial interface mode which" />
參數(shù)資料
型號(hào): EVAL-ADUC824QSZ
廠商: Analog Devices Inc
文件頁(yè)數(shù): 46/68頁(yè)
文件大小: 0K
描述: KIT DEV QUICK START ADUC824
標(biāo)準(zhǔn)包裝: 1
系列: QuickStart™ 套件
類型: MCU
適用于相關(guān)產(chǎn)品: ADuC824
所含物品: 評(píng)估板,線纜,電源,軟件和文檔
REV. B
ADuC824
–50–
I
2C-COMPATIBLE INTERFACE
The ADuC824 supports a 2-wire serial interface mode which is
I
2C compatible. The I2C-compatible interface shares its pins
with the on-chip SPI interface and therefore the user can only
enable one or the other interface at any given time (see SPE in
I2CADD
I
2C Address Register
Function
Holds the I
2C peripheral address for
the part. It may be overwritten by
user code. Technical Note uC001 at
describes the format of the I
2C stan-
dard 7-bit address in detail.
SFR Address
9BH
Power-On Default Value
55H
Bit Addressable
No
I2CDAT
I
2C Data Register
Function
The I2CDAT SFR is written by the
user to transmit data over the I
2C
interface or read by user code to read
data just received by the I
2C interface
Accessing I2CDAT automatically
clears any pending I
2C interrupt and
the I2CI bit in the I2CCON SFR.
User software should only access
I2CDAT once per interrupt cycle.
SFR Address
9AH
Power-On Default Value
00H
Bit Addressable
No
SPICON previously). An Application Note describing the
operation of this interface as implemented is available from
the MicroConverter Website at www.analog.com/microconverter.
This interface can be configured as a Software Master or Hard-
ware Slave, and uses two pins in the interface.
SDATA (Pin 27)
Serial Data I/O Pin
SCLOCK (Pin 26)
Serial Clock
Three SFRs are used to control the I2C-compatible interface. These are described below:
I2CCON
I
2C Control Register
SFR Address
E8H
Power-On Default Value
00H
Bit Addressable
Yes
O
D
ME
D
MO
C
MI
D
MM
C
2
IS
R
C
2
IX
T
C
2
II
C
2
I
Table XX. I2CCON SFR Bit Designations
Bit
Name
Description
7
MDO
I
2C Software Master Data Output Bit (MASTER MODE ONLY)
This data bit is used to implement a master I2C transmitter interface in software. Data written to this
bit will be outputted on the SDATA pin if the data output enable (MDE) bit is set.
6
MDE
I
2C Software Master Data Output Enable Bit (MASTER MODE ONLY)
Set by user to enable the SDATA pin as an output (Tx).
Cleared by the user to enable SDATA pin as an input (Rx).
5
MCO
I
2C Software Master Clock Output Bit (MASTER MODE ONLY)
This data bit is used to implement a master I2C transmitter interface in software. Data written to
this bit will be outputted on the SCLOCK pin.
4
MDI
I
2C Software Master Data Input Bit (MASTER MODE ONLY)
This data bit is used to implement a master I2C receiver interface in software. Data on the SDATA
pin is latched into this bit on SCLOCK if the Data Output Enable (MDE) bit is ‘0.’
3
I2CM
I
2C Master/Slave Mode Bit
Set by user to enable I2C software master mode.
Cleared by user to enable I
2C hardware slave mode.
2
I2CRS
I
2C Reset Bit (SLAVE MODE ONLY)
Set by user to reset the I2C interface.
Cleared by user code for normal I
2C operation.
1
I2CTX
I
2C Direction Transfer Bit (SLAVE MODE ONLY)
Set by the MicroConverter if the interface is transmitting.
Cleared by the MicroConverter if the interface is receiving.
0
I2CI
I
2C Interrupt Bit (SLAVE MODE ONLY)
Set by the MicroConverter after a byte has been transmitted or received.
Cleared automatically when user code reads the I2CDAT SFR (see I2CDAT below).
相關(guān)PDF資料
PDF描述
RPS-1K-22-18/2.0-9 HEAT SHRINK SLEEVE
EBM31DCMN CONN EDGECARD 62POS .156 WW
REC5-243.3DRWZ/H/B CONV DC/DC 5W 9-36VIN +/-3.3V
ADR06WARZ-R7 IC VREF SERIES PREC 3V 8SOIC
EBM31DCMH CONN EDGECARD 62POS .156 WW
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
EVAL-ADUC831QS 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Bulk 制造商:Analog Devices 功能描述:KIT- ADUC831 DEV SYSTEM
EVAL-ADUC831QSZ 功能描述:KIT DEV FOR ADUC831 QUICK START RoHS:是 類別:編程器,開(kāi)發(fā)系統(tǒng) >> 通用嵌入式開(kāi)發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ 套件 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁(yè)面:659 (CN2011-ZH PDF)
EVAL-ADUC832QS 制造商:Analog Devices 功能描述:QUICK START DEVELOPMENT SYSTEM - Bulk 制造商:Analog Devices 功能描述:DEVELOPMENT KIT SYSTEM
EVAL-ADUC832QSZ 功能描述:KIT DEV FOR ADUC832 QUICK START RoHS:是 類別:編程器,開(kāi)發(fā)系統(tǒng) >> 通用嵌入式開(kāi)發(fā)板和套件(MCU、DSP、FPGA、CPLD等) 系列:QuickStart™ 套件 標(biāo)準(zhǔn)包裝:1 系列:PICDEM™ 類型:MCU 適用于相關(guān)產(chǎn)品:PIC10F206,PIC16F690,PIC16F819 所含物品:板,線纜,元件,CD,PICkit 編程器 產(chǎn)品目錄頁(yè)面:659 (CN2011-ZH PDF)
EVAL-ADUC834QS 制造商:Analog Devices 功能描述:DATA ACQ SYS, MICROCNVRTR, DUAL 16BIT/24BIT - ADCS W/ EMBEDD - Bulk 制造商:Analog Devices 功能描述:8052 ADUC834 QUICKSTART DEV KIT