| 简介 |
Cypress 公司的CY3209-ExpressEVK开发套件包括Express评估板,5V LCD模块, MiniProg编程单元, USB 电缆以及2个Artaflex 2.4GHz 无线电和9V电源等软件,硬件和案例几部分,主要用来评估PSoC特别是PSoC Express器件.套件分成四个部分,每个部分分别对应CY8C21434, CY8C27643, CY8C24894和CY8C29666器件,可以实现和评估CapSense,无线通信, “拖拽”(Drag and drop)USB,LCD控制,加速度/倾斜/下落检测以及电压监视等功能.本文介绍了CY8C21x34 PSoC器件的主要特性,方框图, 数字系统方框图和模拟系统方框图以及CY3209-ExpressEVK 评估板的主要特性和详细电路图.
The PSoC® family consists of many Mixed-Signal Array with On-Chip Controller devices. These devices are designed to replace multiple traditional MCU-based system omponents with one, low cost single-chip programmable component. A PSoC device includes configurable blocks of analog and digital logic, as well as programmable interconnect. This architecture allows the user to create customized peripheral configurations, to match the requirements of each individual application. Additionally, a fast CPU, Flash program memory, SRAM data memory, and configurable IO are included in a range of convenient pinouts.
The PSoC architecture, as illustrated on the left, is comprised of four main areas: the Core, the System Resources, the Digital System, and the Analog System. Configurable global bus resources allow all the device resources to be combined into a complete custom system. Each CY8C21x34 PSoC device includes four digital blocks and four analog blocks. Depending on the PSoC package, up to 28 general purpose IO (GPIO) are also included. The GPIO provide access to the global digital and analog interconnects.

图1. CY8C21434方框图 The PSoC Core The PSoC Core is a powerful engine that supports a rich instruction set. It encompasses SRAM for data storage, an interrupt controller, sleep and watchdog timers, and IMO (internal main oscillator) and ILO (internal low speed oscillator). The CPU core, called the M8C, is a powerful processor with speeds up to 24 MHz. The M8C is a four MIPS 8-bit Harvard architecture microprocessor.
System Resources provide additional capability, such as digital clocks to increase the flexibility of the PSoC mixed-signal arrays, I2C functionality for implementing an I2C master, slave, MultiMaster, an internal voltage reference that provides an absolute value of 1.3V to a number of PSoC subsystems, a switch mode pump (SMP) that generates normal operating voltages off a single battery cell, and various system resets supported by the M8C.
The Digital System is composed of an array of digital PSoC blocks, which can be configured into any number of digital peripherals. The digital blocks can be connected to the GPIO through a series of global buses that can route any signal to any pin. Freeing designs from the constraints of a fixed peripheral controller. The Analog System is composed of four analog PSoC blocks, supporting comparators and analog-to-digital conversion up to 8 bits in precision.
The Digital System The Digital System is composed of 4 digital PSoC blocks. Each block is an 8-bit resource that can be used alone or combined with other blocks to form 8, 16, 24, and 32-bit peripherals, which are called user module references. Digital peripheral configurations include those listed below.
■PWMs (8 to 32 bit) ■PWMs with Dead band (8 to 32 bit) ■Counters (8 to 32 bit) ■Timers (8 to 32 bit) ■UART 8 bit with selectable parity ■SPI master and slave ■I2C slave and multi-master ■Cyclical Redundancy Checker/Generator (8 to 32 bit) ■IrDA ■Pseudo Random Sequence Generators (8 to 32 bit) The digital blocks can be connected to any GPIO through a series of global buses that can route any signal to any pin. The buses also allow for signal multiplexing and for performing logic operations. This configurability frees your designs from the constraints of a fixed peripheral controller. Digital blocks are provided in rows of four, where the number of blocks varies by PSoC device family. This allows you the optimum choice of system resources for your application.

图2. CY8C21434中的数字系统方框图
The Analog System The Analog System is composed of 4 configurable blocks, allowing the creation of complex analog signal flows. Analog peripherals are very flexible and can be customized to support specific application requirements. Some of the common PSoC analog functions for this device (most available as user modules) are listed below.
■Analog-to-digital converters (single or dual, with 8-bit resolution) ■Pin-to-pin comparator ■Single-ended comparators (up to 2) with absolute (1.3V) reference or 8-bit DAC reference ■1.3V reference (as a System Resource) In most PSoC devices, analog blocks are provided in columns of three, which includes one CT (Continuous Time) and two SC (Switched Capacitor) blocks. The CY8C21x34 devices provide limited functionality Type “E” analog blocks. Each column contains one CT Type E block and one SC Type E block. Refer to the PSoC Mixed-Signal Array Technical Reference Manual for detailed information on the CY8C21x34’s Type E analog blocks.

图3. CY8C21434中的模拟系统方框图CY8C21434主要特性:
■Powerful Harvard Architecture Processor M8C Processor Speeds to 24 MHz Low Power at High Speed 2.4V to 5.25V Operating Voltage Operating Voltages Down to 1.0V Using On-Chip Switch Mode Pump (SMP) Industrial Temperature Range: -40°C to +85°C ■Advanced Peripherals (PSoC Blocks) 4 Analog Type “E” PSoC Blocks Provide: -2 Comparators with DAC Refs -Single or Dual 8-Bit 28 Channel ADC 4 Digital PSoC Blocks Provide: -8- to 32-Bit Timers, Counters, and PWMs -CRC and PRS Modules -Full-Duplex UART, SPI™ Master or Slave -Connectable to All GPIO Pins Complex Peripherals by Combining Blocks ■Flexible On-Chip Memory 8K Flash Program Storage 50,000 Erase/Write Cycles 512 Bytes SRAM Data Storage In-System Serial Programming (ISSP) Partial Flash Updates Flexible Protection Modes EEPROM Emulation in Flash ■Complete Development Tools Free Development Software (PSoC Designer™) Full-Featured, In-Circuit Emulator and Programmer Full Speed Emulation Complex Breakpoint Structure 128K Trace Memory ■Precision, Programmable Clocking Internal ±2.5% 24/48 MHz Oscillator Internal Oscillator for Watchdog and Sleep Programmable Pin Configurations 25 mA Drive on All GPIO Pull Up, Pull Down, High Z, Strong, or Open Drain Drive Modes on All GPIO Up to 8 Analog Inputs on GPIO Configurable Interrupt on All GPIO Versatile Analog Mux Common Internal Analog Bus Simultaneous Connection of IO Combinations Capacitive Sensing Application Capability Additional System Resources I2C™ Master, Slave and Multi-Master to 400 kHz Watchdog and Sleep Timers User-Configurable Low Voltage Detection Integrated Supervisory Circuit On-Chip Precision Voltage Reference CY3209-ExpressEVK Kit CY3209-ExpressEVK Kit Contents: Express Evaluation Board 5V LCD Module MiniProg Programming Unit USB Cable 2 Artaflex 2.4GHz Radios 9V Battery CY3209-ExpressEVK Kit CD Quick Start Hardware Description The CY3209-ExpressEVK development kit allows one to put real-world applications together very quickly. This new kit demonstrates many aspects of PSoC with special emphasis on PSoC Express. The kit is physically divided into 4 parts, with each part associated with the CY8C21434, CY8C27643, CY8C24894 and CY8C29666 devices respectively. PSoCs can be I2C networked. The CY3209-ExpressEVK contains an enhanced version of the PSoC Express World Tour board (CY3121-Customer.) The kit includes software, hardware and example projects to help designers learn how to implement and evaluate the following functions:
CapSense Wireless Communication Drag and drop USB LCD Control Accelerometer/Tilt/Drop Sensing Voltage Monitoring Key Applications: Some of the applications possible with this kit are demonstrated in the Users Manual for the kit, where the user is led step-by-step, through several projects, including: Capacitive button sensing Analog input and display of a remote display using I2C Display of a dynamically changing real-time analog value on an LCD Implement a PC interface via USB Special-effects with LEDs CY3209-ExpressEVK 评估板电路图

图4. CY3209-ExpressEVK 评估板电路图(1)

图5. CY3209-ExpressEVK 评估板电路图(2)

图6. CY3209-ExpressEVK 评估板电路图(3)

图7. CY3209-ExpressEVK 评估板电路图(4)
来源:Cypress
|