Getting Started with PSoC MCUs (Part 3)

Data Conversion, Capacitive Sensing and More

In the previous parts of this series, Nishant laid the groundwork for getting up and running with the PSoC. Here he tackles the chip’s more complex features like Data Conversion and CapSense.

By Nishant Mittal
Systems Engineer, Cypress Semiconductor

In the previous two parts of this “Getting started with PSoC” series, I have hopefully provided you with a good base of knowledge about PSoC devices. Here, in this final part it’s time to get more in depth and discuss various data conversion protocols in PSoC and provide some design examples. I’ll also cover interfacing various peripherals with the Photo 1microcontroller. We’ll also get into how to transition from a bare silicon PSoC chip or PSoC development board to using the chip in your project.

Data conversion with PSoC

Data Conversion is an important block in any kind of instrumentation system or Internet of Things implementation. In fact, any application that uses sensors or interfaces to the external environment is an application in which Data Conversion is an integral part of the system. Although digital sensors are available today, the lower costs of analog sensors shouldn’t be overlooked.

 

PSoC Creator has a Data Conversion component that enables designers to code efficiently with less effort. The photo above shows the screenshot of the ADC (analog-to-digital conversion) component in PSoC Creator. The photo above also shows the configuration setting for ADC. First off, we need to set the Channel sampling rate (SPS). Second, we need to set the voltage reference which is necessary to do the comparison of analog signals. Here we use VDDA/2 or VDDA which is 5 V. You can select whether you For web Figure 1want a single-ended ADC or differential ADC by simply clicking the appropriate tab from the component configuration. Clock source needs to be chosen. If the source is chosen to be internal, the PLL from the internals of chip are used—otherwise you’d have to connect an external crystal to the controller using the development kit CY8CKIT-044. Other advanced settings are available for complex programs—but most of those aren’t needed in most intermediate applications.

Read the full article in the September 326 issue of Circuit Cellar

Not a Subscriber yet? Become one today:

Or purchase the September 2017 issue at the  CC-Webshop

Cypress MCUs Selected for Toyota Camry Instrument Cluster

Cypress Semiconductor has announced that global automotive supplier DENSO has selected Cypress’ Traveo automotive microcontroller (MCU) family and FL-S Serial NOR Flash memory family to drive the advanced graphics in its instrument cluster for the 2017 Toyota Camry. The DENSO instrument cluster uses Traveo devices that Cypress says were the industry’s first 3D-capable ARM Cortex-R5 cluster MCUs.

Denso Instrument Cluster

The FL-S memory in the cluster is based on Cypress’ proprietary MirrorBit NOR Flash process technology, which enables high density serial NOR Flash memory by storing two bits per cell. The DENSO instrument cluster has 4.2- and 7.0-inch screens capable of audio, video and navigation in the center display of the 2017 Toyota Camry.

Cypress works with the world’s top automotive companies to support automotive systems including Advanced Driver Assistance Systems (ADAS), 3-D graphics displays, wireless connectivity, full-featured touchscreens and superior body electronics. Cypress’ automotive portfolio includes the Traveo MCU family, power-management ICs (PMICs), PSoC programmable system-on-chip solutions, CapSense capacitive-sensing solutions, TrueTouch touchscreens, NOR flash, F-RAM and SRAM memories, and USB, Wi-Fi and Bluetooth connectivity solutions. The portfolio is backed by Cypress’ commitment to zero defects, excellent service and adherence to the most stringent industry standards, such as the ISO/TS 16949 quality management system, the Automotive Electronics Council (AEC) guidelines for ICs and the Production Part Approval Process (PPAP).

Cypress Semiconductor | www.cypress.com

Cypress Begins Volume Shipments of MCUs Based on eCT Embedded Flash

Cypress Semiconductor Corp. recently started volume shipments of microcontrollers containing its proprietary 40-nm Embedded Charge-Trap (eCT) Flash manufactured at United Microelectronics Corporation (UMC). The shipments are part of a multiple-year collaboration between Cypress and UMC to integrate Cypress’s flash technology with UMC’s 40-nm Low Power (40LP) logic process.

With a 0.053 µm2 cell size, the eCT Flash macro is capable of 8-ns random access and 30-μs word-programming speed, making it well suited for high-performance applications as well as stringent automotive reliability requirements. The eCT Flash macros are also available for licensing from Cypress.

Source: Cypress Semiconductor

Programmable Analog SoCs for Embedded IoT Apps

Cypress Semiconductor Corp. recently introduced a new PSoC that simplifies the design of next-generation, multiple-sensor systems. Based on a 32-bit ARM Cortex-M0+ signal processing engine, the Analog Coprocessor integrates programmable analog blocks, including a new Universal Analog Block (UAB), which can be configured with GUI-based software components. You can use it  to continuously monitor multiple sensors, such as temperature, humidity, ambient light, motion, and sound. You can handle future design changes to support new sensor types by reconfiguring the programmable analog blocks.Cypress CY8C-KIT

Cypress’s free PSoC Creator Integrated Design Environment (IDE) enables you to design custom sensor interfaces. You can simply configure the programmable analog blocks by dragging and dropping components on the PSoC Creator schematic and customizing them with graphical component configuration tools. The components offer fully engineered embedded initialization, calibration, and temperature correction algorithms.

Available in a 3.7 mm × 2 mm chip-scale package, the PSoC Analog Coprocessor is currently sampling. Production is slated for Q4 2016.

Source: Cypress Semiconductor Corp.

New Programmable Oscillators for Next-Gen Networking Systems

Cypress Semiconductor recently introduced the CY294X high-performance programmable oscillator family. Delivering superb jitter performance and a wide range of output frequencies for embedded systems, the new oscillators offer performance that exceeds the reference clock requirements of high-speed interface standards including 40/100GbE, SyncE, and IEEE 1588.Cypress CY294X High-Performance Programmable Oscillator

Well-suited for networking applications, the CY294X family delivers RMS jitter performance of 110 fs (12 kHz – 20 MHz offset). The family comes with two evaluation kits (CY3676 and CY3677) and programming software (CyClockWizard 2.1).

The CY294X family is currently sampling in 5 mm × 7 mm LCC, 5 mm × 3.2 mm LCC, and 16-pin QFN packages.

Source: Cypress Semiconductor

Cypress Expands Portfolio with New Traveo Automotive Microcontroller Series

Cypress Semiconductor Corp. recently expanded of its automotive portfolio with the first series of its Traveo microcontroller family. The series features up to 4 MB of high-density embedded flash, stepper motor control, TFT display control, advanced sound output capabilities, and support for all in-vehicle networking standards.Cypress Traveo

Otimized for high-end body and gateway systems, the new series provides the ability to embed more on-chip flash memory for advanced applications. In addition, the 40-nm Traveo microcontrollers make it easy to implement Firmware Over-The-Air (FOTA) updates.

The new 40-nm Traveo S6J331X/S6J332X/S6J333X/S6J334X series offers a high-performance platform for classic instrument clusters. Based on the ARM Cortex-R5 processor with 240-MHz performance, it supports the CAN-FD automotive communication protocol for increased data bandwidth for faster networking.

Additionally, Cypress introduced a transceiver for the Clock Extension Peripheral Interface (CXPI) designed to replace the Local Interconnect Network (LIN) automotive communication protocol.

The Traveo S6J331X/S6J332X/S6J333X/S6J334X and S6J335X series is currently sampling and will be in production in the second half of 2016. It is available in 144-pin, 176-pin and 208-pin TEQFP packages.
The S6BT11X CXPI transceiver series is sampling now. It is available in an 8-pin SOP package.

Source: Cypress Semiconductor

Hexoskin Smart Shirt Integreates Cypress EZ-BLE PRoC Module

Hexoskin recently chose Cypress Semiconductor’s Bluetooth Smart-based EZ-BLE PRoC module for use in its Hexoskin Smart biometric-tracking shirts. Hexoskin Smart shirts feature sensors that track cardiac, respiratory, and activity data. The EZ-BLE PRoC module collects this data and pushes it to a mobile device for analysis via the free Hexoskin app or other fitness app. The module’s low power consumption more than doubles the Hexoskin’s battery life. The compact (10 mm × 10 mm × 1.8 mm) EZ-BLE PRoC module complies with wireless regulatory standards in the US, Canada, Europe, Japan, and Korea.Cypress EZ-BLE PRoC Module

The BLE Pioneer Development Kit gives you easy access to the Cypress Bluetooth Low Energy devices. It includes a USB Bluetooth Low Energy dongle that pairs with the CySmart master emulation tool, converting a designer’s Windows PC into a Bluetooth Low Energy debug environment. The EZ-BLE PRoC module can be quickly and easily evaluated with the EZ-BLE PRoC Module Evaluation Board, which plugs into the BLE Pioneer Development Kit ( $49).

Source: Cypress Semiconductor

New SLC NAND Flash Memory Family for High-Security Apps

Cypress Semiconductor Corp. recently announced a high-endurance, 1-to-4-Gb Single-Level Cell (SLC) SecureNAND family that reduces system costs and improves system security. It does this by providing a single nonvolatile memory with integrated block protection features for a variety of high-security applications, such as point-of-sale systems and wearables.Cypress SecureNAND

The SecureNAND family includes 1-Gb S34SL01G2, 2-Gb S34SL02G2, and 4-Gb S34SL04G2 devices. You can configure each device with nonvolatile block protection to store protected boot code, system firmware, and applications. They provide 100,000 program/erase cycles to ensure more than five years of system life. Their operating voltage range is 2.7  to 3.6 V and they support the industrial temperature range of –40° to 85°C.

The currently sampling 1-Gb S34SL01G2, 2-Gb S34SL02G2, and 4-Gb S34SL04G2 SecureNAND devices are available in a 63-BGA package.

Source: Cypress Semiconductor

F-RAM Expands the Density Range of Energy-Efficient Nonvolatile RAMs

Cypress Semiconductor Corp. today introduced a family of 4Mb serial Ferroelectric Random Access Memories (F-RAMs), which are the industry’s highest density serial F-RAMs. The 4-Mb serial F-RAMs feature a 40-MHz SPI, a 2-to-3.6-V operating voltage range and are available in industry-standard, RoHS-compliant package options. All Cypress F-RAMs provide 100 trillion read/write cycle endurance with 10-year data retention at 85˚C and 151 years at 65˚C.Cypress 4Mb Serial F-RAM

Cypress F-RAMs are ideal solutions for applications requiring continuous and frequent high-speed reading and writing of data with absolute data security. The 4-Mb serial F-RAM family addresses mission-critical applications such as industrial controls and automation, industrial metering, multifunction printers, test and measurement equipment, and medical wearables.

The 4-Mb serial F-RAMs are currently sampling in industry-standard 8EIAJ and 8TDFN packages. Production expected in the fourth quarter of 2015.

Source: Cypress Semiconductor

 

Streamlined Touchscreen Design with Application Builder and COMSOL Server

Cypress Semiconductor R&D engineers are creating simulation apps that streamline their touchscreen design processes. To do so, they’re sharing their simulation expertise with colleagues using the Application Builder and COMSOL Server, released with COMSOL Multiphysics simulation software version 5.COMSOL_5.1_COMSOL_Server

With the Application Builder, engineers can create ready-to-use simulation applications that can be implemented across departments, including by product development, sales, and customer service. The Application Builder enables simulation experts to build intuitive simulation apps based on their models directly within the COMSOL environment. COMSOL Server lets them share these apps with colleagues and customers around the globe.

To incorporate advances into touchscreen technology and embedded system products, Cypress simulation engineers use COMSOL for research and design initiatives. Their touchscreens are used in phones and MP3 devices, industrial applications, and more.

Source: COMSOL

 

4-Mb Asynchronous SRAMs with On-Chip Error-Correcting Code

Cypress Semiconductor Corp. recently started sampling 4-Mb asynchronous SRAMs with Error-Correcting Code (ECC). The on-chip ECC feature of the new SRAMs enables them to provide the highest levels of data reliability, without the need for additional error correction chips—simplifying designs and reducing board space. The devices ensure data reliability in a wide variety of industrial, military, communication, data processing, medical, consumer, and automotive applications.

Source: Cypress

Source: Cypress

Soft errors caused by background radiation can corrupt memory content, resulting in a loss of critical data. A hardware ECC block in Cypress’s new asynchronous SRAM family performs all error correction functions inline, without user intervention, delivering best-in-class Soft Error Rate (SER) performance of less than 0.1 FIT/Mb (one FIT is equivalent to one error per billion hours of device operation). The new devices are pin-compatible with current asynchronous fast and low-power SRAMs, enabling customers to boost system reliability while retaining board layout. The 4-Mb SRAMs also include an optional error indication signal that indicates the correction of single-bit errors.

The Cypress 4-Mb asynchronous SRAMs are available in three options—Fast, MoBL and Fast with PowerSnooze—an additional power-saving Deep Sleep mode that achieves 15 µA (max) deep-sleep current for the 4-Mb SRAM. Each of the options is offered in industry standard ×8 and ×16 configurations. The devices operate at multiple voltages (1.8, 3, and 5 V) over –40°C to 85°C (Industrial) and –40°C to +125°C (Automotive-E) temperature ranges.

The new SRAMs are currently sampling in industrial temperature grade, with production expected in July 2015. These devices will be available in RoHS-compliant 32-pin SOIC, 32-pin TSOP II, 36-pin SOJ, 44-pin SOJ, 44-pin TSOP II and 48-ball VFBGA packages.

Source: Cypress 

TrueTouch Capacitive Touchscreen Controllers with Advanced Features

Cypress Semiconductor has introduced the TrueTouch CYTT21X/31X capacitive touchscreen controller family, which is intended to enable smartphones, e-readers, and low-cost tablets to offer several advanced features. The CYTT31X supports input from a passive stylus with a tip as thin as 2.5 mm, which is essential for writing in languages that require enhanced character recognition for reliable text input (e.g., Chinese, Korean and Japanese). The CYTT21X controller supports a face detection feature that prevents unintended touches from accidentally hanging up a call. This feature eliminates the need for IR proximity sensors by using the touchscreen sensor to detect a face 25-mm away.cypress truetouch

The CYTT21X/31X controllers enable ultra-thin form factors by leveraging Cypress’s Single-Layer Independent Multi-touch (SLIM) sensor structures. The controllers provide best-in-class accuracy and linearity for fingers of different sizes and gloves of various materials and thicknesses up to 5 mm, including ski gloves. In addition, they automatically switch between glove, stylus, and finger tracking without requiring you to switch settings. The family offers water rejection and wet finger tracking with immunity to electronic noise generated by aftermarket chargers and displays. The CYTT21X/31X controllers include up to 48 I/Os with an I2C interface and up to 44 I/Os with an I2C and SPI.

The CYTT21X/31X controllers deliver robust immunity to charger noise of up to 35 VPP. The controllers are based on a 32-bit ARM Cortex M-Core processor that is known for high-efficiency MIPS/mW. With Cypress’s DualSense technology to execute both self-capacitance and mutual-capacitance measurements in the same device, TrueTouch solutions offer water rejection and wet finger tracking for seamless performance in real-world conditions, including the presence of rain, condensation, or sweat.

The TrueTouch CYTT21X/31X controllers are currently sampling, with production expected in the second quarter of 2015. The controllers are available in mobile-friendly 44-pin, 48-pin and 56-pin QFN packages.

Source: Cypress Semiconductor

4-PLL Clock Generators for Next-Gen Consumer and Networking Products

Cypress Semiconductor Corp. has announced a new high-performance programmable clock generator family that’s intended to simplify the design of consumer and networking systems. The new CY27410 4-PLL (phase-locked loop) clock generator can generate up to 12 programmable output frequencies on a single chip with superior jitter performance. The clock reduces both board space and BOM costs by consolidating system components to provide a flexible, low-cost solution.CY27410 4-PLL Clock Generator

With support for frequencies up to 700 MHz and RMS phase jitter of 0.7 ps, the CY27410 family supports reference clocks for PCIe 1.0/2.0/3.0, SATA1.0/2.0, 10GbE, and USB1.0/2.0/3.0 peripherals. The devices support on-board programming using I2C interface, adding to design flexibility. They can also store up to eight different configuration settings that are selectable using external digital control pins. The family supports 12 single-ended clock outputs, as well as eight differential output pairs that can be configured as HCSL, LVPECL, LVDS, CML, or LVCMOS outputs. The devices also integrate a unique combination of value-added features that simplify design, including VCXO, glitch-free outputs, EMI-reduction, configurability as a zero or nonzero delay buffer, early/late clocks and PLL cascading.

The CY27410 clocks come with the CY3679 evaluation kit and CyClockWizard 2.0 programming software to help designers create their desired frequencies and to easily check device performance.

The CY27410 clock generators are currently sampling. Production expected in Q2 2015. The devices are available in a 48-pin QFN package.

Source: Cypress Semiconductor

 

CY8CKIT-042-BLE Bluetooth Low Energy Pioneer Kit

At just $49, Cypress Semiconductor’s CY8CKIT-042-BLE Bluetooth Low Energy Pioneer Kit is an affordable tool for creating BLE applications with a PSoC 4 and PRoC BLE devices. The kit supports system-level designs using the PSoC Creator IDE. It is compatible with Arduino shields hardware.IMG_20150106_080852956_HDR

The kit comprises:

  • BLE Pioneer Baseboard preloaded with CY8CKIT-142 PSoC 4 BLE module
  • CY5671 PRoC BLE Module
  • CY5670 – CySmart USB Dongle (BLE Dongle)
  • A quick start guide
  • USB Standard A-to-Mini-B cable
  • Four jumper wires (4 inches) and two proximity sensor wires (5 inches)
  • A coin cell (3-V CR2032)

Source:  Cypress Semiconductor

Cypress Enters Bluetooth Low Energy Market

Cypress Semiconductor announced at Electronica 2014 two integrated, single-chip Bluetooth Low Energy (BLE) solutions for low-power, sensor-based Internet of Things (IoT) systems: the PSoC 4 and PRoC.

Cypress BLE Pioneer Kit

Cypress BLE Pioneer Kit

According to Cypress, the PSoC 4 BLE delivers “unprecedented ease-of-use and integration in a customizable solution for IoT applications, home automation, healthcare equipment, sports and fitness monitors, and other wearable smart devices.” The PRoC (programmable radio-on-chip) is “intended for wireless Human Interface Devices (HIDs), remote controls, and applications that require wireless connectivity.”

Cypress also announced BLE development kits and reference designs.

  • CY8CKIT-042-BLE Development Kit: The kit includes a USB BLE dongle that “pairs with the CySmart master emulation tool, converting a designer’s Windows PC into a Bluetooth LE debug environment.”
  • CY5672 PRoC BLE Remote Control Reference Design Kit: The remote control has a trackpad to detect two- and one-finger gestures and includes a built-in microphone.
  • CY5682 PRoC BLE Touch Mouse Reference Design Kit: The touch mouse reference design includes buttons that map to common user interface shortcuts for Windows 8.

According to Cypress, the PSoC 4 BLE and PRoC BLE solutions are currently sampling in 68-ball CSP and 56-pin QFN packages.  Production is expected in December 2014.

Source: Cypress Semiconductor