ADUC814ARU-REEL Analog Devices, ADUC814ARU-REEL Datasheet - Page 46
![no-image](/images/manufacturer_photos/0/0/56/analog_devices_sml.jpg)
ADUC814ARU-REEL
Manufacturer Part Number
ADUC814ARU-REEL
Description
MicroConverter/ Small Package 12-Bit ADC with Embedded Flash MCU
Manufacturer
Analog Devices
Datasheet
1.ADUC814ARU-REEL.pdf
(72 pages)
ADuC814
I
The ADuC814 supports a 2-wire serial interface mode that is
I
the on-chip SPI interface, and therefore the user can enable only
one interface or the other at any given time (see the SPE bit in
SPICON SFR, Table 18). Application Note uC001 describes the
operation of this interface as implemented, and is available on
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.
Table 19. I2CCON SFR Bit Designations
Bit No.
7
6
5
4
3
2
1
0
I2CADD
Function
SFR Address
Power-On Default
Bit Addressable
I2CDAT
Function
SFR Address
Power-On Default
Bit Addressable
2
2
C compatible. The I
C COMPATIBLE INTERFACE
MDO
Name
MDO
MDE
MCO
MDI
I2CM
I2CRS
I2CTX
I2CI
2
C compatible interface shares its pins with
MDE
Description
I
This data bit is used to implement a master I
the SDATA pin if the data output enable (MDE) bit is set.
I
Set by the user to enable the SDATA pin as an output (Tx).
Cleared by the user to enable SDATA pin as an input (Rx).
I
This data bit is used to implement a master I
the SCLOCK pin.
I
This data bit is used to implement a master I
this bit on SCLOCK if the data output enable (MDE) bit is 0.
I
Set by the user to enable I
Cleared by the user to enable I
I
Set by the user to reset the I
Cleared by the user code for normal I
I
Set by the MicroConverter if the interface is transmitting.
Cleared by the MicroConverter if the interface is receiving.
I
Set by the MicroConverter after a byte has been transmitted or received.
Cleared automatically when user code reads the I2CDAT SFR (see the I2CDAT SFR description that follows).
2
2
2
2
2
2
2
2
C Software Master Data Output Bit (Master Mode Only).
C Software Master Data Output Enable Bit (Master Mode Only).
C Software Master Clock Output Bit (Master Mode Only).
C Software Master Data Input Bit (Master Mode Only).
C Master/Slave Mode Bit.
C Reset Bit (Slave Mode Only).
C Direction Transfer Bit (Slave Mode Only).
C Interrupt Bit (Slave Mode Only).
I
Holds the I
www.analog.com/microconverter describes the format of the 7-bit address in detail.
9BH
55H
No
I
The I2CDAT SFR is written to by the user code to transmit data over the I
code to read data just received via the I
pending I
9AH
00H
No
2
2
C Address Register
C Data Register
2
C interrupts and the I2CI bit in the I2CCON SFR.
2
C peripheral address for the part. It may be overwritten by the user code. Application Note uC001 at
MCO
2
C software master mode.
2
C interface.
2
C hardware slave mode.
MDI
2
C operation.
Rev. A | Page 46 of 72
2
C interface. Accessing the I2CDAT register automatically clears any
2
2
2
C transmitter interface in software. Data written to this bit is output on
C transmitter interface in software. Data written to this bit is output on
C receiver interface in software. Data on the SDATA pin is latched into
SDATA (Pin 24)
SCLOCK (Pin 25)
Three SFRs are used to control the I
I2CCON
SFR Address
Power-On Default
Bit Addressable
I2CM
I2CRS
Serial Data I/O
Serial Clock
2
C interface, or it is read by the user
I
E8H
00H
Yes
2
C Control Register
2
I2CTX
C compatible interface.
I2CI