CY8CKIT-046 PSoC® 4 L-Series Pioneer Kit Guide, Doc. #: 002-03344 Rev. *D
31
Code Examples
Figure 4-8. USB Audio Example - UART Output
4.2
DeepSleep Blinky
4.2.1
Project Description
This code example demonstrates the DeepSleep low-power mode of the PSoC 4200L device. The
device is configured to be in DeepSleep mode and wakes up once every second. The PSoC 4200L
toggles the GPIO state each time the device wakes up from DeepSleep mode. The GPIO is con-
nected to the green LED on the kit, which turns on and off depending upon the GPIO state. The
example also demonstrates a method to calibrate the ILO clock based on the IMO clock signal for
better ILO accuracy. The calibrated LFCLK is used to source the watchdog timer.
4.2.2
Hardware Connections
No specific hardware connections are required for this example. All connections are hardwired on
the board.
4.2.3
Verify Output
To verify the DeepSleep Blinky code example, follow these steps.
1. Power the PSoC 4 L-Series Pioneer Kit through USB connector J10.
2. Program the PSoC 4 L-Series Pioneer Kit with the
CY8CKIT_046_Deep_Sleep_Blinky
code
example.
3. When programming is successful, you will see the green LED toggling once every second.
4. Power off the PSoC 4 L-Series Pioneer Kit by unplugging the USB cable. Remove the jumper
shunt from the power measurement jumper of PSoC 4200L (J14).
5. Connect an ammeter across the terminals 3 and 4 of the power measurement header, as shown
in