English
Language : 

GMS87C4060 Datasheet, PDF (69/102 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
PRELIMINARY
GMS81C4040/87C4060
Bit
No.
Name
Function
SCL Frequency selection
SCL frequency = fex / (12 * CCR)
Value fex = 12MHz fex = 8MHz
0000 Not allowed Not allowed
0001 Not allowed Not allowed
0010 500.0KHz
333.3KHz
0011 333.3KHz
222.2KHz
3 CCR3 0100 250.0KHz
166.6KHz
2 CCR2 0101 200.0KHz
133.3KHz
1 CCR1 0110 166.6KHz
0 CCR0 0111 142.9KHz
111.1KHz
95.2KHz
1000 125.0KHz
83.3KHz
1001 111.1KHz
74.1KHz
1010 100.0KHz
66.6KHz
1011 90.0KHz
60.6KHz
1100 83.3KHz
55.5KHz
1101 76.4KHz
51.3KHz
1110 71.4KHz
47.6KHz
1111 66.6KHz
44.4KHz
Table 18-3 Bit function
RW RW
ICCR2 ACLK ACK 1
ADDRESS : 00DCH
RESET VALUE : 000- 0000b
RW RW RW RW
CCR3 CCR2 CCR1 CCR0
Figure 18-6 I2C control Register 2
SCL
PIN
I2C Request
Figure 18-7 Interrupt request signal generation timing
START condition generation
When the ESO bit of the I2C control register (00DBH) is
“1”, writing to the I2C status register will generate START
condition. Refer to Figure 18-8 for the START condition
generation timing diagram.
ICSR write signal
(I2C status reg.)
SCL
SDA
BB (Bus busy) flag
tSETUP
tHOLD
tBB
tSETUP : Setup time
tHOLD : Hold time
tBB : Set time for BB
Figure 18-8 START condition generation timing
RESTART condition generation
RESTART condition’s setting sequence is as followings.
1. Write 020H to I2C status register (ICSR, 00DAH)
2. Write slave address to I2C data shift register (ICDR,
00D9H)
3. Write 0F0H to I2C status register (ICSR, 00DAH)
STOP condition generation
Writing ‘C0h’ to ICSR will generate a stop condition,
Nov. 1999 Ver 1.0
PRELIMINARY
65