Data Connect DSP19.2 Guía de usuario Pagina 28

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 61
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 27
CY7C66013
C
CY7C66113
C
Document #: 38-08024 Rev. *B Page 28 of 61
Bits [7,1:0] of the HAPI/I
2
C Configuration Register control the pin out configuration of the HAPI and I
2
C-compatible interfaces.
Bits [5:2] are used in HAPI mode only, and are described in Section 14.0. Table 12-1 shows the HAPI port configurations, and
Table 12-2 shows I
2
C pin location configuration options. These I
2
C-compatible options exist due to pin limitations in certain
packages, and to allow simultaneous HAPI and I
2
C-compatible operation.
HAPI operation is enabled whenever either HAPI Port Width Bit (Bit 1 or 0) is non-zero. This affects GPIO operation as described
in Section 14.0. The I
2
C-compatible interface must be separately enabled as described in Section13.0.
13.0 I
2
C-compatible Controller
The I
2
C-compatible block provides a versatile two-wire communication with external devices, supporting master, slave, and
multi-master modes of operation. The I
2
C-compatible block functions by handling the low-level signaling in hardware, and issuing
interrupts as needed to allow firmware to take appropriate action during transactions. While waiting for firmware response, the
hardware keeps the I
2
C-compatible bus idle if necessary.
The I
2
C-compatible interface generates an interrupt to the microcontroller at the end of each received or transmitted byte, when
a stop bit is detected by the slave when in receive mode, or when arbitration is lost. Details of the interrupt responses are given
in Section 16.9.
The I
2
C-compatible interface consists of two registers, an I
2
C Data Register (Figure 13-1) and an I
2
C Status and Control Register
(Figure 13-2). The Data Register is implemented as separate read and write registers. Generally, the I
2
C Status and Control
Register should only be monitored after the I
2
C interrupt, as all bits are valid at that time. Polling this register at other times could
read misleading bit status if a transaction is underway.
The I
2
C SCL clock is connected to bit 0 of GPIO port 1 or GPIO port 2, and the I
2
C SDA data is connected to bit 1 of GPIO port
1 or GPIO port 2. Refer to Section 12.0 for the bit definitions and functionality of the HAPI/I
2
C Configuration Register, which is
used to set the locations of the configurable I
2
C pins. Once the I
2
C-compatible functionality is enabled by setting bit 0 of the I
2
C
Status & Control Register, the two LSB ([1:0]) of the corresponding GPIO port is placed in Open Drain mode, regardless of the
settings of the GPIO Configuration Register. The electrical characteristics of the I
2
C-compatible interface is the same as that of
GPIO ports 1 and 2. Note that the I
OL
(max) is 2 mA @ V
OL
= 2.0V for ports 1 and 2.
All control of the I
2
C clock and data lines is performed by the I
2
C-compatible block.
I
2
C Data ADDRESS 0x29
Bits [7..0]: I
2
C Data
Contains 8-bit data on the I
2
C Bus.
I
2
C Status and Control ADDRESS 0x28
Table 12-1. HAPI Port Configuration
Port Width (Bit 0 and 1, Figure 12-1) HAPI Port Width
11 24 Bits: P3[7:0], P1[7:0], P0[7:0]
10 16 Bits: P1[7:0], P0[7:0]
01 8 Bits: P0[7:0]
00 No HAPI Interface
Table 12-2. I
2
C Port Configuration
I
2
C Position (Bit 7, Figure 12-1)I
2
C Port Width (Bit 1, Figure 12-1)I
2
C Position
Don’t Care 1 I
2
C on P2[1:0], 0:SCL, 1:SDA
00I
2
C on P1[1:0], 0:SCL, 1:SDA
10I
2
C on P2[1:0], 0:SCL, 1:SDA
Bit #76543210
Bit Name I
2
C Data 7 I
2
C Data 6 I
2
C Data 5 I
2
C Data 4 I
2
C Data 3 I
2
C Data 2 I
2
C Data 1 I
2
C Data 0
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Reset X X X X X X X X
Figure 13-1. I
2
C Data Register
Bit #76543210
Bit Name MSTR Mode Continue/Busy Xmit Mode ACK Addr ARB
Lost/Restart
Received Stop I
2
C Enable
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Figure 13-2. I
2
C Status and Control Register
Vista de pagina 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 60 61

Comentarios a estos manuales

Sin comentarios

Philips 246EL2SB/00 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Computerhardware Philips 246EL2SB/00.
Wir stellen 1 PDF-Handbücher Philips 246EL2SB/00 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Computerhardware Philips

Modelle Dokumententyp
Brilliance LCD monitor with LED 248C3LSB Moda 23.6 Bedienungsanleitung   Philips Brilliance LCD monitor with LED 248C3LSB Moda 23.6" - 59.9 cm Full HD display with SmartImage User Manual, 3 Seiten
201B4574 Bedienungsanleitung   Philips 201B4574 User Manual, 94 Seiten
LFH0660-00 Bedienungsanleitung   Philips LFH0660-00 User Manual, 2 Seiten
SPD8006BM-17 Bedienungsanleitung   Philips SPD8006BM-17 User Manual, 2 Seiten
DLN1714-17 Bedienungsanleitung   Philips DLN1714-17 User Manual, 2 Seiten
DR4S6B10F-17 Bedienungsanleitung   Philips DR4S6B10F-17 User Manual, 2 Seiten
SHM7410-97 Bedienungsanleitung   Philips SHM7410-97 User Manual, 2 Seiten
DR4S6U00F-27 Bedienungsanleitung   Philips DR4S6U00F-27 User Manual, 2 Seiten
SPA7351-27 Bedienungsanleitung   Philips SPA7351-27 User Manual, 2 Seiten
CD-R CDR80D48N 700MB-80min 48x Bedienungsanleitung   Philips CD-R CDR80D48N 700MB-80min 48x User Manual, 2 Seiten
CD1552B-17 Bedienungsanleitung   Philips CD1552B-17 User Manual, 2 Seiten
SE6591B-17 Bedienungsanleitung   Philips SE6591B-17 User Manual, 6 Seiten
190S1SB-00 Bedienungsanleitung   Philips 190S1SB-00 User Manual, 3 Seiten
DVDR1S04-651 Bedienungsanleitung   Philips DVDR1S04-651 User Manual, 2 Seiten
221T1SB1-00 Bedienungsanleitung   Philips 221T1SB1-00 User Manual, 3 Seiten
240B1CB-27 Bedienungsanleitung   Philips 240B1CB-27 User Manual, 3 Seiten
190E2FB-00 Bedienungsanleitung   Philips 190E2FB-00 User Manual, 39 Seiten
19B4LPCB-27 Bedienungsanleitung   Philips 19B4LPCB-27 User Manual, 3 Seiten
246V5LHAB-27 Bedienungsanleitung     Philips 246V5LHAB-27 User Manual, 37 Seiten
221E2SB-00 Bedienungsanleitung   Philips 221E2SB-00 User Manual, 3 Seiten