Master Receiver Mode, Rm =1 , Polling; Variable, Data Contents Dependent) - Texas Instruments OMAP5910 Technical Reference Manual

Dual-core
Hide thumbs Also See for OMAP5910:
Table of Contents

Advertisement

Figure 7–34. Master Receiver Mode, RM =1 , Polling 2 (Number of the Receive Data is

Variable, Data Contents Dependent)

Read I 2 C_STAT.
No
bus free
Write I 2 C_CON
with 8405h.
Read I 2 C_STAT.
ACK returned
(NACK=0)
STT and STP are
cleared to 0 by hardware.
Reprogram
the registers.
STT = 1
(new start)
Start
Is
(BB=0)
?
Yes
1
Is
Yes
?
No
No
STP = 1
?
?
Yes
Yes
End
Is
received data
No
in I 2 C_DATA
(RRDY=1)
?
Yes
Read I 2 C_DATA.
End
No
code
?
Yes
Reprogram
the registers.
Read I 2 C_DATA.
2
No
3
MPU Public Peripherals
Inter-Integrated Circuit Controller
1
Set appropriate values to every
bit of I 2 C_CON. I 2 C_EN bit must be set
to 1 to take I 2 C out of reset condition. Setting
I 2 C_EN and setting other mode bits can be done
simultaneously.
Dummy read. The contents of this
2
read data has no meaning.
The I 2 C goes into slave receiver mode.
3
[EXPECTED COMMAND]
At the beginning,
(STT,STP) = (1.0)
in the middle,
(STT, STP) = (0.0)
At the end,
(STT, STP) = (0.1)
[EXPECTED I 2 C_IE]
I 2 C_IE = 00000b
7-91

Advertisement

Table of Contents
loading

Table of Contents