270
Document # 001-20559 Rev. *D
SAR8 ADC PSoC Block
24.2.7
SARADC_CR2 Register
The SAR8 ADC Control Register 2 (SARADC_CR2) is used
to control ADC settings.
Bit 7: Test Enable.
When Test Enable is set to ‘0’, ADC is
in user mode. When Test Enable is set to ‘1’, ADC is in test
mode.
Bit 6: Free Run.
When Free Run is set to ‘0’, ADC is in
one-shot mode. When Free Run is set to ‘1’, ADC is in free
running mode.
Bits 5 to 3: Scale Size[2:0].
This feature does not affect the raw data in the ADC raw
results register. It only affects the data read out to the MCU.
Bits 2 to 0: ADC Clock[2:0].
ADC sample rate is ADC clock divided by 8, and its conver-
sion time is ADC clock period multiplied by 8. The maximum
ADC clock speed should be no more than 6 MHz. The ADC
automatically goes into Test mode after conversion, so for
one-shot mode, the low-speed ADC clock consumes more
power than the high-speed ADC clock. In free running
mode, the low-speed ADC clock consumes less power than
the high-speed ADC clock.
For additional information, refer to the
.
24.2.8
SARADC_LCR Register
The SAR8 ADC Reference Voltage Generator Control Reg-
ister (SARADC_LCR) is the ADC DA register used for refer-
ence voltage generation control. It is write only in Test mode.
Bits 7 to 0: DA_L[7:0].
The low byte control for reference
voltage.
For additional information, refer to the
.
Add.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,ABh
Test Enable
Free Run
Scale Size[2:0]
ADC Clock[2:0]
RW : 0
Table 24-6. Scale Size
Bit Option
Description
000
ADC raw results are directly read out
001
ADC raw results are divided by 2 when read out
010
ADC raw results are divided by 4 when read out
011
ADC raw results are divided by 8 when read out
100
ADC raw results are divided by 16 when read out
101
ADC raw results are divided by 32 when read out
110
ADC raw results are divided by 64 when read out
Table 24-7. ADC Clock
Bit Option
Description
000
ADC clock is SYSCLK
001
ADC clock is SYSCLK/2
010
ADC clock is SYSCLK/4
011
ADC clock is SYSCLK/8
100
ADC clock is SYSCLK/16
101
ADC clock is SYSCLK/32
110
ADC clock is SYSCLK/64
Add.
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,ACh
DA_L[7:0]
RW : 00
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...