z8fmc16100 ZiLOG Semiconductor, z8fmc16100 Datasheet - Page 180

no-image

z8fmc16100

Manufacturer Part Number
z8fmc16100
Description
Z8 Encore Motor Control Flash Mcus
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8fmc16100AKEG
Manufacturer:
LT
Quantity:
151
Part Number:
z8fmc16100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100QKEG
Manufacturer:
TOREX
Quantity:
2 000
PS024611-0408
Master Arbitration
If a master loses arbitration during the address byte, it releases the SDA line, switches to
SLAVE mode and monitors the address to determine if it is selected as a slave. If a master
loses arbitration during the transmission of a data byte, it releases the SDA line and waits
for the next
The master detects a loss of arbitration when a 1 is transmitted but a 0 is received from the
bus in the same bit-time. This loss occurs if more than one master is simultaneously
accessing the bus. Loss of arbitration can occur during the address phase (two or more
masters accessing different slaves) or during the data phase, when the masters are attempt-
ing to write different data to the same slave.
When a master loses arbitration, the software is informed by means of the Arbitration Lost
interrupt. The software can repeat the same transaction at a later time.
A special case can occur when a slave transaction starts just before the software attempts
to start a new master transaction by setting the
enters its slave states before the
arbitrate. If a slave address match occurs and the I
START
minimize the chance of this instance occurring by checking the
register before initiating a master transaction. If a slave address match does not occur, the
Arbitration Lost interrupt will not occur, and the
controller will initiate the master transaction after the I
Master Address-Only Transactions
It is sometimes preferable to perform an address-only transaction to determine if a particu-
lar slave device is able to respond. This transaction can be performed by monitoring the
ACKV
ister and the
register determines if the slave is able to communicate. The
I2CCTL register to terminate the transaction without transferring data. For a
10-bit slave address, if the first address byte is acknowledged, the second address byte
should also be sent to determine if the preferred slave is responding.
Another approach is to set both the
After both bits have cleared (7-bit address has been sent and transaction is complete), the
ACK
STOP
being sent).
Master Transaction Diagrams
In the following transaction diagrams, the shaded regions indicate the data that is
transferred from the master to the slave, and the unshaded regions indicate the data that is
transferred from the slave to the master.
bit can be read to determine if the slave has acknowledged. For a 10-bit slave, set the
bit in the I2CSTATE register after the address has been written to the I2CDATA reg-
bit after the second TDRE interrupt (which indicates that the second address byte is
bit is cleared and an Arbitration Lost interrupt is asserted. The software can
STOP
START
or
bit has been set. After the
START
condition.
START
STOP
bit is set, and as a result, the I
and
ACKV
START
START
2
START
C controller receives/transmits data, the
bit is set, the
2
bit. In this case, the state machine
C bus is no longer busy.
bits (for sending a 7-bit address).
bit will not be cleared. The I
STOP
BUSY
Product Specification
ACK
bit must be set in the
2
bit in the I2CSTATE
bit in the I2CSTATE
C controller will not
Master Transactions
2
C
168

Related parts for z8fmc16100