Example Projects
CY8CKIT-044 PSoC® 4 M-Series Pioneer Kit Guide, Doc. No. 001-96598 Rev. *C
25
4.2 Using the Micrium
®
µC/Probe
™ Projects
The Micrium µC/Probe
is a revolutionary software development tool that incorporates Micrium’s proprietary Graphical Live
Watch to graphically visualize the internals of any embedded system. With µC/Probe, you can test your embedded design
effortlessly, with a few mouse clicks. Cypress provides pre-designed µC/Probe project (workspace) files for all the example
projects associated with the PSoC 4 M-Series Pioneer Kit except the
Deep-Sleep Blinky
example project. These projects
can be found in the kit installation directory in the following folder:
<Install_Directory>\Cypress\CY8CKIT-044 PSoC 4 M-Series Pioneer Kit\1.0\Firmware\PSoC
4200M\uC Probe Workspace\
Refer to the
Appendix
for more details on how to use the Micrium µC/Probe. To learn more about the µC/Probe, visit:
micrium.com/tools/ucprobe/overview
.
Note:
When using µC/Probe with CapSense example projects provided with this kit, ensure that the line
#define
uCProbeEnabled
is set to TRUE instead of FALSE in the firmware (
main.c
file).
4.3 Deep-Sleep Blinky
4.3.1 Project Description
This project demonstrates the Deep-Sleep low-power mode of the PSoC 4200M device. The PSoC 4200M device is
configured to be in Deep-Sleep power mode and wakes-up once every second. The PSoC 4200M toggles the state of the
GPIO each time the device wakes up from Deep-Sleep power mode. The GPIO is connected to the LED on the kit which
turns on and off depending upon the GPIO state. The project also demonstrates the 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.3.2 Hardware Connections
No specific hardware connections are required for this project. All connections are hardwired on the board.
4.3.3 Verify Output
To verify the Deep-Sleep Blinky example project, follow these steps.
1. Power the PSoC 4 M-Series Pioneer Kit through USB connector J6.
2. Program the PSoC 4 M-Series Pioneer Kit with the
CY8CKIT_044_Deep_Sleep_Blinky
example project.
3. After programming successfully, you will see the green LED toggling state every one second.
4. Power off the PSoC 4 M-Series Pioneer Kit by unplugging the USB cable. Remove the jumper shunt from power
measurement jumper of PSoC 4200M on the PSoC 4 M-Series Pioneer Kit (J14).
5. Connect an ammeter across the terminals 3 and 4 of the power measurement header, as shown in
Figure 4-4
.
Figure 4-4. Current Measurement When Powered From USB Port
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