PSoC 4: PSoC 4000 Family Datasheet Programmable System-on-Chip (PSoC ) General 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 4000 product family is the smallest 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, and general-purpose analog. PSoC 4000 products will be fully upward compatible with members of the PSoC 4 platform for new applica- tions and design needs. Features 32-bit MCU Subsystem Timing and Pulse-Width Modulation 16-MHz ARM Cortex-M0 CPU One 16-bit timer/counter/pulse-width modulator (TCPWM) block Up to 16 KB of flash with Read Accelerator Up to 2 KB of SRAM Center-aligned, Edge, and Pseudo-Random modes Comparator-based triggering of Kill signals for motor drive and Programmable Analog other high-reliability digital logic applications Two current DACs (IDACs) for general-purpose or capacitive sensing applications Up to 20 Programmable GPIO Pins One low-power comparator with internal reference 28-pin SSOP, 24-pin QFN, 16-pin SOIC, 16-pin QFN, 16 ball WLCSP, and 8-pin SOIC packages Low Power 1.71-V to 5.5-V operation GPIO pins on Ports 0, 1, and 2 can be CapSense or have other 2 Deep Sleep mode with wake-up on interrupt and I C address functions detect Drive modes, strengths, and slew rates are programmable Capacitive Sensing PSoC Creator Design Environment Cypress CapSense Sigma-Delta (CSD) provides best-in-class signal-to-noise ratio (SNR) and water tolerance Integrated Development Environment (IDE) provides schematic design entry and build (with analog and digital Cypress-supplied software component makes capacitive automatic routing) sensing design easy Applications Programming Interface (API) component for all Automatic hardware tuning (SmartSense) over a sensor fixed-function and programmable peripherals range of 5 pF to 45 pF Industry-Standard Tool Compatibility Serial Communication After schematic entry, development can be done with 2 Multi-master I C block with the ability to do address matching ARM-based industry-standard development tools during Deep Sleep and generate a wake-up on match Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600 Document Number: 001-89638 Rev. *I Revised May 29, 2018 PSoC 4: PSoC 4000 Family Datasheet More Information Cypress provides a wealth of data at www.cypress.com to help you to select the right PSoC device for your design, and to help you to quickly and effectively integrate the device into your design. For a comprehensive list of resources, see the knowledge base article KBA86521, How to Design with PSoC 3, PSoC 4, and PSoC 5LP. Following is an abbreviated list for PSoC 4: Overview: PSoC Portfolio, PSoC Roadmap AN73854: Introduction To Bootloaders AN89610: ARM Cortex Code Optimization Product Selectors: PSoC 1, PSoC 3, PSoC 4, PSoC 5LP In addition, PSoC Creator includes a device selection tool. Technical Reference Manual (TRM) is in two documents: Application notes: Cypress offers a large number of PSoC Architecture TRM details each PSoC 4 functional block. application notes covering a broad range of topics, from basic Registers TRM describes each of the PSoC 4 registers. to advanced level. Recommended application notes for getting Development Kits: started with PSoC 4 are: CY8CKIT-040, PSoC 4000 Pioneer Kit, is an easy-to-use and AN79953: Getting Started With PSoC 4 inexpensive development platform with debugging capability. AN88619: PSoC 4 Hardware Design Considerations This kit includes connectors for Arduino compatible shields AN86439: Using PSoC 4 GPIO Pins and Digilent Pmod daughter cards. AN57821: Mixed Signal Circuit Board Layout The MiniProg3 device provides an interface for flash AN81623: Digital Design Best Practices programming and debug. PSoC Creator PSoC Creator is a free Windows-based Integrated Design Environment (IDE). It enables concurrent hardware and firmware design of PSoC 3, PSoC 4, and PSoC 5LP based systems. Create designs using classic, familiar schematic capture supported by over 100 pre-verified, production-ready PSoC Components see the list of component datasheets. With PSoC Creator, you can: 1. Drag and drop component icons to build your hardware 3. Configure components using the configuration tools system design in the main design workspace 4. Explore the library of 100+ components 2. Codesign your application firmware with the PSoC hardware, 5. Review component datasheets using the PSoC Creator IDE C compiler Figure 1. Example Project in PSoC Creator 1 2 4 5 3 5 Document Number: 001-89638 Rev. *I Page 2 of 35