
28 Document No. 001-64846 Rev. *I Getting Started with CapSense
®
Figure 2-28. Implementing LCD Feedback with CapSense on CapSense Plus
2.7.2 Haptic Feedback
Haptic, or tactile, feedback uses vibration to let you know that the system has detected a finger touch.
Figure 2-29. Cypress Haptics Ecosystem
Vibrations are created by an actuator (DC motor) with eccentric rotating mass (ERM). When the end user touches a
CapSense button, a touch signal is sent to the CapSense controller. The CapSense controller processes the data
and drives the actuator to get a particular haptics effect. The CY8C20XX6H CapSense controller can generate 14
predefined haptics effects. PWM and Timer user modules are used to generate a haptics signal to drive the actuator.
The PWM signal is updated periodically. The Timer user module is used to generate a 5-mS periodic (for Haptic-
effects generation) interrupt to update the effect that is currently being played. The Amplifier supplies the required
current to the actuator. The firmware can also generate the 5-mS timer to save a digital block, but this increases the
CPU load. The PWM user module is configured to generate output signals of frequency greater than 22 kHz to drive
the DC motor. This frequency is outside the audible range of the human ear.
The Haptics user module datasheet has more information about the 14 predefined haptics effects and also provides a
code example. This document is available at http://www.cypress.com/?rID=55635.
To know more about CY8C20xx6H, refer to the device datasheet at http://www.cypress.com/?rID=50279.
Kommentare zu diesen Handbüchern