Z8F042AHH020EG Zilog, Z8F042AHH020EG Datasheet - Page 144

IC ENCORE XP MCU FLASH 4K 20SSOP

Z8F042AHH020EG

Manufacturer Part Number
Z8F042AHH020EG
Description
IC ENCORE XP MCU FLASH 4K 20SSOP
Manufacturer
Zilog
Series
Encore!® XP®r
Datasheet

Specifications of Z8F042AHH020EG

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Connectivity
IrDA, UART/USART
Peripherals
Brown-out Detect/Reset, LED, LVD, POR, PWM, Temp Sensor, WDT
Number Of I /o
17
Program Memory Size
4KB (4K x 8)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 7x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
269-4156
Z8F042AHH020EG
PS022517-0508
Address Only Transaction with a 7-bit Address
When reading data from the slave, the I
the receive interrupt is serviced and the
the I
data byte.
In the situation where software determines if a slave with a 7-bit address is responding
without sending or receiving data, a transaction can be done which only consists of an
address phase.
if a slave with a 7-bit address will acknowledge. As an example, this transaction can be
used after a “write” has been done to a EEPROM to determine when the EEPROM com-
pletes its internal write operation and is once again responding to I
slave does not Acknowledge, the transaction is repeated until the slave does Acknowl-
edge.
Follow the steps below for an address only transaction to a 7-bit addressed slave:
1. Software asserts the IEN bit in the I
2. Software asserts the TXI bit of the I
3. The I
4. Software responds to the TDRE bit by writing a 7-bit Slave address plus write bit (=0)
5. Software sets the START and STOP bits of the I
6. The I
7. The I
8. Software polls the STOP bit of the I
9.
to the I
write operation.
TXI bit.
Register.
STOP bit when the address only transaction is completed.
the ACK bit is equal to 1. If the slave does not acknowledge, the ACK bit is equal to 0.
The NCKI interrupt does not occur in the not acknowledge case because the STOP bit
was set.
2
Software checks the ACK bit of the I
C Data Register. Once the I
2
2
2
Figure 26. 7-Bit Address Only Transaction Format
C interrupt asserts, because the I
C Controller sends the START condition to the I
C Controller loads the I
2
C Data Register. As an alternative this could be a read operation instead of a
Figure 26
S
Slave Address
on page 131 displays this “address only” transaction to determine
2
C Data Register has been read, the I
2
C Shift register with the contents of the I
W = 0 A/A
RDRF
2
2
2
2
C pauses after the data Acknowledge cycle until
C Control Register. Hardware deasserts the
C Control Register.
C Control Register to enable Transmit interrupts.
2
2
C Status Register. If the slave acknowledged,
C Data Register is empty (TDRE = 1)
bit of the status register is cleared by reading
2
C Control Register and clears the
P
Z8 Encore! XP
2
C Slave.
Product Specification
2
C transactions. If the
2
C reads the next
®
F0822 Series
2
C Data
I2C Controller
131

Related parts for Z8F042AHH020EG