Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Programmable
System-on-Chip
“PSoC 4 is truly a revolutionary device that symbolizes a new era of flexibility in design.”
- Wataru Izumiya, President of Sangyo Times, Publisher of Semiconductor Industry News
“We selected the PSoC 4 architecture as an Editor’s Choice Product for its combination of
flexible analog and digital resources with capacitive touch technology and the 32-bit ARM
Cortex-M0 core.” - Warren Webb, Editorial Director at Embedded Computing Design
PSoC Creator™
PSoC 3, PSoC 4 and PSoC 5 Integrated Design Environment (IDE)
Software that installs on your PC that allows:
Concurrent hardware and firmware design of PSoC systems, or CapSense is used to create touch buttons and sliders
PSoC hardware design followed by export to popular IDEs Component Icon Component Configuration Tool
Components
Free embedded ICs represented by an icon in PSoC Creator software
Used to integrate multiple ICs and system interfaces into one PSoC
Dragged and dropped as icons to design systems in PSoC Creator
PSoC 4 “Base-Series”
A PSoC 4 with up to 32KB flash, 36 I/Os, 8 Programmable Analog Blocks
and 10 Programmable Digital Blocks
The original PSoC 4 family introduced in 2013 with over 2 million units in the field
PSoC 4 M-Series
A PSoC 4 with up to 128KB flash, 55 I/Os, DMA1, 2x CAN2,
12 Programmable Analog Blocks and 16 Programmable Digital Blocks
PSoC 4 L-Series
A PSoC 4 with up to 256KB flash, 98 I/Os, DMA1, 2x CAN2, USB,
13 Programmable Analog Blocks and 20 Programmable Digital Blocks
IDAC3 Component used to create custom Analog Front Ends
PSoC 4 BLE Component Icon Component Configuration Tool
A PSoC 4 with up to 256KB flash, 36 I/Os,
10 Programmable Analog Blocks, 10 Programmable Digital Blocks
and an integrated BLE4 radio with a royalty-free BLE4 Protocol Stack
1 DirectMemory Access
2 ControllerArea Network
3 Current-output digital-to-analog converter
4 Bluetooth Low Energy wireless solution designed for short-range, low-power wireless applications
Device Selection
Prototyping
Battery Drain Is a Big Problem Optimizing Performance in a Low-Power System Is Difficult and Requires the
Careful Use of Low-Power Modes2
2.50
2.00
Current (mA)
1.50
System Current (mA)
1.00
0.00
50
0
100
1,000
150
200
250
300
350
400
450
500
550
600
650
700
750
800
850
900
950
Time (ms)
1 Select peripherals enabled in the Deep-Sleep low-power mode greatly varies by ARM vendor 2 Graph is not to scale, in order to illustrate the differences in ARM standard power modes
Owner: JFMD PSoC 4 Programmable System-on-Chip New Product Presentation 9
001-89674 Rev *A
PSoC 4 Solves These Problems
1. PSoC 4 has a 32-bit ARM Cortex-M0 system with programmable analog and digital that quickly
upgrades legacy 8-bit and 16-bit systems
2. PSoC Creator™ IDE simplifies the design and debug of analog front ends and digital glue logic
3. PSoC Creator CapSense Component simplifies designs for CapSense, the No. 1 touch-sensing
solution
4. The PSoC Creator IDE simplifies power optimization using PSoC 4 low-power modes
For $1 you can buy the world’s most flexible, lowest-power ARM Cortex-M0 one-chip solution
Certified Support for Single-Shunt FOC Compressor Motor, Integrated Power Supervisor Functions:
MFi Connectivity and MFi Music Sensorless BLDC Motor (Est. Q1 2014) Fault Detect, Trim&Margin, Voltage Seq
PowerPSoC® (Current Sense Amplifiers, Precision Analog Sensing (e.g., Temp.) Digital and Analog Sensor Hub (e.g., Precision Analog Sensing (e.g., Temp.)
Hysteretic Controllers, FETs, DMX5122) Custom Analog ASIC Replacement Temp., Pressure, Accelerometer, Light) Custom analog ASIC replacement
Integrated Thermistor RTD, Thermistor and Thermocouple RTD, Thermistor and Thermocouple RTD, Thermistor and Thermocouple
HW I2C Mux, Quadrature Decoder Quadrature Decoder HW I2C Mux, Quadrature Decoder
Integrated Fan Control
Pseudo Random Pulse Modulator Pseudo Random Pulse Modulator Pseudo Random Pulse Modulator
I2CUARTSPI Bridge
Gas Sensor Analog Front End DSP 24-bit MAC and ALU with DMA DSP 24-bit MAC and ALU with DMA
Integrated Fan Controller
CY Patented CSD™ CapSense with CY Patented CSD CapSense with CY Patented CSD CapSense with CY Patented CSD CapSense with
SmartSense™ Auto-tuning SmartSense Auto-tuning SmartSense Auto-tuning SmartSense Auto-tuning
VDAC3 Differential GPIO IDAC4, VDAC3 IDAC4 Opamp Differential GPIO IDAC4, VDAC3
Proprietary
Custom Analog: Switch Cap.&Cont. Time Custom Analog: Switch Capacitor Custom Analog: Switch Capacitor
(e.g., Mixer, PGA, TIA, Filter, CMP) (e.g., Mixer, PGA, TIA, Filter, CMP) (e.g., Mixer, PGA, TIA, Filter, CMP)
Standard
CTBm
48 MHZ
CapSense
Interrupt Flash
Controller (16 To 32 KB) Programmable Digital Blocks GPIO
Port
UDB UDB
UDB UDB
Clocking SRAM
System (4 KB) GPIO
TCPWM TCPWM Port
TCPWM TCPWM
PSoC 4 also has programmable analog and digital blocks that integrate AFEs and digital glue logic
MCU Performance Comparison Using the Dhrystone Benchmark1
DMIPS per MHz2
1.00
8-bit MCU 16-bit MCU 32-bit MCU
0.75
0.50
0.25
0.00
PIC18
PIC18 8051
8051 MSP430 H8S/2600
MSP430 H8S/2600 S12
S12 PIC24
PIC24 ARM
ARM
Microchip
Microchip Intel
Intel TI
TI Renesas Freescale
Renesas Freescale Microchip
Microchip Cortex-M0
Cortex-M0
1 Dhrystone is a computing benchmark program used to calculate the relative performance of an MCU
2 DMIPS = Dhrystone million instructions per second; data referenced from The Definitive Guide to the ARM Cortex-M0, ISBN: 978-0-12-385477-3
PSoC 4 integrates analog front end designs to save BOM cost by delivering:
Discrete analog performance with a differential 1-Msps, 12-bit SAR ADC, and two high-performance opamps
with ±1-mV-input offset voltage and 6-MHz gain bandwidth
A 1- to 36-channel analog multiplexer (AMUX) that can be flexibly configured to create custom AFE designs
A 5-V operating voltage that provides over 50% more analog input signal range vs. 3.3 V
PSoC 4 Programmable Analog Blocks Opamp Component with Configuration Tool in PSoC Creator
Programmable Analog Blocks
CTBm
CapSense
CTBm = Continuous Time Block-mini The opamp graphical Component Configuration Tool simplifies parameter
CMP = comparator configuration
PSoC 4
MCU
The integration of an MCU and Is simplified using the PSoC Creator ADC And prototyped quickly using the
two discrete opamps in your Differential Preamplifier starter project and PSoC 4 Pioneer Kit and an optional
differential preamplifier analog PSoC Components… Arduino™ analog shield to create
front end… a PSoC one-chip solution.
AMUX
PSoC 4
MCU
The integration of an MCU, two Is simplified using the PSoC Creator And prototyped quickly using the
opamps and an AMUX in your Opamp with Dynamic Gain Switching PSoC 4 Pioneer Kit and an optional
dynamic gain switching opamp starter project and PSoC Creator Arduino shield to create a PSoC
analog front end… Components… one-chip solution.
Tool to Rework Traditional Analog Designs Tool to Rework PSoC Analog Designs
Offload traditional firmware-based CPU tasks to save power and increase reliability
Hardware-based state machines save CPU cycles by replacing firmware
Hardware-based logic provides deterministic monitoring for safety-critical tasks by replacing firmware
Hardware-based logic simplifies software design and ISR handling by replacing “bit-banging” firmware
Reconfigure programmable digital blocks to create multiple functions from the same blocks
Dynamic reconfiguration = changing hardware on the fly
Dynamically reconfigure serial communication blocks (e.g., a UART transfer followed by a SPI transfer in the same block)
Dynamically reconfigure timer/counter/PWM blocks
PSoC 4 Digital Blocks PSoC Components Integrate Digital Functions
UDB UDB
UDB UDB
TCPWM TCPWM
TCPWM TCPWM
PSoC Creator integrates
SCB SCB 60+ digital functions with
Components, including:
UDB = Universal Digital Block logic gates, flip-flops and
TCPWM = Timer/counter/PWM block lookup tables
SCB = Serial communication block
PSoC Creator UDBs simplify the design of custom glue logic solutions using one of three methods:
Digital logic Components, which can be dragged and dropped as icons
The graphical state machine editor
The code editor, which accepts custom Verilog code
1. Use digital logic Components… 3. Or the Verilog code in the To program the UDB.
code editor…
PLD Chaining
PLD PLD
Clock and 12C4 12C4
Reset (8 PTs1) (8 PTs)
2. Or the graphical state Control
machine editor…
Status
and Data
Control Path Data Path
Chaining
Cypress’s CapSense research CSD and CSA algorithms Mutual Cap creates multi- SmartSense Auto-tuning
and development began with released, offering improved touch feature; improved dual revolutionizes CapSense
buttons and sliders noise immunity, water rejection channel CSD provides design and improves noise
and proximity detection upgraded scan rate immunity
MCU
Upgrading an existing two-chip touch- Is simplified using the PSoC Creator And prototyped quickly using
sensing solution with an ARM Cortex-M0 CapSense LCD Low Power starter project the PSoC 4 Pioneer Kit to
device featuring the industry’s best and PSoC Creator Components… create a PSoC one-chip
CapSense hardware and firmware IP… solution.
Current (mA)
Retains SRAM and UDB state in Hibernate mode
Provides full state retention in Deep Sleep mode with LCD operation System Current (mA)
1,000
440
920
120
160
200
240
280
320
360
400
480
520
560
600
640
680
720
760
800
840
880
960
Stop Sleep Active Sleep Deep Sleep Hibernate
1 Graph is not to scale, in order to illustrate the differences in PSoC 4 low-power modes
Power management
Sequence up to 17 power rails per PSoC 4 device
Trim and margin up to 12 power rails per PSoC 4 device
Monitor voltages at ±1.5% accuracy
Detect over- and under-voltage fault conditions
Communication bridging
Communicate over serial host interfaces, including I2C, UART, SMBus and PMBus
Build custom communication interfaces using PSoC 4 UDBs
Customized displays
Drive and control LED and segment LCDs
Integrate light sensor AFEs for auto-dimming
Low-power operation
Minimize power consumption using PSoC 4 low-power modes
Sleep: 1.3 mA
Deep Sleep: 1.3 µA
Hibernate: 150 nA
Stop: 20 nA
12 bit SAR,
ADC 10 bit SAR, 500 ksps 10 bit SAR, 200 ksps 12 bit SAR, 400 ksps 10 bit SAR, 400 ksps
806 ksps
Opamp 2 - - - 1
Comparator 4 2 4 1 2
Capacitive Sensing
Channels (with Auto- 36 (36) - - - -
tuning)
Programmable
4 - - - - -
Digital Blocks
4 SPI, 2 I2C, 1 SPI, 1 I2C, 2 2 SPI, 1 I2C, 1 1 SPI, 1 I2C, 1 1 SPI, 2 I2C, 2 4 SPI, 4 I2C,
Serial Interface
4 UART UART UART UART UART 4 UART
12 bit SAR, 12 bit SAR, 10 bit SAR, 12 bit SAR, 12 bit SAR, 12 bit SAR,
ADC
1 Msps 1 Msps 400 ksps 818 ksps 600 ksps 350 ksps
Opamp 2 - - - - -
Comparator 4 2 - 1 1 2
Capacitive
Sensing Channels 36 (36) 18 (0) - 14 (0) - 60 (0)
(with Auto-tuning)