This blog post is the Part of PSoC 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - Review Product LinkProduct Link (Figure 1). This post is also related to previous ones so for better understanding kindly take a look at those too.
Figure 1: PSoC6 WiFi-BT Pioneer Kit (details)
Hello World
After Successful installing and updating the PDL, we will create a new project based on PSoC6 UARTprintf example which will print switch press count on UART. We will also build an ambient light sensor project based on this example. All the required steps are shown below (this is not PSOC_6_MCU_HELLO_WORLD_EXAMPLE)
Click on Create a New Project to start the process of creating of new project using PSoC Creator
Select CY8CKIT-062-WiFi-BT (PSoC 62) as Target Kit.
Select Code example as new project template
Filter PSoC 62 examples by UART, Select UART_printf and click Next.
Wait for the example project download completion
No need to choose any additional Target IDE.
Rename (optional), change new project location (optional) and Click Finish to create a new PSoC 62 Project.
PSoC 62 pins layout will open as a new project default view.
Open TopDesign tab (Optional) to take a look at pre built and configured components
Build the Project to check if there is any error.
Check the build process output and it will show Build Succeeded
After successful build we can program the project on our PSoC6 kit.
Before starting the program process we need to change the Port Setting in Select Debug Dialog (only required first time)
Select Digital source voltage to 3.3V and click OK
Select PSOC62 (CM4) and then click OK/Connect to start the programming process
Check the program process output
Open a UART monitor on PC and Press SW2 to monitor UARTprintf output
We have successfully built and tested the Hello World program in PSoC Creator using UARTprintf example for PSoC6 MCU.