You are here

CE220541 - PSoC 6 MCU SCB EZI2C | Cypress Semiconductor

CE220541 - PSoC 6 MCU SCB EZI2C

Last Updated: 
Jul 06, 2020
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.

This example works with PSoC Creator. To run code examples in PSoC Creator, download and unzip the code example package, 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. To see code examples available for PSoC Creator, go here.

This example may be available for ModusToolbox™ v2.x. To see code examples for ModusToolbox, go here. Use the Eclipse IDE for ModusToolbox New Application wizard to create the example. Refer to the Quick Start Guide, "Create New Application" chapter for details. You can also export the example to another IDE, such as VS Code, IAR, or μVision. Refer to the ModusToolbox User Guide “Export to IDEs” chapter.