z8f0822 ZiLOG Semiconductor, z8f0822 Datasheet - Page 148

no-image

z8f0822

Manufacturer Part Number
z8f0822
Description
High Performance 8-bit Microcontrollers
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f0822PJ020SG
Manufacturer:
Zilog
Quantity:
45
Part Number:
z8f0822SJ020SG
Manufacturer:
Zilog
Quantity:
567
PS022517-0508
Follow the steps below for a transmit operation on a 10-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 interrupt by writing the first slave address byte to the
5. Software asserts the START bit of the I
6. The I
7. The I
8. After one bit of address is shifted out by the SDA signal, the Transmit Interrupt is
9. Software responds by writing the second byte of address into the contents of the I
10. The I
11. If the I
12. The I
13. The I
14. Software responds by writing a data byte to the I
15. The I
16. If the I
I
Register.
asserted.
Data Register.
signal.
during the next high period of SCL, the I
Status register. Continue with
If the slave does not acknowledge the first address byte, the I
NCKI bit and clears the ACK bit in the I
Not Acknowledge interrupt by setting the STOP and FLUSH bits and clearing the TXI
bit. The I2C Controller sends the STOP condition on the bus and clears the STOP and
NCKI bits. The transaction is complete (ignore the following steps).
Register.
bit has been sent, the Transmit Interrupt is asserted.
signal.
high period of SCL, the I
Continue with
If the slave does not acknowledge the second address byte or one of the data bytes, the
2
C Data Register. The least-significant bit must be 0 for the write operation.
2
2
2
2
2
2
2
C interrupt asserts because the I
C Controller sends the START condition to the I
C Controller loads the I
C Controller shifts the rest of the first byte of address and write bit out the SDA
C Controller loads the I
C Controller shifts the second address byte out the SDA signal. After the first
C Controller completes shifting the contents of the shift register on the SDA
2
2
C Slave acknowledges the first address byte by pulling the SDA signal low
C Slave sends an acknowledge by pulling the SDA signal low during the next
step
17.
2
C Controller sets the ACK bit in the I
2
2
step
C Shift register with the contents of the I
C Shift register with the contents of the I
12.
2
2
C Control Register.
C Control Register to enable Transmit interrupts.
2
C Data Register is empty.
2
C Control Register.
2
2
C Status register. Software responds to the
C Controller sets the ACK bit in the I
2
C Data Register.
Z8 Encore! XP
2
C Slave.
Product Specification
2
C Controller sets the
2
C Status register.
®
F0822 Series
2
2
C Data
C Data
I2C Controller
2
C
2
C
135

Related parts for z8f0822