Land Boards Tindie Store

Features

What is a PSOC?

It is a Programmable System on a Chip. The beauty of the Cypress part is that it includes both analog and digital logic which can be programmed to be whatever you want it to be. In addition, you get a 32-bit ARM processor.

More about the PSoC 5LP

Programable Routing & Interconnect

This frees you to re-route signals to user selected pins, shedding the constraints of a fixed-peripheral controller. In addition, global buses allow for signal multiplexing and logic operations, eliminating the need for a complicated digital-logic gate design.

Configurable Analog and Digital Blocks

The combination of configurable analog and digital circuitry is the basis of the PSoC platform. You configure these blocks using pre-built library functions or by creating your own. By combining several digital blocks, you can create 16-, 24-, or even 32-bit wide logic resources. The analog blocks are composed of an assortment of switch capacitor, op-amp, comparator, ADC, DAC, and digital filter blocks, allowing complex analog signal flows.

CPU Subsystem

PSoC offers a sophisticated CPU subsystem with SRAM , EE PROM, and flash memory, multiple core options and a variety of essential system resources including:

PSoC devices also have dedicated communication interfaces like I2C, Full-Speed USB 2.0, CAN 2.0, and on-chip debugging capabilities using JTAG and Serial Wire Debug.

Example Programming Files

We've got a few examples of files that can get you started. We also provide the pinout files as your starting point for creating your.

How Many Ways Can You Blink the LED on the PI-SOC Hat?

It's a silly question since there are dozens of ways. But here's a few.

Here's the schematic:

What's going on with the 30 LEDs in the video?

That's another simple design.It consists of two counters that are running at 1 Hz. Each of the counters has the same clock but one counts to 14 and the other counts to 16. The output of the counter is sent to a de-multiplexer which takes the 4 bit count and lights each light one at a time.

The other is an ex-or chain of all of the lines from the Raspberry Pi. If a bit change on any of those lines the light changes from off-to-on or on-to-off. That's a fairly visual way to see that the lines are all connected, to the Pi. For our hat test station we'd probably do something similar except we'd use one of the pins as an input to the Pi and let the Pi check by exercising all of the bits, one at a time.

By the way, here's what the main.c looks like. If you note there's nothing to it. The ARM processor on the card is not doing anything. All the work is being done by the gates on the card.

Here's what they rarely show you when you are looking at examples, but you always want to know. How many resources did this function take? Not much. As you'd expect most of the IO pins are tied up but less than half of the logic Product terms are consumed (Unique P-terms). None of the hard-coded specialized functions like I2C, Analog or Timers are used.

Creating the programming file for the PSOC

There is an excellent development environment for the PSOC, PSOC Creator. PSoC Creator is a free Windows-based IDE that includes:

Risks and challenges