Freescale-semiconductor MPC5200B Manual de usuario Pagina 619

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 762
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 618
MPC5200B Users Guide, Rev. 1
18-2 Freescale Semiconductor
I
2
C Controller
Figure 18-1. Block Diagram—I
2
C Module
18.2 I
2
C Controller
The I
2
C has simple bidirectional two-wire bus for efficient inter-IC control. The two wires, serial data line (SDA) and serial clock line (SCL),
carry information between MPC5200B and other devices connected to the bus. Each device, including MPC5200B, is recognized by a unique
address, and can operate as either transmitter or receiver, depending on the function of the device. In addition to the transmitters and receivers,
devices can be considered as masters or slaves. A master is the device which initiates a data transfer on the bus and generates the clock signals
to permit that transfer. At that time, any device addressed is considered a slave. See Table 18-1.
Standard communication usually has 4 functional areas:
•START signal
slave address transmission
data transfer
STOP signal
Activities listed above are briefly described in the sections below. Also see Figure 18-1.
18.2.1 START Signal
A START signal is defined as a high-to-low transition of SDA while SCL is high. This signal denotes the beginning of a new data transfer
and wakes up all slaves. Each data transfer may contain several data bytes.
When the bus is free, (i.e., no master device is engaging the bus) both SCL and SDA lines are at a logical high. A master initiates
communication by sending a START signal.
18.2.2 STOP Signal
A STOP signal is defined as a low-to-high transition of SDA while SCL is high.
Table 18-1. I
2
C Terminology
Term Description
Transmitter Device that sends data to bus.
Receiver Device that receives data from bus.
Master Device that initiates transfer, generates SCL, and terminates transfer.
Slave Device that is addressed by master.
IP Bus
Address
Compare
Data Shift
Register
In/Out
Start, Stop
& Arbitration
Control
Control
Clock
Registers
SCL
SDA
CommBus
Vista de pagina 618
1 2 ... 614 615 616 617 618 619 620 621 622 623 624 ... 761 762

Comentarios a estos manuales

Sin comentarios