CY8C26643-24AI Cypress Semiconductor Corp, CY8C26643-24AI Datasheet - Page 100
![no-image](/images/manufacturer_photos/0/1/179/cypress_semiconductor_corp_sml.jpg)
CY8C26643-24AI
Manufacturer Part Number
CY8C26643-24AI
Description
IC MCU 16K FLASH 256B 44LQFP
Manufacturer
Cypress Semiconductor Corp
Series
PSOC™ CY8C26xxxr
Datasheet
1.CY8C25122-24PI.pdf
(148 pages)
Specifications of CY8C26643-24AI
Core Processor
M8C
Core Size
8-Bit
Speed
24MHz
Connectivity
SPI, UART/USART
Peripherals
LVD, POR, PWM, WDT
Number Of I /o
40
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.25 V
Data Converters
A/D 1x8b, 1x11b, 1x12b; D/A 1x9b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-LQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Other names
428-1431
428-1431-5
428-1431
428-1431-5
428-1431
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
CY8C26643-24AI
Manufacturer:
CYPRESS
Quantity:
3 354
Company:
Part Number:
CY8C26643-24AI
Manufacturer:
CY
Quantity:
15 210
Company:
Part Number:
CY8C26643-24AI
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
Company:
Part Number:
CY8C26643-24AIT
Manufacturer:
Cypress Semiconductor Corp
Quantity:
10 000
The SAR hardware accelerator is a block of specialized
hardware designed to sequence the SAR algorithm for
efficient A/D conversion. A SAR ADC is implemented
conceptually with a DAC of the desired precision, and a
comparator. This functionality can be configured from
one or more PSoC blocks. For each conversion, the firm-
ware should initialize the ASY_CR register as defined
below, and set the sign bit of the DAC as the first guess
in the algorithm. A sequence of OR instructions (Read,
Modify, Write) to the DAC (CR0) register is then exe-
cuted. Each of these OR instructions causes the SAR
hardware to read the current state of the comparator,
checking the validity of the previous guess. It either
clears it or leaves it set, accordingly. The next LSB in the
DAC register is also set as the next guess. Six OR
instructions will complete the conversion of a 6-bit DAC.
The resulting DAC code, which matches the input volt-
age to within 1 LSB, is then read back from the DAC
CR0 register.
10.12.1 Analog Stall and Analog Stall Lockup
Stall lockup affects the operation of stalled IO writes,
such as DAC writes and the stalled IOR of the SAR hard-
Table 78:
Analog Synchronization Control Register (ASY_CR, Address = Bank 0, 65h)
100
Bit 7 : Reserved
Bit [6:4] : SARCOUNT [2:0] Initial SAR count. Load this field with the number of bits to process. In a typical 6-bit
SAR, the value would be 6
Bit 3 : SARSIGN Adjust the SAR comparator based on the type of block addressed. In a DAC configuration with
more than one PSoC block (more than 6-bits), this bit would be 0 when processing the most significant block and 1
when processing the least significant block. This is because the least significant block of a DAC is an inverting input
to the most significant block
Bit [2:1] : SARCOL [1:0] Column select for SAR comparator input. The DAC portion of the SAR can reside in any of
the appropriate positions in the analog PSOC block array. However, once the comparator block is positioned (and it
is possible to have the DAC and comparator in the same block), this should be the column selected
Bit 0 : SYNCEN Set to 1, will stall the CPU until the rising edge of PHI1, if a write to a register within an analog Switch
Cap block takes place
Bit Name Reserved
Read/
Write
Bit #
POR
Analog Synchronization Control Register
--
7
0
SARCOUNT
[2]
W
6
0
Cypress MicroSystems CY8C25122/CY8C26233/CY8C26443/CY8C26643 Family Data Sheet
Document #: 38-12010 CY Rev. ** CMS Rev. 3.20
SARCOUNT
[1]
W
5
0
SARCOUNT
ware accelerator. The DAC and SAR User Modules
operate in this mode. The analog column clock fre-
quency must not be a power of two multiple (2, 4, 8...)
higher than the CPU clock frequency. Under this condi-
tion, the CPU will never recover from a stall.
See the list of relationships (in MHz) that will fail:
Table 77:
You can still run the CPU clock slower than the column
clock if the relationship is not a power of two multiple.
For example, you can run at 0.6 MHz, which is not a
power of two multiple of any CPU frequency and there-
fore any CPU frequency can be selected. If the CPU fre-
quency is greater than or equal to the analog column
clock, there is not a problem.
3.
1.5
0.75
0.37
0.18
[0]
W
Analog Column Clock
4
0
SIGN
SAR-
Analog Frequency Relationships
RW
3
0
SARCOL
RW
[1]
2
0
1.5, 0.75, .018, 0.093
0.75, 0.18, 0.093
0.18, 0.093
0.18, 0.093
0.093
CPU Clock
SARCOL
RW
September 5, 2002
[0]
1
0
SYN-
CEN
RW
0
0