English
Language : 

Z90251 Datasheet, PDF (61/97 Pages) Zilog, Inc. – eZVision 200 Television Controllers with OSD
Z90255 ROM and Z90251 OTP
32 KB Television Controller with OSD
53
6 Z90255 I2C Master Interface
The Z90255 has a hardware module which supports the I2C Master interface. Bus
arbitration and MastersÕ arbitration logic is NOT implemented; in other words, the
Z90255 is designed for a Single Master application.
The I2C interface can be configured to run at four different transfer speeds defined
by bits (1,0) in the I2C Control Register (I2C_CNTL: 0Ch, Bank:C).
To circumvent possible problems on both DATA and SCLK lines, digital filters with
time constant equal to 3Tsclk are implemented on all inputs of the I2C bus
interface. The Z90255 has two separate I2C busses which share the same I2C
state machine.
The I2C module is enabled by setting bit (2) in the I2C_CNTL register to 1(see
Figure 17). This bit blocks out I2C logic if it is set to 0. To prevent switching the I2C
bus during activation, bits (7,6) of the Port 2 Data Register for I2C selection 1 (bits
(5,4) of Port 2 Data Register for I2C selection 0) should be set to 1 before the I2C
module is enabled.
Notes: 1
When the I2C module is enabled, pins used as I2C must be
configured as output in the Port 2 Mode Register (P2M:
F6h). If P27/P26 or P25/P24 are used as I2C pins, then
these pins are automatically set to open-drain mode.
2 Port 2 must be configured in standard drive mode (PCON:
00h: Bank F) when the I2C interface is active.
P2CNTL (0)
P2M 1 = Input
0 = Output
I2C DATA (Output)
1
VCC
PAD
P2 (Output)
0S
I2C Selection
P2 (Input)
I2C DATA (Input)
I2C Enable
For I2C
Figure 17 Bidirectional Port Pin Pad Multiplexed with I2C Port
PS001301-0800