You are here

CE97311 - PSoC® 4 M: CAN Simplex Communication with CapSense® | Cypress Semiconductor

CE97311 - PSoC® 4 M: CAN Simplex Communication with CapSense®

Last Updated: 
May 31, 2017
Version: 
*B

This code example demonstrates how to send and receive data over the CAN bus. The status of the CapSense® button is sent over the CAN to control LEDs at the CAN receiver.

Overview

This code example demonstrates the configuration and use of the CAN Tx and CAN Rx mailboxes. Five CapSense buttons are configured to control the ON/OFF status, color, and brightness of an RGB LED. This data is transmitted over the CAN, and at the CAN receiver, the RGB LED is configured to reflect the received data.