Cypress CY8C20x66, CY8C20x46 manual PSoC Functional Overview, PSoC Core, CapSense Analog System

Page 3

CY8C20x36/46/66, CY8C20396

PSoC® Functional Overview

The PSoC family consists of on-chip Controller devices. These devices are designed to replace multiple traditional MCU-based components with one, low cost single-chip programmable component. A PSoC device includes configurable analog and digital blocks, and programmable interconnect. This architecture allows the user to create customized peripheral configurations, to match the requirements of each individual application. Additionally, a fast CPU, Flash program memory, SRAM data memory, and configurable IO are included in a range of convenient pinouts.

The architecture for this device family, as shown in the Block Diagram on page 2, is comprised of three main areas: the Core, the CapSense Analog System, and the System Resources (including a full speed USB port). A common, versatile bus allows connection between IO and the analog system. Each CY8C20x36/46/66, CY8C20396 PSoC device includes a dedicated CapSense block that provides sensing and scanning control circuitry for capacitive sensing applications. Depending on the PSoC package, up to 36 general purpose IO (GPIO) are also included. The GPIO provides access to the MCU and analog mux.

PSoC Core

The PSoC Core is a powerful engine that supports a rich instruction set. It encompasses SRAM for data storage, an interrupt controller, sleep and watchdog timers, and IMO (internal main oscillator) and ILO (internal low speed oscillator). The CPU core, called the M8C, is a powerful processor with speeds up to 24 MHz. The M8C is a four-MIPS, 8-bit Harvard architecture microprocessor.

System Resources provide additional capability, such as configurable USB and I2C slave/SPI master-slave communication interface, three 16-bit programmable timers, and various system resets supported by the M8C.

The Analog System is composed of the CapSense PSoC block and an internal 1.2V analog reference, which together support capacitive sensing of up to 36 inputs.

CapSense Analog System

The Analog System contains the capacitive sensing hardware. Several hardware algorithms are supported. This hardware performs capacitive sensing and scanning without requiring external components. Capacitive sensing is configurable on each GPIO pin. Scanning of enabled CapSense pins are completed quickly and easily across multiple ports.

Figure 1. Analog System Block Diagram

IDAC

 

 

Analog Global Bus

Vr

 

Reference

 

Buffer

Cinternal

 

Comparator

 

Mux

 

Mux

Refs

 

 

 

 

 

CapSenseCounters

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CSCLK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IMO

 

 

CapSense

 

Oscillator

 

 

Clock Select

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Analog Multiplexer System

The Analog Mux Bus can connect to every GPIO pin. Pins are connected to the bus individually or in any combination. The bus also connects to the analog system for analysis with the CapSense block comparator.

Switch control logic enables selected pins to precharge continuously under hardware control. This enables capacitive measurement for applications such as touch sensing. Other multiplexer applications include:

Complex capacitive sensing interfaces, such as sliders and touchpads.

Chip-wide mux that allows analog input from any IO pin.

Crosspoint connection between any IO pin combinations.

When designing capacitive sensing applications, refer to the latest signal-to-noise signal level requirements Application Notes, which can be found under http://www.cypress.com >> Documentation >> Application Notes. In general, and unless otherwise noted in the relevant Application Notes, the minimum signal-to-noise ratio (SNR) for CapSense applications is 5:1.

Document Number: 001-12696 Rev. *D

Page 3 of 34

[+] Feedback

Image 3
Contents Features PSoC Core Block DiagramPSoC Functional Overview PSoC CoreCapSense Analog System Additional System Resources Getting StartedPSoC Designer Software Subsystems Development ToolsOrganize and Connect Configure ComponentsDesigning with PSoC Designer Select ComponentsNumeric Naming Document ConventionsAcronyms Used Units of MeasurePin Type Name Description Digital Analog PinoutsPin QFN Pin Definitions CY8C20236, CY8C20246 PSoC DeviceQFN Pin Definitions CY8C20396 PSoC Device 2 Pin QFN with USB PinoutQFN Pin Definitions CY8C20666 PSoC Device 2 Name DescriptionPin Digital Analog Name Description Digital Analog Pin SsopPin Definitions CY8C20566 PSoC Device2 Pin NoPin Definitions CY8C20066 PSoC Device 2 Pin QFN OCDUnits of Measure Symbol Unit of Measure Electrical SpecificationsComparator User Module Electrical Specifications ADC Electrical SpecificationsDC Accuracy Operating Temperature DC Chip-Level SpecificationsAbsolute Maximum Ratings DC General Purpose IO Specifications Input Low Voltage Vdd High Output VoltageLow Output Voltage IOL = 10 mA, maximum of 30 mA sink Low Output Voltage IOL = 5 mA, maximum of 20 mA sinkDC Low Power Comparator Specifications DC Analog Mux Bus SpecificationsDC Programming Specifications DC POR and LVD SpecificationsAC General Purpose IO Specifications AC Chip-Level SpecificationsAC Analog Mux Bus Specifications AC Comparator SpecificationsAC Programming Specifications AC External Clock SpecificationsAC I2C Specifications AC SPI SpecificationsPin Chip On Lead 3x3 mm Sawn Packaging InformationPin 5x5 x 0.6 mm QFN Thermal Impedances per Package Typical θ JA Solder Reflow Peak TemperatureThermal Impedances Important NotesDevelopment Tool Selection SoftwareAll development kits are sold at the Cypress Online Store Evaluation Tools Device ProgrammersAll evaluation tools are sold at the Cypress Online Store Third-Party Tools Build a PSoC Emulator into Your Board Accessories Emulation and ProgrammingBytes Blocks Pins Inputs Ordering InformationCapSense Digital IO Analog Origin of Change Submission Date Description of Change Document HistoryWorldwide Sales and Design Support Products PSoC Solutions Sales, Solutions, and Legal Information