CY8CKIT-030 PSoC® 3 Development Kit Guide, Doc. # 001-61038 Rev. *J
34
Code Examples
5.4
LowPowerDemo
5.4.1
Project Description
This code example demonstrates the low-power functionality of PSoC 3. The project implements an
RTC based code, which goes to sleep and wakes up on the basis of switch inputs.
The RTC uses an accurate 32-kHz clock generated using the external crystal provided on the board.
When there is a key press, the device is put to sleep while the RTC is kept active.
5.4.2
Hardware Connections
The project requires a 3.3-V LCD to view the time display. No extra connections are required for
project functionality. To make low-power measurements using this project, implement the changes
proposed in
Low-Power Functionality on page 18
.
5.4.3
Verify Output
In normal operation, the project displays the time starting from 00:00:00 and LED3 is in On state.
When you press the SW2 button, the device is put to sleep and LED3 is in Off state. If an ammeter is
connected to measure the system current (see
Low-Power Functionality on page 18
for details), a
system current of less than 2 µA is displayed.
The device wakes up when SW2 is pressed again and displays the time on the LCD. The following
figures show the output display.
Figure 5-5. PSoC 3 in Active Mode
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from