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 25 of 52
NXP Semiconductors
PCU9661
Parallel bus to 1 channel UFm I
2
C-bus controller
7.5.2.4 CTRLPRESET — Parallel software reset register
CTRLPRESET is an 8-bit write-only register. Programming the CTRLPRESET register
allows the user to reset the PCU9661 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.
7.5.2.5 CTRLRDY — Controller ready register
CTRLRDY (address FFh) is an 8-bit read-only register. It indicates the internal state of the
controller. When the register is FFh, the controller is in the initialization state. The
initialization state will be entered at power-up, after a hardware reset, or after a global
software reset.
The oscillator and the PLL will be initialized only after a Power-On Reset (POR), a
hardware reset, or a global software reset (CTRLPRESET).
When the register is 00h, the controller is in the normal operating mode.
Access while the controller is initializing requires CE
pin follow the RD pin transitions to
update the state of the controller that is read back. After controller is ready, the CE
pin can
be held LOW while RD
and WR pins transition. See Figure 6, Figure 7 and Figure 8.
Table 28. CTRLPRESET - Parallel software reset register bit description
Address: F7h.
Bit Symbol Description
7:0 CTRLPRESET[7:0] Write-only register used during a device parallel reset command.
Table 29. CTRLRDY - Controller ready register bit description
Address: FFh.
Bit Symbol Description
7:0 CTRLRDY[7:0] Read-only register indicates the internal state of the controller. FFh
indicates the controller is initializing, 00h indicates controller is in normal
operating mode.
Fig 6. During initialization, CE
must transition with RD at each read operation
002aag095
CE
00hFFhFFh
initializing
ready
RD
DATA
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 26 of 52
NXP Semiconductors
PCU9661
Parallel bus to 1 channel UFm I
2
C-bus controller
8. PCU9661 operation
The PCU9661 is designed to efficiently transmit large amounts of data on a single master
bus. There are three major components that compose the architecture of the I
2
C-bus
controller that interact with each other to provide a high throughput and a high level of
automation when it conducts transactions:
Slave address table: specifies the address of the slaves on the bus and the direction
(write only).
Transaction configuration: specifies the size of the transaction.
Data buffer: contains the data to be transmitted from the slave.
These three components are integrated in the PCU9661 to build a sequence. A sequence
is a set of write transactions and the minimum sequence size is one write transaction.
Several transactions can be stored in one sequence and be executed without the
intervention of the host controller (CPU) through loop control and using the built-in refresh
rate timers.
The PCU9661 executes transactions in the order they were loaded into the buffer without
interrupting the host. Once the end of a sequence is reached, the Sequence Done (SD) bit
will be asserted in the CHSTATUS register and the controller will request an interrupt, if
SDMSK = 0. At this point, the host can reload the buffer with a new sequence or resend
the one that is currently loaded in the buffer.
Fig 7. During normal operation, CE may remain LOW while RD transitions during
multiple reads
Fig 8. During normal operation, CE may remain LOW while WR transitions during
multiple writes
002aag096
CE
address Zaddress Yaddress X
RD
DATA
read address Zread address Yread address XADDR
002aag097
CE
data Zdata Ydata X
WR
DATA
write address Zwrite address Ywrite address XADDR
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 27 of 52
NXP Semiconductors
PCU9661
Parallel bus to 1 channel UFm I
2
C-bus controller
When a sequence is in progress, no interrupts are generated unless there is an error
when a transaction is conducted. The host will only receive an interrupt when the
sequence is done. The PCU9661 will behave as a Master Transmitter regardless of the
direction bits specified in the SLATABLE. The host has the ability to update the data buffer
while the controller carries on the remaining transactions in the sequence.
8.1 Sequence execution
Sequences can only be of one type:
Write transactions, where the PCU9661 will behave as a Master Transmitter
Data transfers in one direction are shown in Figure 9
. This figure contains the following
abbreviations:
S — START condition
SLA — 7-bit slave address
W — Write bit (LOW level at SDA)
A
Not acknowledge bit (HIGH level at SDA)
Data — 8-bit data byte
P — STOP condition
In Figure 9
, circles are used to indicate when a bit is set in the CHSTATUS register. A
channel interrupt is not requested when CHSTATUS = 00h and the INT
pin is not asserted
when the interrupt is masked (see Section 7.5.2.2
).
For a successful sequence execution, all three components mentioned above must exist
in the memory and must be correctly set up. There are not safeguards against
programming incorrect transaction sizes, data buffer lengths, or direction bits. If the
transaction length is set to 00h, then only the slave address with direction bit will be
transmitted.
Once the host has configured the serial port and programmed the TRANCONFIG (number
of slaves and bytes per slave), the SLATABLE (slave addresses), TRANSEL (transaction
data buffer selection) and the TRANOFS (byte offset selection) and loaded the serial data
into the DATA buffer, the sequence is ready to be transmitted.
To send the sequence, the host will set the STA bit in the CONTROL register and the
controller will immediately send a START on the serial bus. Then, the transactions will be
carried out in the order they appear in the SLATABLE, each being separated by a
ReSTART command.
If the interrupts are unmasked, the serial transfer will be conducted without generating
interrupts in between transactions. Once all transactions are successfully completed, the
controller will generate a STOP, the Sequence Done bit (SD) will be set in the CHSTATUS
and an interrupt will be generated.
Once all transactions are completed, the controller will generate a STOP and the
Sequence Done bit (SD) will be set in the CHSTATUS and an interrupt will be generated.
If the host wants to poll the PCU9661, it can mask all registers including the SD bit and
read the CTRLSTATUS, CHSTATUS, STATUS2_[n], and/or the CONTROL registers to
determine the state of the controller.

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