Switched Capacitor Block
CY8C24xxx Preliminary Data Sheet
252
Document No. 38-12011 Rev. *E
December 22, 2003
Analog Switch Cap Type C PSoC Block
Control Registers
22.3.1
ASCxxCR0 Register
Bit 7: FCap.
This bit controls the size of the switched feed-
back capacitor in the integrator.
Bit 6: ClockPhase.
This bit controls the internal clock
phasing relative to the input clock phasing. ClockPhase
affects the output of the analog column bus, which is con-
trolled by the AnalogBus bit in Control 2 Register
(ASC10CR2, ASC21CR2).
Bit[6] is the ClockPhase select that inverts the clock internal
to the blocks. During normal operation of an SC block for the
amplifier of a column enabled to drive the output bus, the
connection is only made for the last half of PHI2 (during
PHI1 and for the first half of PHI2, the output bus floats at
the last voltage to which it was driven). This forms a sample
and hold operation using the output bus and its associated
capacitance. This design prevents the output bus from being
perturbed by the intermediate states of the SC operation
(often a reset state for PHI1 and settling to the valid state
during PHI2).
Following are the exceptions: 1) If the ClockPhase bit in
CR0 (for the SC block in question) is set to 1, then the out-
put is enabled for the whole of PHI2. 2) If the SHDIS signal
is set in bit 6 of the Analog Clock Source Control Register,
then sample and hold operation is disabled for all columns
and all enabled outputs of SC blocks are connected to their
respective output busses for the entire period of their
respective PHI2s.
This bit also affects the latching of the comparator output
(CBUS). Both clock phases, PHI1 and PHI2, are involved in
the output latching mechanism. The capture of the next
value to be output from the latch (capture point event) hap-
pens during the falling edge of one clock phase, and the ris-
ing edge of the other clock phase will cause the value to
come out (output point event). This bit determines which
clock phase triggers the capture point event, and the other
clock will trigger the output point event. The value output to
the comparator bus will remain stable between output point
events.
Bit 5: ASign.
This bit controls the switch phasing of the
switches on the bottom plate of the ACap capacitor. The bot-
tom plate samples the input or the reference.
Bits 4 to 0: ACap[4:0].
The ACap bits set the value of the
capacitor in the A path.
For additional information, reference the
ASCxxCR0 register
on page 112
.
22.3.2
ASCxxCR1 Register
Bits 7, 6, and 5: ACMUX[2:0].
ACMux controls the input
muxing for both the A and C capacitor branches. The high
order bit, ACMux[2], selects one of two inputs for the C
branch.
Bits 4 to 0: BCap[4:0].
The BCap bits set the value of the
capacitor in the B path.
For additional information, reference the
ASCxxCR1 register
on page 113
.
22.3.3
ASCxxCR2 Register
Bit 7: AnalogBus.
This bit gates the output to the analog
column bus. The output on the analog column bus is
affected by the state of the ClockPhase bit in Control 0 Reg-
ister (ASC10CR0, ASC21CR0). If AnalogBus is set to 0, the
output to the analog column bus is tri-stated. If AnalogBus is
set to 1, the signal that is output to the analog column bus is
selected by the ClockPhase bit. If the ClockPhase bit is 0,
the block output is gated by sampling clock on last part of
PHI2. If the ClockPhase bit is 1, the block output continu-
ously drives the analog column bus (ABUS).
Bit 6: CompBus.
This bit controls the output to the column
comparator bus (CBUS). Note that if the comparator bus is
not driven by anything in the column, it is pulled low. The
comparator output is evaluated on the rising edge of internal
PHI1 and is latched so it is available during internal PHI2.
Bit 5: AutoZero.
This bit controls the shorting of the output
to the inverting input of the opamp. When shorted, the
opamp is basically a follower. The output is the opamp off-
set. By using the feedback capacitor of the integrator, the
block can memorize the offset and create an offset cancella-
tion scheme. AutoZero also controls a pair of switches
between the A and B branches and the summing node of
the opamp. If AutoZero is enabled, then the pair of switches
is active. AutoZero also affects the function of the FSW1 bit
in Control 3 Register.
Bits 4 to 0: CCap[4:0].
The CCap bits set the value of the
capacitor in the C path.
For additional information, reference the
ASCxxCR2 register
on page 114
.