EasyManua.ls Logo

Cypress PSoC 4000 Series - Page 97

Cypress PSoC 4000 Series
178 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PSoC 4000 Family: PSoC 4 Architecture TRM, Document No. 001-89309 Rev. *D 97
Inter-Integrated Circuit (I2C)
15.2.11.2 EZ Slave Receive
Figure 15-10. EZI2C Slave Mode Read Operation Flow Chart
Begin
Disable Fixed
Function I2C block
Select Slave
mode
Enable
RX FIFO
Enable Fixed
Function I2C block
Select EZ
mode
Receiving
one byte
slave address
complete?
No
(stretch)
E
Address ACK’ed or
NACK’ed?
Error
Yes
NACK
ACK
START detected
Wake up
Receiving one byte
data complete?
EZ buffer
full
Yes
E
No
(stretch)
E
Error
No
Select receive
mode
E
Report and
handle error
Receiving
one byte EZ
address
complete?
Address ACK’ed or
NACK’ed?
ACK
Begin
NACK
Yes
No
(stretch)
Yes
Data transfer
complete?
No
Yes
Send
ACK
Send
NACK
End
Wait for START

Table of Contents

Related product manuals