![Freescale Semiconductor MCF54455 Скачать руководство пользователя страница 836](http://html1.mh-extra.com/html/freescale-semiconductor/mcf54455/mcf54455_reference-manual_2330541836.webp)
I
2
C Interface
Freescale Semiconductor
33-10
Figure 33-10. Repeated START
Various combinations of read/write formats are then possible:
•
The first example in
is the case of master-transmitter transmitting to slave-receiver.
The transfer direction is not changed.
•
The second example in
is the master reading the slave immediately after the first byte.
At the moment of the first acknowledge, the master-transmitter becomes a master-receiver and the
slave-receiver becomes slave-transmitter.
•
, START condition and slave address are repeated using the
repeated START signal. This is to communicate with same slave in a different mode without
releasing the bus. The master transmits data to the slave first, and then the master reads data from
slave by reversing the R/W bit.
Figure 33-11. Data Transfer, Combined Format
1
2
3
4
5
6
7
8
1
2
5
6
7
8
3
4
AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W
AD7 AD6 AD5 AD4 AD3 AD2 AD1 R/W
9
9
XX
New Calling Address
R/W
No
ACK
Bit
STOP
Signal
Repeated
START
Signal
ACK
Bit
R/W
Calling Address
START
msb
lsb
msb
lsb
Signal
A
I2C_SCL
I2C_SDA
ST
A
7bit Slave Address
0
A
Data
Data
A/A
R/W
SP
From Master to Slave
From Slave to Master
ST
A
7bit Slave Address
1
A
Data
A
R/W
SP
ST
A
1
A
Data
R/W
Rept
A
7-bit Slave
0
A
Data
Data
A/A
R/W
SP
ST
Address
7-bit Slave
Address
Example 1:
Example 2:
Example 3:
Master Reads from Slave
Master Writes to Slave
Note:
No acknowledge on the last byte
Data
ST = Start
SP = Stop
A = Acknowledge (
I2C_
SDA low)
A = Not Acknowledge (
I2C_
SDA high)
Rept ST = Repeated Start
Содержание MCF54455
Страница 33: ...xxviii Freescale Semiconductor ...
Страница 67: ...Freescale Semiconductor 1 ...
Страница 125: ...Freescale Semiconductor 1 ...
Страница 145: ...Enhanced Multiply Accumulate Unit EMAC 5 21 Freescale Semiconductor ...
Страница 173: ...Cache 6 28 Freescale Semiconductor ...
Страница 179: ...Static RAM SRAM 7 6 Freescale Semiconductor ...
Страница 207: ...Power Management 9 16 Freescale Semiconductor ...
Страница 323: ...Reset Controller Module 13 8 Freescale Semiconductor ...
Страница 389: ...Pin Multiplexing and Control 16 44 Freescale Semiconductor ...
Страница 575: ...PCI Bus Controller 22 58 Freescale Semiconductor ...
Страница 600: ...Advanced Technology Attachment ATA Freescale Semiconductor 23 25 ...
Страница 601: ...Freescale Semiconductor 1 ...
Страница 842: ...I2 C Interface Freescale Semiconductor 33 16 ...
Страница 843: ...Freescale Semiconductor 1 ...
Страница 921: ...Revision History A 6 Freescale Semiconductor ...