EasyManua.ls Logo

Cypress PSoC 4000 Series - User Manual

Cypress PSoC 4000 Series
178 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Loading...
PSoC 4000 TRM
PSoC 4000 Family
PSoC
®
4 Architecture Technical Reference
Manual (TRM)
Document No. 001-89309 Rev. *D
May 31, 2017
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): +1.800.858.1810
Phone (Intnl): +1.408.943.2600
www.cypress.com

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Cypress PSoC 4000 Series and is the answer not in the manual?

Cypress PSoC 4000 Series Specifications

General IconGeneral
ArchitectureARM Cortex-M0
Max CPU Frequency24 MHz
Operating Voltage1.71 V to 5.5 V
Flash MemoryUp to 32 KB
SRAMUp to 4 KB
GPIO PinsUp to 36
Analog-to-Digital Converter (ADC)12-bit, up to 1 MSPS
Communication InterfacesI2C, SPI, UART
Operating Temperature Range-40°C to +85°C
Low Power ModesSleep, Deep Sleep
CapSenseYes
Package OptionsQFN, SOIC, SSOP
CPU CoreCortex-M0
Programmable Digital Blocks4x UDB (Universal Digital Blocks)
TimersUp to 4 16-bit timers

Summary

Section A: Overview

1. Introduction

Overview of the PSoC 4000 device, its architecture, features, and overall system.

1.1 Top Level Architecture

Illustrates the major components of the PSoC 4000 architecture.

1.2 Features

Key components and capabilities of the PSoC 4000 family.

1.3 CPU System

Details about the Cortex-M0 CPU core and its subsystem.

1.4 Memory

Description of the PSoC 4 memory subsystem, including flash, SRAM, and SROM.

1.8 Program and Debug

Information on programming and debugging interfaces for PSoC 4 devices.

Section B: CPU System

4. Cortex-M0 CPU

Details on the PSoC 4 Cortex-M0 CPU, its architecture, and features.

4.1 Features

Key features of the PSoC 4 Cortex-M0 CPU, including performance and debug support.

4.5 Registers

Details of the Cortex-M0 CPU registers used for data operations and status.

4.6 Operating Modes

Explanation of the Cortex-M0 processor's operating modes: Thread and Handler.

5. Interrupts

Information on the ARM Cortex-M0 interrupt system in PSoC 4.

5.3 Interrupts and Exceptions - Operation

Handling of interrupts and exceptions, including sequence and priority.

5.4 Exception Sources

Details on various exception sources like Reset, NMI, HardFault, SVCall, PendSV, SysTick.

5.7 Enabling and Disabling Interrupts

Procedures for enabling and disabling interrupts using NVIC registers.

Section C: Memory System

6. Memory Map

Overall map of memory and register addresses accessible by the CPU.

6.1 Features

Key features of the PSoC 4 memory system, including flash, SRAM, and SROM.

Section D: System Resources Subsystem (SRSS)

7. I;O System

Explanation of the PSoC 4 I/O system, its features, architecture, and interrupts.

7.1 Features

Features of the PSoC 4 GPIO pins, including drive strength and interrupt capabilities.

7.3 I;O Cell Architecture

Description of the I/O cell structure, comprising input buffer and output driver.

7.4 High-Speed I;O Matrix

Functionality of the high-speed I/O matrix for routing GPIOs to peripherals.

8. Clocking System

Overview of the PSoC 4 clocking system, including sources and distribution.

8.2 Clock Sources

Description of internal clock sources like IMO and ILO, and external clock.

9. Power Supply and Monitoring

Details on PSoC 4 power supply capabilities and monitoring features.

9.2 Power Supply Scenarios

Different ways the device can be powered, including voltage ranges.

10. Chip Operational Modes

Description of the PSoC 4's operational modes: Boot, User, Privileged, Debug.

11. Power Modes

Explanation of PSoC 4 power modes: Active, Sleep, and Deep-Sleep.

11.3 Deep-Sleep Mode

Deep-sleep mode details, including CPU, SRAM, and logic retention.

12. Watchdog Timer

Information on the watchdog timer for automatic device reset.

13. Reset System

Description of the PSoC 4 reset system and its sources.

14. Device Security

Options for protecting user designs from unauthorized access.

Section E: Digital System

15. Inter-Integrated Circuit (I2 C)

Explanation of the PSoC 4 Serial Communication Block configured as an I2C block.

15.1 Features

Supported features of the I2C block, including modes and data rates.

15.2.2 I2 C Modes of Operation

Explanation of I2C operating modes: Master, Slave, Multi-master.

15.2.3 Easy I2 C (EZI2 C) Protocol

Description of the Easy I2C protocol for indexed memory transfers.

16. Timer, Counter, and PWM

Details on the TCPWM block, used for timers, counters, and PWM generation.

16.1 Features

Features of the Timer, Counter, and PWM block.

16.3 Modes of Operation

Different operational modes of the TCPWM counter block.

16.3.1 Timer Mode

How the timer mode operates for event timing.

16.3.4 Pulse Width Modulation Mode

How the PWM mode operates for generating PWM signals.

Section F: Analog System

17. CapSense

Details of the PSoC 4 CapSense capacitive touch sensing technology.

17.1 Features

Features of the PSoC 4 CapSense, including robustness and sensing capabilities.

17.3 How It Works

Explanation of CapSense operation using switched capacitance and sigma delta.

17.4 CapSense CSD Sensing

Details of the PSoC 4 CapSense hardware and sensing mechanisms.

17.5 CapSense CSD Shielding

Shielding techniques for waterproofing and proximity sensing in CapSense.

Section G: Program and Debug

18. Program and Debug Interface

Overview of the interface for programming and debugging PSoC 4 devices.

18.1 Features

Features of the program and debug interface, including SWD support.

18.3 Serial Wire Debug (SWD) Interface

Details of the Serial Wire Debug (SWD) interface protocol.

18.5 Programming the PSoC 4 Device

Sequence for programming the PSoC 4 device using the SWD interface.

19. Nonvolatile Memory Programming

Explanation of programming PSoC 4 flash memory, including system calls.

19.1 Features

Features of nonvolatile memory programming, including DAP and CPU support.

19.2 Functional Description

How flash programming operations are implemented using system calls.

19.5 System Calls

List of system calls and their availability in device protection modes.

19.5.3 Load Flash Bytes

Function to load data into the page latch buffer for flash programming.

19.5.4 Write Row

Erases and then programs a row of flash memory with data.

19.5.6 Erase All

Erases all user code and protection data in flash memory.

19.5.9 Non-Blocking Write Row

Writes a flash row non-blockingly, allowing CPU code execution from SRAM.

Glossary

Related product manuals