20 I
2
C
256
EPSON
S1C17001 TECHNICAL MANUAL
Wait state for TXE, RXE, STRT, and STP settings
The module will switch to Wait state with the SCL output fixed at Low if all of the TXE (D9/I2C_DAT regis-
ter), RXE (D10/I2C_DAT register), STRT (D0/I2C_CTL register), and STP (D1/I2C_CTL register) bits are 0
on completion of transfer for 1 byte of data and the ACK. This state is canceled either by writing 1 to TXE or
RXE to restart data transfer or by generating the stop condition with STP.
Prohibiting data transfer
After data transfer is complete (both transmission and receipt), write 0 to the I2CEN bit to prevent data trans-
fers. Confirm that the RBUSY and TBUSY flags are 0 before blocking data transfers.
Data being transferred cannot be guaranteed if I2CEN is set to 0 during the transfer.
Timing chart
PCLK
T16 Ch.2 output
SCL (input)
SCL (output)
SDA (input)
SDA (output)
STRT
STP
TXE
RXE
TBUSY
RBUSY
RBRDY
RTACK
Shift register
RTDT[7:0]
Interrupt
A6
valid
shift
valid
shift
shift
shift
shift
shift
shift
shift
A[6:0] + DIR
D[7:0]
A5
A4
A3
A2
A1
A0
D7
D6
(ACK receipt)
DIR = 0
ACK
Register setting
Communication start
Transmission start
Transmission start
Transmit data, TXE resetting
Start
condition
Slave address transmission
Data transmission
ACK receipt
Figure 20.5.5: I
2
C timing chart 1 (Start condition à Data transmission)
PCLK
T16 Ch.2 output
SCL (input)
SCL (output)
SDA (input)
SDA (output)
STRT
STP
TXE
RXE
TBUSY
RBUSY
RBRDY
RTACK
Shift register
RTDT[7:0]
Interrupt
D0
valid
shift
shift
shift
shift
shift
shift
shift
shift
D5
D4
D3
D2
D1
D0
D7
D6
D[7:0]
(ACK receipt)
ACK
ACK
ACK receipt
Transmission end
Transmission start
Stop
condition
Data continuous transmission
ACK receipt
(ACK receipt)
Figure 20.5.6: I
2
C timing chart 2 (Data transmission à Stop condition)
Содержание S1C17001
Страница 1: ...Technical Manual S1C17001 CMOS 16 BIT SINGLE CHIP MICROCONTROLLER ...
Страница 31: ...3 MEMORY MAP AND BUS CONTROL 22 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 33: ...4 POWER SUPPLY VOLTAGE 24 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 63: ...6 INITERRUPT CONTROLLER 54 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 87: ...8 CLOCK GENERATOR CLG 78 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 91: ...9 PRESCALER PSC 82 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 133: ...11 16 BIT TIMER T16 124 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 185: ...14 8 BIT OSC1 TIMER T8OSC1 176 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 211: ...16 STOPWATCH TIMER SWT 202 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 219: ...17 WATCHDOG TIMER WDT 210 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 241: ...18 UART 232 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 277: ...20 I2 C 268 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 297: ...21 REMOTE CONTROLLER REMC 288 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 303: ...22 ON CHIP DEBUGGER DBG 294 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...
Страница 313: ...25 PACKAGE 304 EPSON S1C17001 TECHNICAL MANUAL This page intentionally left blank ...