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:

From the editor’s desk: Windows 10’s end of support arrives bringing industrial risks
Technews Publishing News
By the time you read this column, support for non-LTSC editions of Windows 10 will have ended, officially having their last day on 14 October 2025. This means no more security patches, feature updates, ...

Read more...
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...
Correction: Marijana Abt, Rebound Electronics
News
      In the August issue of Dataweek magazine, the article titled ‘Celebrating innovation, leadership, and the next generation’ featured Marijana Abt, senior account manager at Rebound Electronics. Owing ...

Read more...
Trasna and RF Design announce distribution agreement
RF Design News
Trasna and RF Design have announced a strategic distribution agreement for cellular IoT solutions which will ensure seamless availability of Trasna’s cellular connectivity solutions.

Read more...
Local partnership puts demand-side management to work in South Africa
News
Sensor Networks has partnered with European demand-side management specialist ThermoVault to bring advanced load-shifting capabilities to one of the country’s biggest energy consumers: the household geyser.

Read more...
Hisense SA launches year-long learnership programme for youth
News
Hisense SA’s manufacturing plant in Atlantis recently welcomed 100 young people from the local community, to embark on a year-long learnership and skills development programme.

Read more...
Comtest hosts channel partners
Comtest News
Comtest, together with FLUKE, recently set the stage for an unforgettable afternoon as they welcomed over 80 Channel Partners to their annual celebration of excellence.

Read more...
RS South Africa and Qhubeka empower learners through the gift of mobility
RS South Africa News
Through its bicycle donation initiative, 354 bicycles have been distributed to date, empowering students to access education more easily by reducing the physical and economic barriers posed by long daily commutes.

Read more...
Deca and SST announce strategic collaboration
News
The collaboration provides customers with a modular, memory-centric foundation for advanced multi-die architectures.

Read more...
Specialised Exhibitions transitions to new name: Montgomery Group Africa
News
As part of a strategic move to streamline operations, strengthen regional alignment, and support long-term growth, Specialised Exhibitions has transitioned to a new name: Montgomery Group Africa.

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