Skip to main content
Renesas Singapore - Knowledgebase

r_ctsu Module Guide Resources

Last Updated:11/20/2017


Where can I find the references to module guide resources for the CTSU HAL module on r_ctsu?


Information on the module guide itself and the associated resources and known issues are available here.


The CTSU is a high-level API for capacitive touch sensing applications and is implemented on r_ctsu. The CTSU HAL Driver works in conjunction with the Workbench 6 tool which generates the needed structures used by the driver for initialization and operation. The CTSU HAL module uses the CTSU peripheral on Synergy MCUs. A callback function is provided that is used when a scan is complete and new processing data is available.

The CTSU HAL module is used to initialize the CTSU peripheral to detect a change in capacitance on any of the configured (and enabled) channels, perform requisite filtering, and generate a variety of data that can be used by higher level widget layers like buttons, wheels, and sliders. The CTSU HAL module supports the following features:

  • Support for mutual and self-capacitance
  • Supports DTC operation
  • Supports filtering, drift compensation, and auto-tuning (either pre-programmed or user defined)
  • Works with the Workbench 6 tool to construct initialization and operation data

Module Guide

The CTSU HAL module is expected to be used as a lower level module for an associated touch framework. As such, it doesn’t have a module guide of its own. It is incorporated in the module guides for the touch button and slider frameworks listed below:

sf_touch_ctsu_button: available here.

sf_touch_ctsu_slider: available here.

Module Guide Resources

The following application projects are available from the Renesas web site at the referenced url.

  • Renesas Bluetooth MCU (RL78/G1D) - Application Project here.
  • Renesas Synergy™ Project CTSU Slider Example on DK-S124 here.
  • User Button/CTSU Button Application - Application Project here.
  • Capacitive Touch Button Framework Module Guide - Application Project here.
  • Capacitive Touch Slider Framework Module Guide - Application Project here.

Known issues

  • Refer to the SSP release notes for known issues, available here.
  • Was this article helpful?