
CY8CKIT-046 PSoC® 4 L-Series Pioneer Kit Guide, Doc. #: 002-03344 Rev. *D
32
Code Examples
Figure 4-9. Current Measurement When Powered From USB Port
6. Plug in the USB cable again to power the PSoC 4 L-Series Pioneer Kit.
7. Observe the average power consumed by the PSoC 4200L device on the ammeter. The
measured DeepSleep current consumption will be less than 3 µA (when the LED is OFF). The
LED when ON consumes around 2.5 mA at 3.3 V. This results in an average current
consumption of 1.25 mA at 3.3 V for the system including the LED current.
Note that the Debug (SWD) port is disabled in the example to reduce power consumption during
DeepSleep power mode. The Debug port can be enabled by setting the
Debug Select
option to
SWD
in the
System
tab of the
.cydwr
file, as shown in
. Disabling the debug port dis-
ables the ability to debug the code example through SWD.
Figure 4-10. Enabling Debug in a Code Example
Note:
More details on the power measurement header terminals is provided in
.