PSoC 5LP: CY8C52LP Family Datasheet Programmable System-on-Chip (PSoC ) General Description PSoC 5LP is a true programmable embedded system-on-chip, integrating configurable analog and digital peripherals, memory, and a microcontroller on a single chip. The PSoC 5LP architecture boosts performance through: 32-bit Arm Cortex -M3 core plus DMA controller at up to 80 MHz Ultra low power with industrys widest voltage range Programmable digital and analog peripherals enable custom functions Flexible routing of any analog or digital peripheral function to any pin PSoC devices employ a highly configurable system-on-chip architecture for embedded control design. They integrate configurable analog and digital circuits, controlled by an on-chip microcontroller. A single PSoC device can integrate as many as 100 digital and analog peripheral functions, reducing design time, board space, power consumption, and system cost while improving system quality. Features Operating characteristics Analog peripherals Voltage range: 1.71 to 5.5 V, up to 6 power domains 12-bit SAR ADC 1 Temperature range (ambient) 40 to 85 C 8-bit DAC DC to 80-MHz operation Two comparators Power modes CapSense support, up to 62 sensors Active mode 3.1 mA at 6 MHz, and 15.4 mA at 48 MHz 1.024 V 1% internal voltage reference 2-A sleep mode Versatile I/O system 300-nA hibernate mode with RAM retention 46 to 72 I/O pins up to 62 general-purpose I/Os (GPIOs) Boost regulator from 0.5-V input up to 5-V output Up to eight performance I/O (SIO) pins Performance 25 mA current sink 32-bit Arm Cortex-M3 CPU, 32 interrupt inputs Programmable input threshold and output high voltages Can act as a general-purpose comparator 24-channel direct memory access (DMA) controller Hot swap capability and overvoltage tolerance Memories Two USBIO pins that can be used as GPIOs Up to 256 KB program flash, with cache and security features Route any digital or analog peripheral to any GPIO Up to 32 KB additional flash for error correcting code (ECC) LCD direct drive from any GPIO, up to 46 16 segments Up to 64 KB RAM CapSense support from any GPIO 2 KB EEPROM 1.2-V to 5.5-V interface voltages, up to four power domains Digital peripherals Programming, debug, and trace Four 16-bit timer, counter, and PWM (TCPWM) blocks JTAG (4-wire), serial wire debug (SWD) (2-wire), single wire 2 I C, 1 Mbps bus speed viewer (SWV), and Traceport (5-wire) interfaces USB 2.0 certified Full-Speed (FS) 12 Mbps peripheral inter- Arm debug and trace modules embedded in the CPU core 2 face (TID 10840032) using internal oscillator 2 Bootloader programming through I C, SPI, UART, USB, and 20 to 24 universal digital blocks (UDB), programmable to other interfaces create any number of functions: 8-, 16-, 24-, and 32-bit timers, counters, and PWMs Package options: 68-pin QFN,100-pin TQFP, and 99-pin CSP 2 I C, UART, SPI, I2S, LIN 2.0 interfaces Development support with free PSoC Creator tool Cyclic redundancy check (CRC) Schematic and firmware design support Pseudo random sequence (PRS) generators Over 100 PSoC Components integrate multiple ICs and Quadrature decoders system interfaces into one PSoC. Components are free Gate-level logic functions embedded ICs represented by icons. Drag and drop Programmable clocking component icons to design systems in PSoC Creator. 3- to 74-MHz internal oscillator, 2% accuracy at 3 MHz Includes free GCC compiler, supports Keil/Arm MDK 4- to 25-MHz external crystal oscillator compiler Internal PLL clock generation up to 80 MHz Supports device programming and debugging Low-power internal oscillator at 1, 33, and 100 kHz 32.768-kHz external watch crystal oscillator 12 clock dividers routable to any peripheral or I/O Notes 1. The maximum storage temperature is 150 C in compliance with JEDEC Standard JESD22-A103, High Temperature Storage Life. 2. This feature on select devices only. See Ordering Information on page 104 for details. Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600 Document Number: 001-84933 Rev. *M Revised November 16, 2018 PSoC 5LP: CY8C52LP 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 5LP: Overview: PSoC Portfolio, PSoC Roadmap Development Kits: CY8CKIT-059 is a low-cost platform for prototyping, with a Product Selectors: PSoC 1, PSoC 3, PSoC 4, PSoC 5LP unique snap-away programmer and debugger on the USB In addition, PSoC Creator includes a device selection tool. connector. Application notes: Cypress offers a large number of PSoC CY8CKIT-050 is designed for analog performance, for devel- application notes and code examples covering a broad range oping high-precision analog, low-power, and low-voltage ap- of topics, from basic to advanced level. Recommended appli- plications. cation notes for getting started with PSoC 5LP are: CY8CKIT-001 provides a common development platform for AN77759: Getting Started With PSoC 5LP any one of the PSoC 1, PSoC 3, PSoC 4, or PSoC 5LP families of devices. AN77835: PSoC 3 to PSoC 5LP Migration Guide The MiniProg3 device provides an interface for flash pro- AN61290: Hardware Design Considerations gramming and debug. AN57821: Mixed Signal Circuit Board Layout AN58304: Pin Selection for Analog Designs Technical Reference Manuals (TRM) AN81623: Digital Design Best Practices Architecture TRM AN73854: Introduction To Bootloaders Registers TRM Programming Specification 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. Multiple-Sensor Example Project in PSoC Creator 1 2 3 4 5 Document Number: 001-84933 Rev. *M Page 2 of 114