PCU9661 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 1 — 12 September 2011 22 of 52
NXP Semiconductors
PCU9661
Parallel bus to 1 channel UFm I
2
C-bus controller
7.5.1.14 MODE — I
2
C-bus mode register
MODE is a read/write register. It contains the control bits that select the bus recovery
options, and the correct timing parameters. Timing parameters involved with AC[1:0] are
t
BUF
, t
HD;STA
, t
SU;STA
, t
SU;STO
, t
HIGH
, t
LOW
. The auto recovery and bus recovery bits are
contained in this register. They control the bus recovery sequence.
Remark: CHEN bit value must be changed only when the I
2
C-bus is idle.
Remark: The AC[1:0] are read-only bits. The UFm channel AC parameters are controlled
internally.
7.5.1.15 PRESET — I
2
C-bus channel parallel software reset register
PRESET is an 8-bit write-only register. Programming the PRESET register allows the user
to reset the channel under software control. The software reset is achieved by writing two
consecutive bytes to this register. The first byte must be A5h while the second byte must
be 5Ah. The writes must be consecutive and the values must match A5h and 5Ah. If this
sequence is not followed as described, the reset is aborted.
The PRESET resets state-machines, registers, and buffer pointers to the default values,
zeroes the TRANCONFIG, SLATABLE, BYTECOUNT, and DATA arrays of the respective
channel and will not reset the entire chip. The parallel bus remains active while a software
reset is active. The user can read the PRESET register to determine when the reset has
completed, PRESET returns all 1s when the reset is active and all 0s when complete.
Table 23. MODE - I
2
C-bus mode register bit description
Address: Channel 2 = EDh.
Bit Symbol Description
7 CHEN Channel Enable bit. R/W.
0: Channel is disabled, SCL and SDA high-impedance, USDA and USCL driven
HIGH. All registers are accessible for setup and configuration, however a
sequence cannot be started if the CHEN bit is 0 (STA cannot be set).
1 (default): Channel is enabled.
6:2 - Reserved.
UFm Channel 2
1:0 AC[1:0] I
2
C-bus mode selection to ensure proper timing parameters (see Table 33).
AC[1:0] = 00: Reserved.
AC[1:0] = 01: Reserved.
AC[1:0] = 10: Reserved.
AC[1:0] = 11 (default): Ultra Fast-mode AC parameters selected. Read-only
bits.
Table 24. PRESET - I
2
C-bus channel parallel software reset register bit description
Address: Channel 2 = EFh.
Bit Symbol Description
7:0 PRESET[7:0] Read/Write register used during an I
2
C-bus channel parallel reset command.
PCU9661 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 1 — 12 September 2011 23 of 52
NXP Semiconductors
PCU9661
Parallel bus to 1 channel UFm I
2
C-bus controller
7.5.2 Global registers
7.5.2.1 CTRLSTATUS — Controller status register
The CTRLSTATUS register reports the status of the controller, including the interrupts
generated by the parallel bus. There are three status bits. When CTRLSTATUS contains
00h, it indicates the idle state and therefore no serial interrupts are requested. The content
of this register is continuously updated during the operation of the controller.
Bit 2 indicates the serial channel has an interrupt request pending. To clear the serial
channel interrupt request, you must read the CHSTATUS register. Bit 5 indicates if the
serial channel is currently active or if it is in the idle state.
Remark: A global reset will reset all channels and configuration settings.
BE - Buffer Error bit: This bit indicates that a buffer error has been detected. For
example, a buffer overflow due to the host programming too many bytes will set this bit. A
software or hardware reset is necessary to recover from a buffer error.
The buffer error may occur when a data location is being read or written to that has not
previously been configured by the TRANCONFIG register. The buffer error can occur on a
parallel data write or read beyond the buffer capacity, or setting the TRANSEL and
TRANOFS pointers beyond the buffer boundary.
When the DATA register is loaded with data that goes beyond the capacity of the buffer,
the bytes that go over the buffer size will be ignored and a Buffer Error (BE) will be
generated.
Special case: The BE interrupt is cleared by reading the CTRLSTATUS register. All other
interrupts are cleared by reading the respective CHSTATUS register.
See Table 7 for channel status.
Table 25. CTRLSTATUS - Interrupt status register bit description
Address: F0h.
Bit Symbol Description
7 BE Buffer Error. A buffer error such as overflow has been detected.
6 - Reserved.
5 CH2ACT Channel 2 is active.
4 - Reserved.
3 - Reserved.
2 CH2INTP Channel 2 interrupt pending.
1 - Reserved.
0 - Reserved.
Fig 4. PCU9661 status reporting logic
002aag270
SD
FE
FLD
CH2INTP (UFm)
PCU9661 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 1 — 12 September 2011 24 of 52
NXP Semiconductors
PCU9661
Parallel bus to 1 channel UFm I
2
C-bus controller
7.5.2.2 CTRLINTMSK — Control Interrupt mask register
The CTRLINTMSK masks all interrupts generated by the masked channel. This allows the
host MCU to complete other operations before servicing the interrupt without being
interrupted by the same channel.
See Table 8 for interrupt mask.
7.5.2.3 DEVICE_ID — Device ID
The DEVICE_ID register stores the bus controller part number so it can be identified on
the parallel bus.
Table 26. CTRLINTMSK - Control interrupt mask register bit description
Address: F1h.
Bit Symbol Description
7 BEMSK Buffer Error Mask. A buffer error interrupt will not be generated.
Remark: Use caution and good judgement when using this mask.
Unexpected/erratic behavior may result in the slave devices.
6:3 - reserved
2 CH2MSK When this bit is set to 1, all interrupts for the channel will be masked and
the INT
pin will not be pulled LOW.
1:0 - reserved
Fig 5. PCU9661 interrupt logic
CH2MSK
CH2 interrupt
sources and masks
to INT pin
BEMSK
BE
SD
SDMSK
RE
REMSK
FE
FEMSK
FLD
FLDMSK
002aag271
Table 27. DEVICE_ID - Device ID register bit description
Address: F6h.
Bit Symbol Description
7 U/A Selects PCU or PCA device.
1 = PCU96xx
0 = PCA96xx
6:0 BCD BCD (Binary Coded Decimal) code of the ending 2 digits for ID.
Range is 00h to 79h. The code for the PCU9661 is E1h.

PCU9661B,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
Universal Bus Functions PARALLEL BUS TO FM+I2C BUS CONTRLLR
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet