News


PSoC - the configurable mixed-signal array with on-chip controller

24 March 2004 News

The PSoC microcontroller from Cypress Microsystems enables designers to select from a variety of circuit elements including ADCs, DACs, op-amps, counters, timers, pseudo random generators, analog filters and UARTs that best fit their application, and then control these elements with the popular M8 microcontroller.

Unlike other microcontrollers, PSoC allows design engineers to program a single chip for a variety of functions, and then change functions in system 'on the fly'.

Figure 1. PSoC allows you to choose one of these or thousands of other configurations
Figure 1. PSoC allows you to choose one of these or thousands of other configurations

No more design tradeoffs

Designers spend time at the beginning of a project looking for the right processor, and usually have to make many tradeoffs because they can never find the microcontroller that has exactly the peripherals they want. All that is changed with PSoC. The project now starts inside the development tools where one configures the PSoC blocks to the peripheral set that is perfect for the application. Further steps in the configuration process allow one to connect these functions in sequence to create signal chains appropriate to one's application.

With PSoC there are fewer parts to buy, fewer parts to qualify, and the configuration is exactly as needed.

Fewer chips means lower costs

In an example of a 'wireless thermostat' the specifications are: LCD panel readout; Keypad for user input; IR communication back to base.

Figure 2. Example of implementation  of a wireless thermostat
Figure 2. Example of implementation of a wireless thermostat

How PSoC fits this application (see Figure 2):

* Allows one to remove external components.

* Gives all the elements to make signal chains.

* Reduces board size.

* Reduces placement cost.

* Has high-accuracy analog for thermistor measurement.

Standard building blocks for a custom design

PSoC blocks: The analog and digital blocks that support peripheral functions are called PSoC blocks. These blocks are configured via register settings to perform a wide range of functions. The inputs and outputs from each block are also set with register bits. Each of these blocks is designed to support a wide variety of peripheral functions. Each digital PsoC block is an 8-bit-wide resource.

Therefore, creating an 8-bit pulse width modulator (PWM) requires one digital PSoC block. Two or more blocks can be used together to create wider bit width functions. The analog PSoC blocks are designed around an operational amplifier, and include programmable multiplexing and programmable feedback characteristics. There are three types of analog blocks: a continuous time analog block that has a programmable resistor matrix in the feedback path, and two types of switched capacitor blocks, which have switched capacitors in the feedback path.

User modules

Cypress has made the configuration process easy by creating a library of user modules that are pre-created and pre-tested configurations of PSoC blocks to make peripherals. Upon selecting a particular user module, all the bit-level programming is done by the 'PSoC designer' software (the integrated development environment), letting designers focus on their application. A user module also includes Application Program Interface (API) routines to communicate to the user module, and the necessary interrupt handling software.

Table 1. Examples of digital and analog user modules
Table 1. Examples of digital and analog user modules

All the specifications for the user modules are in the PSoC Designer software. A typical digital user module is a UART, and a typical analog user module is a 12-bit incremental ADC. The large number of user modules to choose from can eliminate requirements for external components, and can reduce the overall parts count in a system.

Dynamic reconfiguration for more value

The peripheral set and interconnect are selected by setting register values, but also, they can be changed while PSoC is running, thereby making a completely different custom processor for different states of one's application. This capability is called dynamic reconfiguration. It extends the peripheral capability beyond the number of PSoC blocks on the original PSoC. In every design there are peripherals that are used only occasionally, if at all. The PSoC development software enables one to create the second and subsequent configurations as easily as the first. The software interface that is required to switch between one configuration and another is automatically generated, so managing this change-of-state is as simple as a subroutine call from the application software.

In an example of a 'floating emergency locator beacon' the specifications for the design are: must have several discrete modes of operation; monitors state-of-charge on battery; must perform periodic self-test; Automatically turns on beacon when wet.

Figure 3. PSoC implementation of a floating emergency locator beacon
Figure 3. PSoC implementation of a floating emergency locator beacon

PSoC fits this application (see Figure 3) by:

* Using dynamic reconfiguration of user modules for multiple application states.

* Allowing one to choose from many different peripheral combinations.

* Having high-accuracy analog for battery monitoring.

Efficient development tools speed time-to-market

The development process starts inside the PSoC Designer software. This package includes all the tools to create and configure PSoC to meet custom needs. A simple graphical interface allows the developer to select the user modules needed, place them on the hardware PSoC blocks, and interconnect them with each other and the I/Os (see Figure 3). The toolset also includes a C compiler and an in-circuit emulator (ICE) that has full-speed operation, 128 KB of trace memory, and complex breakpoints. Adapters are also available to support emulation on all devices in the PSoC family, and to convert the ICE to a single-socket programmer for every device type.

PSoC Designer software is available for free download from the Cypress MicroSystems website ( www.cypressmicro.com), and the development kit and C compiler are available for purchase from Analog Data Products.

For more information contact Analog Data Products, 011 809 6100, a division of Avnet Kopp.





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Electronic News Digest
News
A brief synopsis of current global news relating to the electronic engineering fields with regards to company finances, general company news, and engineering technologies.

Read more...
4000 A containerised DB for power project
News
Power Process Systems has successfully completed the design, fabrication, and commissioning of a 4000 A containerised distribution board for a wind/PV solar hybrid renewable energy project.

Read more...
Datacentrix Industrial Indaba 2025
News
Datacentrix recently hosted its inaugural Industrial Indaba 2025, where industry leaders explored how digitalisation, resilience, security and compliance are shaping the future of sustainable industrial operations in Africa.

Read more...
RS brings solar light to 150 000 people
RS South Africa News
The company’s three-year partnership with SolarAid aims to raise £1 million through corporate donations, matched funding, product contributions, and fundraising to accelerate access to safe, sustainable energy.

Read more...
Microchip and AVIVA Links collaboration
Altron Arrow News
Microchip and AVIVA Links have achieved groundbreaking ASA-ML interoperability, accelerating the shift to open standards for automotive connectivity.

Read more...
World’s leading supplier of grid automation products
News
Hitachi Energy was recognised as the global market share leader in grid automation for electric power transmission and distribution utilities by ARC Advisory Group.

Read more...
Vivashan Muthan appointed as head of export sales and operations at RS South Africa
RS South Africa News
With a career spanning engineering, business development, and sales leadership across sub-Saharan Africa, Vivashan Muthan brings a wealth of expertise to his new role as head of export sales and operations.

Read more...
Google equips university students across Africa with free access to advanced AI tools
News
A 12-month Google AI Pro plan has been launched for students in Ghana, Kenya, Nigeria, Rwanda, South Africa, and Zimbabwe to build foundational AI skills.

Read more...
Africa’s space economy projected to be worth $22,6 billion in 2026
News
South Africa is gearing up to be at the forefront of the growth in the space industry, creating thousands of jobs, driving innovation, and boosting the national economy.

Read more...
Distribution partnership with MacDermid Alpha
Testerion News
MacDermid Alpha Electronics Solutions India Private Limited has announced that as of 01 September 2025 Testerion will be the sole importer and distributor of their products to the South African market.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved