Code Example |
Description |
CE195275 |
This code example demonstrates the usage of the Sequencing SAR ADC Component with an injection channel and the Die Temperature Component. The code example uses the Sequencing SAR ADC Component to measure input voltages and die temperature. The measurement results shown in the terminal program on a PC. |
CE195275 - Sequencing SAR ADC and Die Temperature Sensor with PSOC™ 4 |
This code example demonstrates the usage of the Sequencing SAR ADC Component with an injection channel and the Die Temperature Component. The code example uses the Sequencing SAR ADC Component to measure input voltages and die temperature. The measurement results shown in the terminal program on a PC. |
CE195286 |
This example demonstrates how to implement Tuner GUI interface for CapSense design using UART and I2C interfaces in PSOC™ 4 devices. |
CE195286 – PSOC™ 4 CapSense Tuner |
This example demonstrates how to implement Tuner GUI interface for CapSense design using UART and I2C interfaces in PSOC™ 4 devices. |
CE195291 |
This code example shows how to use the Character LCD with the Component Horizontal Bar Graph feature. Example uses the Character LCD Component API to display a horizontal bar graph on the 16x02 character LCD with Hitachi 44780 4-bit interfac |
CE195291 Character LCD Horizontal Bar Graph with PSOC™ 3, PSOC™ 4, and PSOC™ 5LP |
This code example shows how to use the Character LCD with the Component Horizontal Bar Graph feature. Example uses the Character LCD Component API to display a horizontal bar graph on the 16x02 character LCD with Hitachi 44780 4-bit interfac |
CE195293 |
This code example demonstrates the PSOC™ 4 Comparator Component in the Inverting polarity and calibrating feature. This code example uses the Comparator Component to compare input voltages and the Analog Mux Component to switch the comparator_x005Fs inputs between operation and calibration modes. Calibration mode is used to minimize the Comparator's input voltage offset. The Comparator_x005Fs output value is shown using a LED. |
CE195293_Analog_Voltage_Comparator_PSOC™4 |
This code example demonstrates the PSOC™ 4 Comparator Component in the Inverting polarity and calibrating feature. This code example uses the Comparator Component to compare input voltages and the Analog Mux Component to switch the comparator_x005Fs inputs between operation and calibration modes. Calibration mode is used to minimize the Comparator's input voltage offset. The Comparator_x005Fs output value is shown using a LED. |
CE195297 |
This code example demonstrates how to use the 1.2-V Comparator and Analog Multiplexer Components to select the input voltage source. This code example uses one 1.2-V Comparator to compare input voltages from two sources to internal reference. The firmware sequentially switches the input channels to the comparators_x005F input and shows results of the voltage comparison using LEDs. |
CE195297 PSOC™4000 1 2V Comparator AnalogMux |
This code example demonstrates how to use the 1.2-V Comparator and Analog Multiplexer Components to select the input voltage source. This code example uses one 1.2-V Comparator to compare input voltages from two sources to internal reference. The firmware sequentially switches the input channels to the comparators_x005F input and shows results of the voltage comparison using LEDs. |
CE195313 (PSOC™ Creator) |
This example demonstrates how to use the Em_EEPROM driver and Component in PSOC™ 4, PSOC™ 5LP, and PSOC™ 6 MCU devices. |
CE195313 PSOC™ Emulated EEPROM (PSOC™ Creator) |
This example demonstrates how to use the Em_EEPROM driver and Component in PSOC™ 4, PSOC™ 5LP, and PSOC™ 6 MCU devices. |
CE195321 |
This code example demonstrates how to enter and wake up from Hibernate and Stop low-power modes with PSOC™ 4. |
CE195321 Hibernate and Stop PowerModes PSOC™4 |
This code example demonstrates how to enter and wake up from Hibernate and Stop low-power modes with PSOC™ 4. |
CE195325 |
This code example demonstrates how to use the I2C LCD Component with the NXP PCF2119x-compatible LCD modules. It also demonstrates the usage of address macros and custom commands. |
CE195325 I2C LCD with PSOC™4 |
This code example demonstrates how to use the I2C LCD Component with the NXP PCF2119x-compatible LCD modules. It also demonstrates the usage of address macros and custom commands. |
CE195348 |
This example shows how to use a PSOC™ Creator PrISM Component, which provides modulation technology. |
CE195348 - PrISM |
This example shows how to use a PSOC™ Creator PrISM Component, which provides modulation technology. |
CE195354 |
This code example demonstrates the usage of Quadrature Decoder mode in the PSOC™ 4 TCPWM Component. |
CE195354_PSOC™4_Quadrature_Decoder |
This code example demonstrates the usage of Quadrature Decoder mode in the PSOC™ 4 TCPWM Component. |
CE195362 |
This code example demonstrates the basic usage of the EZI2C Slave Component. EZI2C Component: - receives packets with commands that control the RGB LED color - provides a status register for the master; the register contains the command execution result - success or fail. |
CE195362 - PSOC™ 4 EZI2C Slave with Serial Communication Block (SCB) |
This code example demonstrates the basic usage of the EZI2C Slave Component. EZI2C Component: - receives packets with commands that control the RGB LED color - provides a status register for the master; the register contains the command execution result - success or fail. |
CE195379 |
This code example uses the Software Transmit UART Component to send test data to the terminal program on a PC. |
CE195379_Software_Transmit_UART_PSOC™3_4_5LP |
This code example uses the Software Transmit UART Component to send test data to the terminal program on a PC. |
CE195915 |
This code example demonstrates the implementation of a real-time clock (RTC) with PSOC™ 4100 and PSOC™ 4200 devices. |
CE202479 PSOC™ 4 Capacitive Liquid Level Sensing |
This code example demonstrates how to use PSOC™ 4, CapSense technology, and capacitive sensors to measure the depth or presence of water-based liquids in non-conductive containers. Sensors located on or near the container's exterior provide real-time reporting of liquid level. Many options exist to use low-cost materials to construct and integrate the sensors while still providing high-precision measurements |
CE202479 PSOC™ 4 Capacitive Liquid Level Sensing |
This code example demonstrates how to use PSOC™ 4, CapSense technology, and capacitive sensors to measure the depth or presence of water-based liquids in non-conductive containers. Sensors located on or near the container's exterior provide real-time reporting of liquid level. Many options exist to use low-cost materials to construct and integrate the sensors while still providing high-precision measurements |
CE203972 - PSOC™ CY8C4Axx Comparator with Programmable Voltage Reference(PSOC™ Creator) |
This code example uses a programmable voltage reference and a single comparator to determine if an input voltage is between two specified voltages. |
CE203972(PSOC™ Creator) |
This code example uses a programmable voltage reference and a single comparator to determine if an input voltage is between two specified voltages. |
CE204022 PSOC™ 4 IDAC7 Sawtooth Waveform Generator |
This code example shows the user the basics of using the IDAC7 found in some PSOC™ 4 devices. A simple sawtooth or voltage ramp waveform is generated using the IDAC7 current Digital to Analog converter. |
CE204022 PSOC™ 4 IDAC7 Sawtooth Waveform Generator |
This code example shows the user the basics of using the IDAC7 found in some PSOC™ 4 devices. A simple sawtooth or voltage ramp waveform is generated using the IDAC7 current Digital to Analog converter. |
CE204024 PSOC™ CY8C4Axx Programmable Gain Amplifier |
This example demonstrates how to use the adjustable gain feature of the PGA component in PSOC™ CY8C4Axx devices, during runtime. |
CE204024 PSOC™ CY8C4Axx Programmable Gain Amplifier |
This example demonstrates how to use the adjustable gain feature of the PGA component in PSOC™ CY8C4Axx devices, during runtime. |
CE204087 |
This code example demonstrates the interface of SPI nvSRAM/F-RAM device with PSOC™ 3/5 controller. |
CE204087 Interfacing SPI nvRAM with PSOC™ 3 / PSOC™ 5LP |
This code example demonstrates the interface of SPI nvSRAM/F-RAM device with PSOC™ 3/5 controller. |
CE209974 – Breathing LED with Smart I/O |
This example demonstrates the flexibility of PSOC™ 4 Smart IO, by implementing a breathing LED effect exclusively in hardware, with no CPU usage beyond initialization. |
CE209974 – Breathing LED with Smart I/O |
This example demonstrates the flexibility of PSOC™ 4 Smart IO, by implementing a breathing LED effect exclusively in hardware, with no CPU usage beyond initialization. |
CE209975 - Clock Buffer with Smart I/O |
This example shows how to use a Smart I/O Component in PSOC™ 4 to implement a clock buffer that can operate in chip low power modes. It can also be used to drive a heavier load than one GPIO is rated for by replicating the signal and driving two pins. |
CE209975 - Clock Buffer with Smart I/O |
This example shows how to use a Smart I/O Component in PSOC™ 4 to implement a clock buffer that can operate in chip low power modes. It can also be used to drive a heavier load than one GPIO is rated for by replicating the signal and driving two pins. |
CE209976 SPI Slave Select Inversion with Smart I/O |
CE209976 SPI Slave Select Inversion with Smart I/O |
CE209976 SPI Slave Select Inversion with Smart I/O |
CE209976 SPI Slave Select Inversion with Smart I/O |
CE210197 |
This code example demonstrates how to set the Component options for adjustable voltage reference and how to set different reference voltages in the firmware. |
CE210197 Adjustable Reference Comparator |
This code example demonstrates how to set the Component options for adjustable voltage reference and how to set different reference voltages in the firmware. |
CE210289 |
This code example shows how to configure and use the CapSense linear slider. InThis example, the linear slider sends sensor data and slider position information to the embedded CapSense Tuner GUI using I2C communication. The code example demonstrates the use of APIs, which enables quick design creation. The Tuner GUI provides quick and easy device monitoring. |
CE210289 PSOC™4 CapSense Linear Slider |
This code example shows how to configure and use the CapSense linear slider. InThis example, the linear slider sends sensor data and slider position information to the embedded CapSense Tuner GUI using I2C communication. The code example demonstrates the use of APIs, which enables quick design creation. The Tuner GUI provides quick and easy device monitoring. |
CE210290 |
This code example demonstrates implementation of a low-power CapSense system by ganging a five-segment linear slider. |
CE210290 PSOC™ 4 CapSense Low-Power Ganged Sensor |
This code example demonstrates implementation of a low-power CapSense system by ganging a five-segment linear slider. |
CE210291 |
This code example implements a CapSense button. Using the low-power modes available in the PSOC™ device, an average current of 6 µA is achieved for a button sensor when no touch is present. The example supports a CapSense tuner to read the CapSense debug data such as raw count, baseline, and difference count. |
CE210291 PSOC™ 4 CapSense One Button |
This code example implements a CapSense button. Using the low-power modes available in the PSOC™ device, an average current of 6 µA is achieved for a button sensor when no touch is present. The example supports a CapSense tuner to read the CapSense debug data such as raw count, baseline, and difference count. |
CE210292 |
This code example demonstrates how to use Watchdog Timer (WDT) to reset the device and to periodically generate interrupts. |
CE210292 - PSOC™ 4S Watchdog Timer |
This code example demonstrates how to use Watchdog Timer (WDT) to reset the device and to periodically generate interrupts. |
CE210311 - CapSense ADC Sequential |
This code example demonstrates how to use the CapSense_ADC Component to scan CapSense sensors and measure the input voltage on any pin. |
CE210311 CapSense ADC Sequential |
This code example demonstrates how to use the CapSense_ADC Component to scan CapSense sensors and measure the input voltage on any pin. |
CE210383 |
This example demonstrates how to use PSOC™ 3, PSOC™ 4, PSOC™ 5LP, or PSOC™ Analog Coprocessor devices to measure temperature using an RTD. |
CE210383 PSOC™ Temperature Sensing with an RTD |
This example demonstrates how to use PSOC™ 3, PSOC™ 4, PSOC™ 5LP, or PSOC™ Analog Coprocessor devices to measure temperature using an RTD. |
CE210486 USB HID Trackpad |
This code example implements a CapSense trackpad and interfaces the trackpad as a USB Mouse Human Interface Device (HID) to a Windows PC. |
CE210486 USB HID Trackpad |
This code example implements a CapSense trackpad and interfaces the trackpad as a USB Mouse Human Interface Device (HID) to a Windows PC. |
CE210487 ADC with Breathing LED |
This code example demonstrates how to measure an input voltage using the CapSense_ADC Component on a PSOC™ 4 S-Series device. |
CE210487 ADC with Breathing LED |
This code example demonstrates how to measure an input voltage using the CapSense_ADC Component on a PSOC™ 4 S-Series device. |
CE210488 LP CapSense Buttons |
This code example demonstrates how to implement low-power CapSense buttons with an average current consumption of 5 uA per button. |
CE210488 LP CapSense Buttons |
This code example demonstrates how to implement low-power CapSense buttons with an average current consumption of 5 uA per button. |
CE210514 PSOC™ 3 PSOC™ 4 and PSOC™ 5LP Temperature Sensing with a Thermistor |
This example demonstrates how to use PSOC™ 3, PSOC™ 4, or PSOC™ 5LP to measure temperature using a thermistor. |
CE210514 PSOC™ 3, PSOC™ 4, and PSOC™ 5LP Temperature Sensing with a Thermistor |
This example demonstrates how to use PSOC™ 3, PSOC™ 4, or PSOC™ 5LP to measure temperature using a thermistor. |
CE210558 PSOC™ 4 GPIO Interrupt |
This example demonstrates how to set up PSOC™ 4 GPIO interrupts. It also shows how to create your own interrupt handler function (ISR) instead of using the default ISR generated by PSOC™ Creator. |
CE210558 PSOC™ 4 GPIO Interrupt |
This example demonstrates how to set up PSOC™ 4 GPIO interrupts. It also shows how to create your own interrupt handler function (ISR) instead of using the default ISR generated by PSOC™ Creator. |
CE210741 |
This code example demonstrates the operation of the UART Component in full duplex mode with PSOC™ 3, PSOC™ 4, and PSOC™ 5LP. It also shows how to use the external interrupt (schematic interrupt) and printf() function. |
CE210741 UART Full Duplex and printf Support with PSOC™ 3/4/5LP |
This code example demonstrates the operation of the UART Component in full duplex mode with PSOC™ 3, PSOC™ 4, and PSOC™ 5LP. It also shows how to use the external interrupt (schematic interrupt) and printf() function. |
CE210988 |
This example project is based on a PSOC™ Creator starter design for the PSOC™ 4 device. It demonstrates how F-RAM can be used with the PSOC™ to capture and log the analog routing capability of PSOC™ 4 in the real time. InThis project, every input has corresponding dedicated feedback networks and hence different gains. You can change the active channel by pressing a switch. In addition, the data is recorded to the on-board F-RAM device that implements a rolling buffer. |
CE210988 CY8CKIT 042 BLE FRAM Data Logger |
This example project is based on a PSOC™ Creator starter design for the PSOC™ 4 device. It demonstrates how F-RAM can be used with the PSOC™ to capture and log the analog routing capability of PSOC™ 4 in the real time. InThis project, every input has corresponding dedicated feedback networks and hence different gains. You can change the active channel by pressing a switch. In addition, the data is recorded to the on-board F-RAM device that implements a rolling buffer. |
CE211181 |
CE211181 |
CE211181 - BLE HTTP Proxy Code Examples with PSOC™ 4 BLE |
CE211181 - BLE HTTP Proxy Code Examples with PSOC™ 4 BLE |
CE211245 BLE Indoor Positioning |
This BLE example project demonstrates how to create an indoor navigation system using the BLE broadcasting mode that can be configured over GATT connection. |
CE211245 Bluetooth Low Energy (BLE) Indoor Positioning |
This BLE example project demonstrates how to create an indoor navigation system using the BLE broadcasting mode that can be configured over GATT connection. |
CE211252 Interfacing the PSOC™ Analog Coprocessor with an Ambient Light Sensor |
This code example demostrates how to create an analog front end interface for a current-output ambient light sensor using the PSOC™ Analog Coprocessor |
CE211252 Interfacing the PSOC™ Analog Coprocessor with an Ambient Light Sensor |
This code example demostrates how to create an analog front end interface for a current-output ambient light sensor using the PSOC™ Analog Coprocessor |
CE211283 My First PSOC™ Analog Coprocessor Design |
This example demonstrates the features of PSOC™ Analog Coprocessor by designing an analog front end (AFE) for an ambient light sensor (ALS). |
CE211283 My First PSOC™ Analog Coprocessor Design |
This example demonstrates the features of PSOC™ Analog Coprocessor by designing an analog front end (AFE) for an ambient light sensor (ALS). |
CE211301 Interfacing the PSOC™ Analog Coprocessor with a PIR Motion Sensor |
This code example demostrates how to create an analog front end interface for a voltage-output PIR motion sensor using the PSOC™ Analog Coprocessor |
CE211301 Interfacing the PSOC™ Analog Coprocessor with a PIR Motion Sensor |
This code example demostrates how to create an analog front end interface for a voltage-output PIR motion sensor using the PSOC™ Analog Coprocessor |
CE211305 – Interfacing PSOC™ Analog Coprocessor with an Inductive Proximity Sensor |
This code example demostrates how to create an analog front end interface for a inductive-output proximity or metal contact sensor using the PSOC™ Analog Coprocessor |
CE211305 Interfacing PSOC™ Analog Coprocessor with an Inductive Proximity Sensor |
This code example demostrates how to create an analog front end interface for a inductive-output proximity or metal contact sensor using the PSOC™ Analog Coprocessor |
CE211321 Interfacing the PSOC™ Analog Coprocessor with a Temperature Sensor |
This code example demonstrates how to implement an analog front end (AFE) for a thermistor, using the PSOC™ Analog Coprocessor. |
CE211322 Interfacing the PSOC™ Analog Coprocessor with a Humidity Sensor |
This code example demostrates how to create an analog front end interface for a capacitive-output humidity sensor using the PSOC™ Analog Coprocessor |
CE211322 Interfacing the PSOC™ Analog Coprocessor with a Humidity Sensor |
This code example demostrates how to create an analog front end interface for a capacitive-output humidity sensor using the PSOC™ Analog Coprocessor |
CE214025 Trackpad With Color Gamut |
This code example implements a CapSense based trackpad as a user interface to input the required color for the color-mixing algorithm. |
CE214025 Trackpad With Color Gamut |
This code example implements a CapSense based trackpad as a user interface to input the required color for the color-mixing algorithm. |
CE216873 ADC with Breathing LED |
This code example demonstrates how to measure an input voltage using the Sequencing successive approximation register analog-to-digital converter (SAR ADC) Component on a PSOC™ 4100S device. The ADC output value is used to control the breathing rate of an RGB LED using the Smart IO Component. The ADC value is also sent over I2C to the KitProg2 programmer, which is accessible on PC. |
CE216873 ADC with Breathing LED |
This code example demonstrates how to measure an input voltage using the Sequencing successive approximation register analog-to-digital converter (SAR ADC) Component on a PSOC™ 4100S device. The ADC output value is used to control the breathing rate of an RGB LED using the Smart IO Component. The ADC value is also sent over I2C to the KitProg2 programmer, which is accessible on PC. |
CE216892 USB-HID Trackpad |
This code example implements a CapSense trackpad and interfaces the trackpad as a USB Mouse Human Interface Device (HID) to a Windows PC. |
CE216892 USB-HID Trackpad |
This code example implements a CapSense trackpad and interfaces the trackpad as a USB Mouse Human Interface Device (HID) to a Windows PC. |
CE220499 |
This code example provides details on Serial NVRAM Component configuration to access SPI F-RAM using PSOC™ 4. This document also discusses the hardware and software setup and its configuration to execute the associated example project and validate results. |
CE220499 - Interfacing the SPI F-RAM with PSOC™ 4 |
This code example provides details on Serial NVRAM Component configuration to access SPI F-RAM using PSOC™ 4. This document also discusses the hardware and software setup and its configuration to execute the associated example project and validate results. |
CE220500 |
This code example provides details on Serial NVRAM Component configuration to access the I2C F-RAM using PSOC™ 4. This document also discusses the hardware and software setup and its configuration to execute the associated example project and validate results. |
CE220500 - Interfacing the I2C F-RAM with PSOC™ 4 |
This code example provides details on Serial NVRAM Component configuration to access the I2C F-RAM using PSOC™ 4. This document also discusses the hardware and software setup and its configuration to execute the associated example project and validate results. |
CE221653 |
This code example demonstrates the basic operation of the PSOC™ Creator Bootloader and Bootloadable Components. The code example consists of two projects: - Bootloader _x005F provides the ability to update the firmware via an I2C interface without using an external programmer. - Bootloadable _x005F an example of a user application that the Bootloader downloads and installs. |
CE221653 PSOC™ 4 Bootloader and Bootloadable |
This code example demonstrates the basic operation of the PSOC™ Creator Bootloader and Bootloadable Components. The code example consists of two projects: - Bootloader _x005F provides the ability to update the firmware via an I2C interface without using an external programmer. - Bootloadable _x005F an example of a user application that the Bootloader downloads and installs. |
CE222306 |
This code example demonstrates the basic usage of the PSOC™ 4 Serial Communication Block (SCB) Component in I2C Master and I2C Slave modes. |
CE222306 - PSOC™ 4 I2C Communication with Serial Communication Block (SCB) |
This code example demonstrates the basic usage of the PSOC™ 4 Serial Communication Block (SCB) Component in I2C Master and I2C Slave modes. |
CE222867 - MagSense with Feedback LEDs |
This code example demonstrates inductive sensing for buttons and proximity using CY8CKIT-148 PSOC™ 4700S Inductive Sensing Evaluation Kit. |
CE222867 - MagSense With Feedback LEDs |
This code example demonstrates inductive sensing for buttons and proximity using CY8CKIT-148 PSOC™ 4700S Inductive Sensing Evaluation Kit. |
CE223618 PIR Motion Sensing |
This code example demonstrates how to implement an analog front end (AFE) for a Pyroelectric Infrared (PIR) motion sensor, using the PSOC™ 4100PS family of devices. |
CE223620 Humidity Sensing |
This code example demonstrates how to implement an analog front end (AFE) for a humidity sensor, using PSOC™ 4. |
CE223621 Temperature Sensing |
This code example demonstrates how to implement an analog front end (AFE) for a thermistor using PSOC™ 4100PS. |
CE223693 Sine Wave Generation |
This code example demonstrates how to generate a sine wave using the VDAC Component of PSOC™ 4100PS. |
CE223818 |
This document is a code example demonstrates the use of the Switched Capacitor Filter Component in band-pass and low-pass configurations in PSOC™ Analog Coprocessor. |
CE223818 PSOC™ Analog Coprocessor Switched Capacitor Filter |
This document is a code example demonstrates the use of the Switched Capacitor Filter Component in band-pass and low-pass configurations in PSOC™ Analog Coprocessor. |
CE224339 |
This example shows how to use a PSOC™ Creator Serial Communication Block (SCB) Component configured in SPI mode as a master in a PSOC™ 4 device. This example demonstrates polling, interrupt, and DMA methods. |
CE224339 - PSOC™ 4 SPI Master |
This example shows how to use a PSOC™ Creator Serial Communication Block (SCB) Component configured in SPI mode as a master in a PSOC™ 4 device. This example demonstrates polling, interrupt, and DMA methods. |
CE224406 |
This example shows how to use the PSOC™ Creator Serial Communication Block (SCB) Component configured as a UART in a PSOC™ 4 device. |
CE224406 - PSOC™ 4 UART |
This example shows how to use the PSOC™ Creator Serial Communication Block (SCB) Component configured as a UART in a PSOC™ 4 device. |
CE224431 |
This code example shows how to re-direct and use the printf() function for sending data, using a PSOC™ Creator SCB, and component configured as a UART in a PSOC™ 4 device. |
CE224431 - PSOC™ 4 UART printf |
This code example shows how to re-direct and use the printf() function for sending data, using a PSOC™ Creator SCB, and component configured as a UART in a PSOC™ 4 device. |
CE224463 |
This example shows how to use the PSOC™ Creator Serial Communication Block (SCB) Component configured in SPI mode as a slave in a PSOC™ 4 device. This example demonstrates polling, interrupt, and DMA methods. |
CE224463 - PSOC™ 4 SPI Slave |
This example shows how to use the PSOC™ Creator Serial Communication Block (SCB) Component configured in SPI mode as a slave in a PSOC™ 4 device. This example demonstrates polling, interrupt, and DMA methods. |
CE224593 |
This example shows how to use the PSOC™ Creator Timer Counter Pulse Width Modulator (TCPWM) Component configured as a PWM in a PSOC™ 4 device. |
CE224593 - PSOC™ 4 PWM |
This example shows how to use the PSOC™ Creator Timer Counter Pulse Width Modulator (TCPWM) Component configured as a PWM in a PSOC™ 4 device. |
CE224594 |
This example shows how to use the PSOC™ Creator Timer Counter Pulse Width Modulator (TCPWM) Component configured as a Counter/Timer in a PSOC™ 4 device. |
CE224594 - PSOC™ 4 Timer/Counter |
This example shows how to use the PSOC™ Creator Timer Counter Pulse Width Modulator (TCPWM) Component configured as a Counter/Timer in a PSOC™ 4 device. |
CE224599 |
This code example demonstrates the basic usage of the PSOC™ 4 Serial Communication Block (SCB) Component in I2C Slave mode. Two projects demonstrate different methods for receiving data from an I2C master. One project demonstrates polling for data from the master and the other project demonstrates an interrupt based receive. |
CE224599 - PSOC™ 4 I2C Slave with Serial Communication Block (SCB) |
This code example demonstrates the basic usage of the PSOC™ 4 Serial Communication Block (SCB) Component in I2C Slave mode. Two projects demonstrate different methods for receiving data from an I2C master. One project demonstrates polling for data from the master and the other project demonstrates an interrupt based receive. |
CE224625 |
This code example shows how to use a PSOC™ Creator Voltage Comparator Component with an Analog Multiplexer (Mux) Component, and how to use a Scanning Comparator Component. |
CE224625 - PSOC™ 4 Multiplexed and Scanning Comparators |
This code example shows how to use a PSOC™ Creator Voltage Comparator Component with an Analog Multiplexer (Mux) Component, and how to use a Scanning Comparator Component. |
CE224703 |
This code example shows how to use a watchdog timer (WDT) to initiate system reset in a PSOC™ 4 device. (CE224703 - PSOC™ 4 WatchDog Timer) |
CE224703 - PSOC™ 4 WatchDog Timer |
This code example shows how to use a watchdog timer (WDT) to initiate system reset in a PSOC™ 4 device. (CE224703 - PSOC™ 4 WatchDog Timer) |
CE224719 |
This code example shows different methods to debounce a switch using both firmware and hardware. PSOC™ Creator Debouncer & Glitch Filter Components are shown in examples. |
CE224719 – PSOC™ 4 Debouncer and Glitch Filter |
This code example shows different methods to debounce a switch using both firmware and hardware. PSOC™ Creator Debouncer & Glitch Filter Components are shown in examples. |
CE224734 |
This BLE example project demonstrates how to create an object transfer and object managing system using Infineon BLE Component APIs and application layer callback of Object Transfer Profile (OTP) on the CY8CKIT-042-BLE PSOC™ 4 Pioneer Kit. |
CE224734 - Bluetooth Low Energy (BLE) Object Transfer Client / Server Code Examples with PSOC™ 4 BLE |
This BLE example project demonstrates how to create an object transfer and object managing system using Infineon BLE Component APIs and application layer callback of Object Transfer Profile (OTP) on the CY8CKIT-042-BLE PSOC™ 4 Pioneer Kit. |
CE224787 |
This code example shows how to use the Lookup Table (LUT) Component on a PSOC™ 4 device. (CE224787 _x005F PSOC™ 4 Lookup Table |
CE224787 – PSOC™ 4 Lookup Table |
This code example shows how to use the Lookup Table (LUT) Component on a PSOC™ 4 device. (CE224787 _x005F PSOC™ 4 Lookup Table |
CE224820 |
This code example demonstrates the implementation of gesture detection on a CapSense linear slider using the CapSense Component in PSOC™ Creator. |
CE224820 - PSOC™ 4 CapSense Slider and Gestures |
This code example demonstrates the implementation of gesture detection on a CapSense linear slider using the CapSense Component in PSOC™ Creator. |
CE224821 |
This code example demonstrates gesture detection in PSOC™ 4 with a CapSense touchpad using the PSOC™ Creator CapSense Component. |
CE224821 - PSOC™ 4 CapSense Touchpad with Gestures |
This code example demonstrates gesture detection in PSOC™ 4 with a CapSense touchpad using the PSOC™ Creator CapSense Component. |
CE224891 |
This code example shows how to use the Count7 Component as a down counter on a PSOC™ 4 device. (CE224891 - PSOC™ 4 Down Counter 7-bit) |
CE224891 – PSOC™ 4 Down Counter 7-bit |
This code example shows how to use the Count7 Component as a down counter on a PSOC™ 4 device. (CE224891 - PSOC™ 4 Down Counter 7-bit) |
CE224899 |
This code example demonstrates how to use the PSOC™ Creator CapSense Component to implement CSD and CSX sensing on the same device, and how to use CSD and CSX sensing on the same sensor. |
CE224899 - PSOC™ 4 Hybrid Sensing Using CapSense |
This code example demonstrates how to use the PSOC™ Creator CapSense Component to implement CSD and CSX sensing on the same device, and how to use CSD and CSX sensing on the same sensor. |
CE225409 |
This code example demonstrates using the PSOC™ Creator MagSense Component in PSOC™ 4700S series devices to interface and process the sensor data from inductive sensing circuits on the CY8CKIT-148-COIL kit. |
CE225409 PSOC™ 4700S MagSense COIL |
This code example demonstrates using the PSOC™ Creator MagSense Component in PSOC™ 4700S series devices to interface and process the sensor data from inductive sensing circuits on the CY8CKIT-148-COIL kit. |
CE225691 |
This code example demonstrates a proximity sensor and CapSense tuner using the PSOC™ Creator CapSense Component with PSOC™ 4. |
CE225691 - PSOC™ 4 CapSense Proximity |
This code example demonstrates a proximity sensor and CapSense tuner using the PSOC™ Creator CapSense Component with PSOC™ 4. |
CE227719 |
This example demonstrates the use of the multi-frequency scan feature of CapSense for PSOC™ 4 devices. It demonstratesThis feature for both CSD (self-capacitance) and CSX (mutual-capacitance) designs. The code scans all the buttons and sliders on the CY8CKIT-149 and drives the LEDs depending on the button and slider touch status. The code also sends the CapSense raw data over an I2C interface to the on-board KitProg, which in turn enables reading the data from CapSense Tuner GUI or Bridge Control Panel. The CapSense Tuner and Bridge control Panel are used to observe the changes when the multi-frequency scan feature is enabled. |
CE227719 CapSense with Multi-Frequency Scan |
This example demonstrates the use of the multi-frequency scan feature of CapSense for PSOC™ 4 devices. It demonstratesThis feature for both CSD (self-capacitance) and CSX (mutual-capacitance) designs. The code scans all the buttons and sliders on the CY8CKIT-149 and drives the LEDs depending on the button and slider touch status. The code also sends the CapSense raw data over an I2C interface to the on-board KitProg, which in turn enables reading the data from CapSense Tuner GUI or Bridge Control Panel. The CapSense Tuner and Bridge control Panel are used to observe the changes when the multi-frequency scan feature is enabled. |
CE228696 |
This code example demonstrates the implementation of a simple Bluetooth Low Energy (BLE) Immediate Alert Service (IAS)-based Find Me profile using PSOC™ 4 MCU with BLE Connectivity. |
CE228696 - PSOC™ 4 BLE Find Me |
This code example demonstrates the implementation of a simple Bluetooth Low Energy (BLE) Immediate Alert Service (IAS)-based Find Me profile using PSOC™ 4 MCU with BLE Connectivity. |
CE228931 |
This code example demonstrates how to manually tune a mutual capacitance (CSX)-based button widget in PSOC™ 4 devices using CapSense Tuner GUI. |
CE228931 - PSOC™ 4 CapSense CSX Tuning |
This code example demonstrates how to manually tune a mutual capacitance (CSX)-based button widget in PSOC™ 4 devices using CapSense Tuner GUI. |
CE229140 |
This example demonstrates the custom methods to detect stuck conditions, like those resulting from temperature, humidity, or other environment changes, and to recover from them by resetting the CapSense baseline. |
CE229140 PSOC™ 4 CapSense Custom Baseline Reset |
This example demonstrates the custom methods to detect stuck conditions, like those resulting from temperature, humidity, or other environment changes, and to recover from them by resetting the CapSense baseline. |
CE229162 |
This example demonstrates custom methods to decrease baseline update rate in CapSense Component. This enables implementing features like gesture with very slow baseline update rate. |
CE229162 PSOC™ 4 CapSense Custom Baseline Update |
This example demonstrates custom methods to decrease baseline update rate in CapSense Component. This enables implementing features like gesture with very slow baseline update rate. |
CE229279 |
Custom scanning provides fine control over sensor parameters and helps in adjusting the sensitivity for various sensors within a widget. Custom scanning of CapSense sensors might be required for some very specific applications such as: 1. Changing the inactive sensor connection based on the sensor being currently scanned 2. Setting different tuning parameters for various sensors within a widget 3. Optimizing the sensor performance by disabling source of noise when the affected sensors are being scanned This example demonstrates the custom scanning capability of CapSense using callback functions with the linear slider implementation. InThis code example, sensors which are near the sensor being scanned are connected to the shield, while other sensors are connected to ground. This provides liquid tolerance and reduced parasitic capacitance of the sensor as well as the shield. It also decreases emissions because the entire slider segment is not always being switched with high-frequency shield signals. |
CE229279 CapSense Custom Scan |
Custom scanning provides fine control over sensor parameters and helps in adjusting the sensitivity for various sensors within a widget. Custom scanning of CapSense sensors might be required for some very specific applications such as: 1. Changing the inactive sensor connection based on the sensor being currently scanned 2. Setting different tuning parameters for various sensors within a widget 3. Optimizing the sensor performance by disabling source of noise when the affected sensors are being scanned This example demonstrates the custom scanning capability of CapSense using callback functions with the linear slider implementation. InThis code example, sensors which are near the sensor being scanned are connected to the shield, while other sensors are connected to ground. This provides liquid tolerance and reduced parasitic capacitance of the sensor as well as the shield. It also decreases emissions because the entire slider segment is not always being switched with high-frequency shield signals. |
CE229487 |
This example shows two different ways for PSOC™ 4 CapSense structure access: predefined macros that point to variables in the CapSense data structure, and CapSense GetParam() and SetParam() functions. This example assumes that you are familiar with CapSense design. |
CE229487 - PSOC™ 4 CapSense Structure Access |
This example shows two different ways for PSOC™ 4 CapSense structure access: predefined macros that point to variables in the CapSense data structure, and CapSense GetParam() and SetParam() functions. This example assumes that you are familiar with CapSense design. |
CE229521 |
This example demonstrates how to manually tune a CSD-based slider using CapSense Tuner GUI. This document includes: A high-level overview of the CSD slider widget tuning flow. An example to manually tune a CSD slider widget. A procedure on how to use the CapSense Tuner GUI to monitor the CapSense raw data and fine-tune the CSD slider for optimum performance such as response time and linearity. The code scans a slider widget using the CSD sensing method and sends the CapSense raw data over an I2C interface to the CapSense Tuner GUI tool on a PC using the onboard KitProg USB-I2C bridge. |
CE229521 - PSOC™ 4 CapSense CSD Slider Tuning |
This example demonstrates how to manually tune a CSD-based slider using CapSense Tuner GUI. This document includes: A high-level overview of the CSD slider widget tuning flow. An example to manually tune a CSD slider widget. A procedure on how to use the CapSense Tuner GUI to monitor the CapSense raw data and fine-tune the CSD slider for optimum performance such as response time and linearity. The code scans a slider widget using the CSD sensing method and sends the CapSense raw data over an I2C interface to the CapSense Tuner GUI tool on a PC using the onboard KitProg USB-I2C bridge. |
CE230991 |
This example (as shown in AN79953) blinks two LEDs using a TCPWM Component. The TCPWM is configured in PWM mode. The two complementary outputs ofThis PWM control the LEDs. |
CE230991 - Getting Started With PSOC™ 4 |
This example (as shown in AN79953) blinks two LEDs using a TCPWM Component. The TCPWM is configured in PWM mode. The two complementary outputs ofThis PWM control the LEDs. |
CE95272 |
This code example demonstrates the use of two op-amps as a differential amplifier, and the use of Sequencing SAR ADC to read from either a differential or single-ended input. |
CE95272 PSOC™ 4 SAR ADC and Differential Amplifier |
This code example demonstrates the use of two op-amps as a differential amplifier, and the use of Sequencing SAR ADC to read from either a differential or single-ended input. |
CE95275 |
This project demonstrates two channel measurements by the PSOC™ 4 sequencing SAR ADC, transferring results to the LCD and PWM using an ISR. |
CE95285 - CapSense CSD with PSOC™ 4 |
This code example demonstrates the use of the CapSense_CSD Component as a Linear Slider. The position of the finger on the linear slider is used to control the LED. |
CE95285 PSOC™ 4 CapSense CSD Slider |
This code example demonstrates the use of the CapSense_CSD Component as a Linear Slider. The position of the finger on the linear slider is used to control the LED. |
CE95288 |
For PSOC™ 4000 devices only,This code example demonstrates a low power CapSense system. Any battery driven equipment requires very low system power consumption, while maintaining the required performance. The PSOC™ 4000 family supports a capacitive touch sensing known as CapSense and two device low power modes: Sleep and Deep-Sleep. These low power modes enable PSOC™ 4 to achieve the required performance while operating at very low system power consumption. |
CE95289 |
For PSOC™ 4000 devices only,This project demonstrates a CapSense based proximity sensing design to control brightness of a LED. It will help user learn how to design a proximity sensor in their design using a PSOC™ 4 (4000 family) device and see how an approaching hand controls the intensity of a LED. It will employ the CapSense auto tuning ability, SmartSense, to tune the proximity sensor of any wire/trace length. The project will also help user understand and design a simple Sleep-scan routine using the proximity sensor where the device will enter a periodic scan mode at a configurable rate and sleep once the sensor scan is complete to save power. |
CE95290 |
This example demonstrates the character LCD component and the custom character feature within the component. |
CE95290 - Character LCD with Custom Font |
This example demonstrates the character LCD component and the custom character feature within the component. |
CE95291 |
The CharLCD Hbar design project contains an example for the use of the CharLCD component. A series of horizontal bar graphs are drawn, left to right. Bars move towards the right, becoming shorter and shorter. |
CE95293 |
This code example demonstrates the PSOC™ 4 Comparator in Non-Inverting mode. |
CE95294 |
This code example demonstrates functionality of the Count7 component. |
CE95296 |
This datasheet code example demonstrates operation of the CRC (Cyclic Redundancy Check) component with the PSOC™ Creator Software. The CRC-16 polynomial, 16 bit resolution and single cycle configuration is demonstrated. |
CE95297 |
This code example demonstrates how the comparator's input can be multiplexed using the Amux component. |
CE95315 |
This data sheet code example demonstrates operation of the Fan Controller component in Automatic (Firmware) mode with the PSOC™ Creator Software. |
CE95318 |
This project demonstrates the Fan Controller component configured for firmware based Fan Control enabling designers to customize the control algorithm. |
CE95321 |
This code example demonstrates how to enter and wake up from hibernate and stop low power modes, and how to retain SRAM variables in hibernate mode. |
CE95325 |
This code example, CE95325, demonstrates functionality of I2C LCD component with the PSOC™ 4. |
CE95327 |
This code example demonstrates the use of the current digital-to-analog converter (IDAC). |
CE95327 PSOC™ 4 Current DigitaltoAnalog Converter |
This code example demonstrates the use of the current digital-to-analog converter (IDAC). |
CE95329 |
This code example demonstrates the compensation operation of the ILO Trim component for PSOC™ 4. |
CE95333 PSOC™ 4 LowPower Comparator |
This is code example demonstrates the PSOC™ 4 LP Comparator. |
CE95334 |
The LUT Example design project contains an example for the use of the LUT component. This simple example sets the input and output to 2. Output is verified using a Character LCD. |
CE95340 |
This code example demonstrates how to multiplex three different channels with ADC using Analog Mux and send results to HyperTerminal (PC) using UART. The ADC input and gain can be changed on the fly by pressing a switch. |
CE95341 PSOC™ 4 NonInverting Opamp |
This code example demonstrates the use of an opamp as a non-inverting operational amplifier |
CE95341 PSOC™ 4 NonInverting Opamp |
This code example demonstrates the use of an opamp as a non-inverting operational amplifier |
CE95345 |
This code example demonstrates usage of the PMBus Slave component in a simulated Thermal Management application. |
CE95349 |
This datasheet code example demonstrates operation of the PRS (Pseudo Random Sequence) component with the PSOC™ Creator Software. The clocked and API Single Step run modes, 16 bit resolution and single cycles implementation configuration is demonstrated. |
CE95354 |
This data sheet code example demonstrates operation of the TCPWM (Quadrature Decoder Mode) component with the PSOC™ Creator Software. |
CE95362 |
This code example demonstrates the basic operation of the EZI2C slave (SCB mode) component. The EZI2C slave accepts packet with command from I2C master to control RGB LED color. The EZI2C slave updates its buffer with status packet in response to the accepted command. |
CE95363 |
This code example demonstrates the basic operation of the I2C master (SCB mode) component. I2C master sends packet with command to I2C slave to control RGB LED color. The packet with status is read back. |
CE95365 |
This datasheet code example demonstrates operation of the SCB component configured in SPI. The first instance of SCB is configued as SPI master and the second as SPI Slave mode. The SPI master communicates with slave (bit rate 1Mbps). |
CE95369 |
This code example demonstrates the PSOC™ 4 Segment LCD. |
CE95379 |
This code example demonstrates basic functionality of Software Transmit UART component. |
CE95381 |
This code example demonstrates the use of the Thermistor Calculator component for temperature measurement. |
CE95386 |
This data sheet code example demonstrates operation of theTMP05 Temp Sensor Interface component with the PSOC™ Creator Software. The continuous mode is demonstrated. |
CE95387 |
This code example demonstrates the basic operation of the Trim Margin component. |
CE95387 |
This code example demonstrates the basic operation of the Trim Margin component. |
CE95388 |
The UART Rx design project contains an example for the use of the UART component. This example demonstrates the UART Reception (Rx) mechanism. Data input via Hyperterminal is sent through the serial port and displayed on the LCD module. |
CE95389 |
The UART Tx design project contains an example for the use of the UART component. This example demonstrates the UART Transmission (Tx) mechanism. Data sent via the serial port is displayed on Hyperterminal and the LCD module. |
CE95400 - Watchdog Timer Reset and Interrupt for PSOC™ 41xx/42xx Devices |
This example demonstrates how to use the watchdog in PSOC™ 41xx/42xx devices to both reset the system and wake up from the Deep Sleep low power mode. |
CE95400 - Watchdog Timer Reset and Interrupt for PSOC™ 41xx/42xx Devices |
This example demonstrates how to use the watchdog in PSOC™ 41xx/42xx devices to both reset the system and wake up from the Deep Sleep low power mode. |
CE95915- Implementing an RTC with PSOC™ 4100/PSOC™ 4200 Devices |
This code example demonstrates the implementation of a real-time clock (RTC) with PSOC™ 4100 and PSOC™ 4200 devices. |
CE96926 |
These code examples show how to implement a real-time clock (RTC) using the 50/60-Hz frequency of the mains power line as the time base. PSOC™ 3, PSOC™ 4, and PSOC™ 5LP devices are supported. The example for PSOC™ 4 BLE also uses a 32-kHz watch crystal oscillator (WCO) that can be used as the secondary time-base in case of a mains power failure. |
CE96926 PSOC™ Real-Time Clock Based on Power Line Frequency |
These code examples show how to implement a real-time clock (RTC) using the 50/60-Hz frequency of the mains power line as the time base. PSOC™ 3, PSOC™ 4, and PSOC™ 5LP devices are supported. The example for PSOC™ 4 BLE also uses a 32-kHz watch crystal oscillator (WCO) that can be used as the secondary time-base in case of a mains power failure. |
CE96999 |
These code examples demonstrate the implementation of LIN slave communication in PSOC™ 4. |
CE96999 Basic LIN Slave Implementation in PSOC™ 4 |
These code examples demonstrate the implementation of LIN slave communication in PSOC™ 4. |
CE97088 |
This code example demonstrates a peripheral-to-peripheral data transfer using PSOC™ 4 DMA. The DMA transfers the ADC result data to a PWM compare register. The change in ADC value creates a change in PWM duty cycle. The transfer is triggered on each ADC End of Conversion (EOC). |
CE97088 PSOC™ 4 ADC to PWM DMA Transfer |
This code example demonstrates a peripheral-to-peripheral data transfer using PSOC™ 4 DMA. The DMA transfers the ADC result data to a PWM compare register. The change in ADC value creates a change in PWM duty cycle. The transfer is triggered on each ADC End of Conversion (EOC). |
CE97089 |
This code example sets up the PSOC™ 4 DMA controller to transfer data from the ADC result register to an array in SRAM. A transfer is initiated each time the ADC asserts an end of conversion (EOC) signal. At the end of each DMA transfer, an interrupt is generated. The CPU implements a simple moving average filter on the data in the array and sends the results through a UART. |
CE97089 - PSOC™ 4: ADC to Memory Buffer DMA Transfer |
This code example sets up the PSOC™ 4 DMA controller to transfer data from the ADC result register to an array in SRAM. A transfer is initiated each time the ADC asserts an end of conversion (EOC) signal. At the end of each DMA transfer, an interrupt is generated. The CPU implements a simple moving average filter on the data in the array and sends the results through a UART. |
CE97091 PSOC™ 4 Time-Stamped ADC Data Transfer Using DMA |
This code example uses a DMA channel with two descriptors, to implement a time-stamped ADC data transfer. It uses the Watch Dog Timer (WDT) and SAR ADC. |
CE97091 PSOC™ 4 Time-Stamped ADC Data Transfer Using DMA |
This code example uses a DMA channel with two descriptors, to implement a time-stamped ADC data transfer. It uses the Watch Dog Timer (WDT) and SAR ADC. |
CE97311 PSOC™ 4 M CAN Simplex Communication with CapSense |
This code example demonstrates how to send and receive data over the CAN bus. The status of the CapSense Gesture Pad is sent by the CAN transmitter to control LEDs at the CAN receiver. This code example demonstrates the configuration and use of the CAN Tx and CAN Rx mailboxes. Five CapSense buttons on the CapSense Gesture Pad in CY8CKIT-044 are configured to control the ON/OFF status, color, and brightness of an RGB LED. This data is transmitted over the CAN bus; at the CAN receiver, the RGB LED is configured to reflect the received data. |
CE97311 PSOC™ 4 M CAN Simplex Communication with CapSense |
This code example demonstrates how to send and receive data over the CAN bus. The status of the CapSense Gesture Pad is sent by the CAN transmitter to control LEDs at the CAN receiver. This code example demonstrates the configuration and use of the CAN Tx and CAN Rx mailboxes. Five CapSense buttons on the CapSense Gesture Pad in CY8CKIT-044 are configured to control the ON/OFF status, color, and brightness of an RGB LED. This data is transmitted over the CAN bus; at the CAN receiver, the RGB LED is configured to reflect the received data. |
CE97601 - Improving the Accuracy of the PSOC™ 4 Internal Main Oscillator |
This example demonstrates how to trim the PSOC™ 4 internal main oscillator (IMO) to improve its accuracy. |
CE97601 Improving the Accuracy of the PSOC™ 4 Internal Main Oscillator |
This example demonstrates how to trim the PSOC™ 4 internal main oscillator (IMO) to improve its accuracy. |
Interfacing PSOC™ 4 with a Humidity Sensor |
This code example demonstrates how to implement an analog front end (AFE) for a humidity sensor, using PSOC™ 4. |
Interfacing PSOC™ 4 with a Temperature Sensor |
This code example demonstrates how to implement an analog front end (AFE) for a thermistor using PSOC™ 4100PS. |
Interfacing the PSOC™ 4 with a PIR Motion Sensor |
This code example demonstrates how to implement an analog front end (AFE) for a Pyroelectric Infrared (PIR) motion sensor, using the PSOC™ 4100PS family of devices. |
Sine Wave Generation Using PSOC™ 4 |
This code example demonstrates how to generate a sine wave using the VDAC Component of PSOC™ 4100PS. |