You are here

CE220541 - PSoC 6 MCU SCB EZI2C | Cypress Semiconductor

CE220541 - PSoC 6 MCU SCB EZI2C

Last Updated: 
Nov 11, 2019
Version: 
*A

This code example demonstrates the implementation of an EZI2C Slave using the SCB Component on a PSoC 6 MCU. PSoC Creator version demonstrates how to control the color and intensity of an RGB LED using TCPWM Components. This code example implements an I2C slave using an SCB Component (configured as EZI2C), which receives the data required to control an RGB LED from an I2C master. ModusToolbox version demonstrates how to control the intensity of an LED using a TCPWM. This code example implements an I2C slave using an SCB Component (configured as EZI2C), which receives the data required to control the brightness of the LED from an I2C master. A host PC running the Cypress' Bridge Control Panel (BCP) software is used as an I2C master.

For ModusToolbox™ v2.x, visit the Cypress GitHub site to see a comprehensive list of available code examples. Use the ModusToolbox IDE's New Application command and select your kit. Supported code examples appear in the wizard. Please note that some examples have not been implemented for ModusToolbox v2.0. See KBA225201 for detailed steps, and for information on how to import an example into another IDE. Visit the ModusToolbox SW page for documentation and collateral regarding ModusToolbox software.

The ModusToolbox example on this page is for ModusToolbox v1.1. It does not work with newer versions of ModusToolbox. To run code examples in ModusToolbox v1.1, download and unzip the ModusToolbox code example from this page. Run ModusToolbox v1.1 IDE's New Application command, then browse to and select the modus.mk file.

To run code examples in PSoC Creator, download and unzip the code example package specific for PSOC Creator, run PSoC Creator, go to File > Open > Project/Workspace, then browse to and select the .cywrk file. For documentation and collateral regarding PSoC Creator, please visit the PSoC Creator SW page to learn more.