English
Language : 

PCA9665 Datasheet, PDF (90/91 Pages) NXP Semiconductors – Fm+ parallel bus to I2C-bus controller
NXP Semiconductors
PCA9665
Fm+ parallel bus to I2C-bus controller
22. Contents
1
General description . . . . . . . . . . . . . . . . . . . . . . 1
2
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
4
Ordering information . . . . . . . . . . . . . . . . . . . . . 2
5
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
6
Pinning information . . . . . . . . . . . . . . . . . . . . . . 4
6.1
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
6.2
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 5
7
Functional description . . . . . . . . . . . . . . . . . . . 6
7.1
7.2
7.3
7.3.1
7.3.1.1
7.3.1.2
7.3.1.3
7.3.1.4
7.3.1.5
7.3.2
7.3.2.1
7.3.2.2
7.3.2.3
7.3.2.4
7.3.2.5
7.3.2.6
General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Internal oscillator . . . . . . . . . . . . . . . . . . . . . . . 6
Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Direct registers . . . . . . . . . . . . . . . . . . . . . . . . . 8
The Status register, I2CSTA (A1 = 0, A0 = 0) . . 8
The Indirect Pointer register, INDPTR (A1 = 0,
A0 = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
The I2C-bus Data register, I2CDAT (A1 = 0,
A0 = 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
The Control register, I2CCON (A1 = 1, A0 = 1) 9
The indirect data field access register,
INDIRECT (A1 = 1, A0 = 0) . . . . . . . . . . . . . . 11
Indirect registers . . . . . . . . . . . . . . . . . . . . . . . 12
The Byte Count register, I2CCOUNT (indirect
address 00h). . . . . . . . . . . . . . . . . . . . . . . . . . 12
The Own Address register, I2CADR (indirect
address 01h). . . . . . . . . . . . . . . . . . . . . . . . . . 12
The Clock Rate registers, I2CSCLL and
I2CSCLH (indirect addresses 02h and 03h) . . 13
The Time-out register, I2CTO (indirect
address 04h). . . . . . . . . . . . . . . . . . . . . . . . . . 14
The Parallel Software Reset register,
I2CPRESET (indirect address 05h) . . . . . . . . 14
The I2C-bus mode register, I2CMODE
(indirect address 06h) . . . . . . . . . . . . . . . . . . . 15
8
PCA9665 modes. . . . . . . . . . . . . . . . . . . . . . . . 16
8.1
8.1.1
8.1.2
8.2
8.3
8.3.1
8.3.2
8.3.3
8.3.4
8.4
8.4.1
Configuration modes. . . . . . . . . . . . . . . . . . . . 16
Byte mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Buffered mode . . . . . . . . . . . . . . . . . . . . . . . . 16
Operating modes . . . . . . . . . . . . . . . . . . . . . . 16
Byte mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Master Transmitter Byte mode . . . . . . . . . . . . 17
Master Receiver Byte mode . . . . . . . . . . . . . . 22
Slave Receiver Byte mode . . . . . . . . . . . . . . . 25
Slave Transmitter Byte mode . . . . . . . . . . . . . 29
Buffered mode . . . . . . . . . . . . . . . . . . . . . . . . 31
Master Transmitter Buffered mode . . . . . . . . . 31
8.4.2
8.4.3
8.4.4
8.5
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.6
8.7
8.8
8.8.1
8.8.2
8.8.3
8.8.4
8.9
8.9.1
8.9.2
8.9.3
8.9.4
8.9.5
8.10
8.11
8.12
8.13
9
9.1
9.1.1
9.2
9.3
10
10.1
10.2
10.3
10.4
11
Master Receiver Buffered mode. . . . . . . . . . . 36
Slave Receiver Buffered mode. . . . . . . . . . . . 40
Slave Transmitter Buffered mode . . . . . . . . . . 45
Buffered mode examples . . . . . . . . . . . . . . . . 48
Buffered Master Transmitter mode of
operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Buffered Master Receiver mode of operation. 48
Buffered Slave Transmitter mode . . . . . . . . . . 49
Buffered Slave Receiver mode. . . . . . . . . . . . 50
Example: Read 128 bytes in two 64-byte
sequences of an EEPROM
(I2C-bus address = A0h for write operations
and A1h for read operations) starting at
Location 08h. . . . . . . . . . . . . . . . . . . . . . . . . . 50
I2CCOUNT register . . . . . . . . . . . . . . . . . . . . 51
Acknowledge management
(I2C-busaddresses and data) in Byte and
Buffered modes . . . . . . . . . . . . . . . . . . . . . . . 53
Miscellaneous states . . . . . . . . . . . . . . . . . . . 57
I2CSTA = F8h. . . . . . . . . . . . . . . . . . . . . . . . . 57
I2CSTA = 00h . . . . . . . . . . . . . . . . . . . . . . . . . 57
I2CSTA = 70h . . . . . . . . . . . . . . . . . . . . . . . . . 57
I2CSTA = 78h . . . . . . . . . . . . . . . . . . . . . . . . . 58
Some special cases . . . . . . . . . . . . . . . . . . . . 58
Simultaneous repeated START conditions
from two masters . . . . . . . . . . . . . . . . . . . . . . 58
Data transfer after loss of arbitration . . . . . . . 58
Forced access to the I2C-bus . . . . . . . . . . . . . 58
I2C-bus obstructed by a LOW level on SCL or
SDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Bus error . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Power-on reset . . . . . . . . . . . . . . . . . . . . . . . . 60
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
I2C-bus timing diagrams, Unbuffered mode . . 61
I2C-bus timing diagrams, Buffered mode . . . . 63
Characteristics of the I2C-bus . . . . . . . . . . . . 65
Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
START and STOP conditions . . . . . . . . . . . . . 65
System configuration . . . . . . . . . . . . . . . . . . . 65
Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 66
Application design-in information . . . . . . . . . 67
Specific applications. . . . . . . . . . . . . . . . . . . . 67
Add I2C-bus port . . . . . . . . . . . . . . . . . . . . . . 67
Add additional I2C-bus ports . . . . . . . . . . . . . 68
Convert 8 bits of parallel data into
I2C-bus serial data stream . . . . . . . . . . . . . . . 68
Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 69
continued >>
PCA9665_2
Product data sheet
Rev. 02 — 7 December 2006
© NXP B.V. 2006. All rights reserved.
90 of 91