PSoC 3: CY8C38 Family Datasheet Programmable System-on-Chip (PSoC ) General Description PSoC 3 is a true programmable embedded system-on-chip, integrating configurable analog and digital peripherals, memory, and a microcontroller on a single chip. The PSoC 3 architecture boosts performance through: 8051 core plus DMA controller and digital filter processor, at up to 67 MHz Ultra low power with industry s 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 six power domains Configurable 8- to 20-bit delta-sigma ADC 1 Temperature range (ambient) 40 to 85 C Up to four 8-bit DACs DC to 67-MHz operation Up to four comparators Power modes Up to four opamps Active mode 1.2 mA at 6 MHz, and 12 mA at 48 MHz Up to four programmable analog blocks, to create: 1-A sleep mode Programmable gain amplifier (PGA) 200-nA hibernate mode with RAM retention Transimpedance amplifier (TIA) Boost regulator from 0.5-V input up to 5-V output Mixer Sample and hold circuit Performance CapSense support, up to 62 sensors 8-bit 8051 CPU, 32 interrupt inputs 1.024 V 0.1% internal voltage reference 24-channel direct memory access (DMA) controller 24-bit 64-tap fixed-point digital filter processor (DFB) Versatile I/O system 29 to 72 I/O pins up to 62 general-purpose I/Os (GPIOs) Memories Up to eight performance I/O (SIO) pins Up to 64 KB program flash, with cache and security features 25 mA current sink Up to 8 KB additional flash for error correcting code (ECC) Programmable input threshold and output high voltages Up to 8 KB RAM Can act as a general-purpose comparator Up to 2 KB EEPROM Hot swap capability and overvoltage tolerance Digital peripherals Two USBIO pins that can be used as GPIOs Four 16-bit timer, counter, and PWM (TCPWM) blocks Route any digital or analog peripheral to any GPIO 2 I C, 1 Mbps bus speed LCD direct drive from any GPIO, up to 46 16 segments USB 2.0 certified Full-Speed (FS) 12 Mbps peripheral CapSense support from any GPIO 2 interface (TID 40770053) using internal oscillator 1.2-V to 5.5-V interface voltages, up to four power domains Full CAN 2.0b, 16 Rx, 8 Tx buffers Programming and debug 16 to 24 universal digital blocks (UDB), programmable to JTAG (4-wire), serial wire debug (SWD) (2-wire), and single create any number of functions: wire viewer (SWV) interfaces 8-, 16-, 24-, and 32-bit timers, counters, and PWMs 2 2 Bootloader programming through I C, SPI, UART, USB, and I C, UART, SPI, I2S, LIN 2.0 interfaces other interfaces Cyclic redundancy check (CRC) Pseudo random sequence (PRS) generators Package options: 48-pin SSOP, 48-pin QFN, 68-pin QFN, 100-pin TQFP, and 72-pin WLCSP Quadrature decoders Gate-level logic functions Development support with free PSoC Creator tool Schematic and firmware design support Programmable clocking Over 100 PSoC Components integrate multiple ICs and 3- to 62-MHz internal oscillator, 1% accuracy at 3 MHz system interfaces into one PSoC. Components are free 4- to 25-MHz external crystal oscillator embedded ICs represented by icons. Drag and drop Internal PLL clock generation up to 67 MHz component icons to design systems in PSoC Creator. Low-power internal oscillator at 1, 33, and 100 kHz Includes free Keil 8051 compiler 32.768-kHz external watch crystal oscillator Supports device programming and debugging 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 123 for details. Cypress Semiconductor Corporation 198 Champion Court San Jose, CA 95134-1709 408-943-2600 Document Number: 001-11729 Rev. AG Revised April 27, 2017 PSoC 3: CY8C38 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 3: Overview: PSoC Portfolio, PSoC Roadmap Development Kits: CY8CKIT-030 is designed for analog performance, for devel- Product Selectors: PSoC 1, PSoC 3, PSoC 4, PSoC 5LP oping high-precision analog, low-power, and low-voltage ap- In addition, PSoC Creator includes a device selection tool. plications. Application notes: Cypress offers a large number of PSoC CY8CKIT-001 provides a common development platform for application notes and code examples covering a broad range any one of the PSoC 1, PSoC 3, PSoC 4, or PSoC 5LP of topics, from basic to advanced level. Recommended appli- families of devices. cation notes for getting started with PSoC 3 are: The MiniProg3 device provides an interface for flash pro- gramming and debug. AN54181: Getting Started With PSoC 3 AN61290: Hardware Design Considerations Technical Reference Manuals (TRM) AN57821: Mixed Signal Circuit Board Layout Architecture TRM AN58304: Pin Selection for Analog Designs Registers TRM AN81623: Digital Design Best Practices Programming Specification AN73854: Introduction To Bootloaders 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 Document Number: 001-11729 Rev. AG Page 2 of 140