PSoC 4: PSoC 4000S Datasheet Programmable System-on-Chip (PSoC ) Functional Description PSoC 4 is a scalable and reconfigurable platform architecture for a family of programmable embedded system controllers with an ARM Cortex -M0+ CPU. It combines programmable and reconfigurable analog and digital blocks with flexible automatic routing. The PSoC 4000S product family is a member of the PSoC 4 platform architecture. It is a combination of a microcontroller with standard communication and timing peripherals, a capacitive touch-sensing system (CapSense) with best-in-class performance, programmable general-purpose continuous-time and switched-capacitor analog blocks, and programmable connectivity. PSoC 4000S products will be upward compatible with members of the PSoC 4 platform for new applications and design needs. Features 32-bit MCU Subsystem LCD Drive Capability 48-MHz ARM Cortex-M0+ CPU LCD segment drive capability on GPIOs Up to 32 KB of flash with Read Accelerator Timing and Pulse-Width Modulation Up to 4 KB of SRAM Five 16-bit timer/counter/pulse-width modulator (TCPWM) Programmable Analog blocks Single-slope 10-bit ADC function provided by Capacitance Center-aligned, Edge, and Pseudo-random modes sensing block Comparator-based triggering of Kill signals for motor drive and Two current DACs (IDACs) for general-purpose or capacitive other high-reliability digital logic applications sensing applications on any pin Up to 36 Programmable GPIO Pins Two low-power comparators that operate in Deep Sleep low-power mode 48-pin TQFP, 40-pin QFN, 32-pin QFN, 24-pin QFN, 32-pin TQFP, and 25-ball WLCSP packages Programmable Digital Any GPIO pin can be CapSense, analog, or digital Programmable logic blocks allowing Boolean operations to be performed on port inputs and outputs Drive modes, strengths, and slew rates are programmable Low-Power 1.71-V to 5.5-V Operation PSoC Creator Design Environment Deep Sleep mode with operational analog and 2.5 A digital Integrated Development Environment (IDE) provides system current schematic design entry and build (with analog and digital automatic routing) Capacitive Sensing Applications Programming Interface (API) component for all Cypress CapSense Sigma-Delta (CSD) provides best-in-class fixed-function and programmable peripherals signal-to-noise ratio (SNR) (>5:1) and water tolerance Industry-Standard Tool Compatibility Cypress-supplied software component makes capacitive sensing design easy After schematic entry, development can be done with ARM-based industry-standard development tools Automatic hardware tuning (SmartSense) Serial Communication Two independent run-time reconfigurable Serial Communication Blocks (SCBs) with re-configurable I2C, SPI, or UART functionality Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600 Document Number: 002-00123 Rev. *K Revised November 17, 2017 PSoC 4: PSoC 4000S Datasheet Contents Logic Block Diagram ........................................................3 Device Level Specifications ....................................... 13 Functional Overview ........................................................4 Analog Peripherals .................................................... 16 CPU and Memory Subsystem .....................................4 Digital Peripherals ..................................................... 20 System Resources ......................................................4 Memory ..................................................................... 23 Analog Blocks ..............................................................5 System Resources .................................................... 23 Programmable Digital Blocks ......................................5 Ordering Information ...................................................... 26 Fixed Function Digital ..................................................5 Packaging ........................................................................ 28 GPIO ...........................................................................6 Package Diagrams .................................................... 29 Special Function Peripherals .......................................6 Acronyms ........................................................................ 33 Pinouts ..............................................................................7 Document Conventions ................................................. 35 Alternate Pin Functions ...............................................8 Units of Measure ....................................................... 35 Power ...............................................................................10 Document History Page ................................................. 36 Mode 1: 1.8 V to 5.5 V External Supply ....................10 Sales, Solutions, and Legal Information ...................... 37 Mode 2: 1.8 V 5% External Supply ..........................10 Worldwide Sales and Design Support ....................... 37 Development Support ....................................................11 Products .................................................................... 37 Documentation ..........................................................11 PSoCSolutions ....................................................... 37 Online ........................................................................11 Cypress Developer Community ................................. 37 Tools ..........................................................................11 Technical Support ..................................................... 37 Electrical Specifications ................................................12 Absolute Maximum Ratings .......................................12 Document Number: 002-00123 Rev. *K Page 2 of 37