CY8C21345/CY8C21645 CY8C22345/CY8C22345H/CY8C22645 Automotive PSoC Programmable System-on-Chip Automotive PSoC Programmable System-on-Chip Two current DACs provide programmable sensor tuning in Features firmware Automotive Electronics Council (AEC) Q100 qualified Two dedicated clock resources for CapSense Powerful Harvard-architecture processor Two dedicated 16-bit timers/counters for CapSense scanning M8C processor speeds up to 24 MHz 8 8 multiply, 32-bit accumulate Versatile analog mux Low power at high speed Common internal analog bus Automotive A-grade: 3.0 V to 5.25 V operation at 40 C to Simultaneous connection of I/O combinations +85 C temperature range Programmable pin configurations Automotive E-grade: 4.75 V to 5.25 V operation at 40 C to 25 mA sink, 10 mA drive on all GPIOs +125 C temperature range Pull-up, pull-down, high Z, strong, or open-drain drive modes Advanced peripherals (PSoC blocks) on all GPIOs Six analog Type E PSoC blocks provide: Analog input on all GPIOs Up to four comparators with digital-to-analog converters Configurable interrupt on all GPIOs (DAC) references Additional system resources: Up to 10-bit single or dual analog-to-digital converters 2 I C master, slave, or multi-master (ADCs) Operation up to 400 kHz Up to eight digital PSoC blocks provide: Hardware address detection feature 8 to 32-bit timers, counters, and pulse width modulators Watchdog and sleep timers (PWMs) User-configurable low voltage detection One-shot, multi-shot mode in timers and PWMs Integrated supervisory circuit PWM with deadband in one digital block On-chip precision voltage reference Shift register, cyclical redundancy check (CRC), and Hardware real time clock (RTC) block pseudo random sequence (PRS) modules Full- or half-duplex UARTs Block Diagram SPI masters or slaves, 8- to 16-bit variable data length Port 4 Port 3 Port 2 Port 1 Port 0 Connectable to all general-purpose I/O (GPIO) pins PSoC CORE Complex peripherals by combining blocks Powerful synchronization support, analog module operations System Bus can be synchronized by digital blocks or external signals. High-speed 10-bit successive approximation register (SAR) Global Digital Global Analog Interconnect Interconnect ADC with sample and hold optimized for embedded control SRAM CY8C22345H devices Integrate Immersion TouchSense SROM Flash 16K/8K 1KB/512B Haptics Technology for ERM drive control Sleep and CPU Core (M8C) Interrupt Watchdog Precision, programmable clocking Controller Internal oscillator up to 24 MHz Multiple Clock Sources (Includes IMO, ILO, PLL, and ECO) High accuracy 24 MHz with optional 32-kHz crystal and phase locked loop (PLL) DIGITAL SYSTEM ANALOG SYSTEM Optional external oscillator, up to 24 MHz Analog Internal low speed, low-power oscillator for watchdog and Ref 10-bit SAR sleep functionality ADC Digital Block Flexible on-chip memory Array Analog Input Up to 16 KB flash program storage, 1000 erase/write cycles Muxing Analog Up to 1 KB SRAM data storage Block CapSense Digital Array In-System Serial Programming (ISSP) Resources Partial flash updates Flexible protection modes EEPROM emulation in flash POR and LVD Internal Optimized CapSense resource Digital Multiply 2 I C RTC Voltage Clocks Accum. System Resets Ref. Supports two CapSense channels with simultaneous scanning SYSTEM RESOURCES Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600 Document Number: 001-55397 Rev. *O Revised January 5, 2018CY8C21345/CY8C21645 CY8C22345/CY8C22345H/CY8C22645 Contents PSoC Functional Overview ..............................................3 Development Tool Selection ......................................... 29 PSoC Core ..................................................................3 Software .................................................................... 29 Digital System .............................................................3 Development Kits ...................................................... 29 Analog System ............................................................4 Evaluation Tools ........................................................ 29 Haptics TS2000 Controller ..........................................4 Device Programmers ................................................. 30 Additional System Resources .....................................5 Accessories (Emulation and Programming) .............. 30 PSoC Device Characteristics ......................................5 Ordering Information ...................................................... 31 Getting Started ..................................................................6 Ordering Code Definitions ......................................... 32 Application Notes ........................................................6 Packaging Information ................................................... 33 Development Kits ........................................................6 Package Dimensions ................................................. 33 Training .......................................................................6 Thermal Impedances ................................................. 34 CYPros Consultants ....................................................6 Capacitance on Crystal Pins ..................................... 34 Solutions Library ..........................................................6 Solder Reflow Specifications ..................................... 34 Technical Support .......................................................6 Tape and Reel Information ........................................ 35 Development Tools ..........................................................6 Tube Information ....................................................... 37 PSoC Designer Software Subsystems ........................6 Acronyms ........................................................................ 39 Designing with PSoC Designer .......................................7 Reference Documents .................................................... 39 Select User Modules ...................................................7 Document Conventions ................................................. 40 Configure User Modules ..............................................7 Units of Measure ....................................................... 40 Organize and Connect ................................................7 Numeric Conventions ................................................ 40 Generate, Verify, and Debug .......................................7 Glossary .......................................................................... 40 Pinouts ..............................................................................8 Errata ............................................................................... 45 28-pin Part Pinout ........................................................8 Part Numbers Affected .............................................. 45 48-pin Part Pinout ........................................................9 CY8C21x45, CY8C22x45 Qualification Status .......... 45 Registers .........................................................................10 Errata Summary ........................................................ 45 Register Conventions ................................................10 Document History Page ................................................. 47 Register Mapping Tables ..........................................10 Sales, Solutions, and Legal Information ...................... 49 Absolute Maximum Ratings ..........................................13 Worldwide Sales and Design Support ....................... 49 Operating Temperature ..................................................13 Products .................................................................... 49 Electrical Specifications ................................................14 PSoC Solutions ...................................................... 49 DC Electrical Characteristics .....................................15 Cypress Developer Community ................................. 49 AC Electrical Characteristics .....................................21 Technical Support ..................................................... 49 Document Number: 001-55397 Rev. *O Page 2 of 49