CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
495
I
2
C
Figure 28-3. Slave Operation
1
7
8
1
7
8
9
START
7-Bit Address
R/W
ACK
8-Bit Data
ACK/
NACK
STOP
SHIFTER
M8C reads the
received byte from the
I2C_DR register and
checks for “Own
Address” and R/W.
1
7
8
8-Bit Data
STOP
SHIFTER
M8C writes the
byte to transmit
to the I2C_DR
register.
9
SHIFTER
R
ea
d
(TX
)
W
rit
e
(R
X
)
M8C writes
(ACK) to
I2C_SCR
register.
Slave Transmitter/Reciever
ACK/
NACK
M8C issues ACK/
NACK command
with a write to the
I2C_SCR register.
Master may
transmit
another byte
or STOP.
M8C reads the
received byte from
the I2C_DR register.
ACK = Master
wants to read
another byte.
NACK = Master
says end-of-data
NACK =
Slave says no
more
ACK = OK to
receive more
An interrupt always happens in firmware comparison mode and only
happens when address matching in hardware comparison mode .
The SCL line is held low.
An interrupt is generated
on byte complete. The
SCL line is held low.
An interrupt is generated
on a complete byte +
ACK/NACK. The SCL line
is held low.
ACK
M8C writes
(ACK | TRANSMIT) to
I2C_SCR register.
9
M8C writes a new byte to the
I2C_DR register and then writes
a TRANSMIT command to
I2C_SCR to release the bus.
Содержание CY8C28 series
Страница 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Страница 85: ...84 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Main Oscillator IMO ...
Страница 93: ...92 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G External Crystal Oscillator ECO ...
Страница 97: ...96 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Phase Locked Loop PLL ...
Страница 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Страница 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 425: ...424 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Analog Reference ...
Страница 461: ...460 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Two Column Limited Analog System ...
Страница 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Страница 483: ...482 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Multiply Accumulate MAC ...
Страница 513: ...512 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Voltage Reference ...
Страница 523: ...522 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Switch Mode Pump SMP ...
Страница 533: ...532 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G I O Analog Multiplexer ...
Страница 537: ...536 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Real Time Clock RTC ...
Страница 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...