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.

 

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - Kit Content

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

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Create a New Project

Select CY8CKIT-062-WiFi-BT (PSoC 62) as Target Kit.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Select a Target Kit

Select Code example as new project template

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Choose from Code examples

Filter PSoC 62 examples by UART, Select UART_printf and click Next.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Filter Examples by UART and Select UATPrintf

Wait for the example project download completion

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - wait for the download completetion

No need to choose any additional Target IDE.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - No need to choose Target IDE

Rename (optional), change new project location (optional) and Click Finish to create a new PSoC 62 Project.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Rename (optional), Select new project location and Create a new Project

PSoC 62 pins layout will open as a new project default view.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - PSoC6 pins layout will be open in new project default view

Open TopDesign tab (Optional) to take a look at pre built and configured components

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Open TopDesign tab

Build the Project to check if there is any error.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Build the Project

Check the build process output and it will show Build Succeeded

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Check the build process output

After successful build we can program the project on our PSoC6 kit.

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Program the project

Before starting the program process we need to change the Port Setting in Select Debug Dialog (only required first time)

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Select Port Setting in Debug Progam Dialog

Select Digital source voltage to 3.3V and click OK

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Select Digital voltage to 3.3V and OK

Select PSOC62 (CM4) and then click OK/Connect to start the programming process

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Select PSOC62 (CM4) and OK-Connect

Check the program process output

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - check the program output

Open a UART monitor on PC and Press SW2 to monitor UARTprintf output

PSoC® 6 WiFi-BT Pioneer Kit (CY8CKIT-062-WIFI-BT) - PSoC Creator - Open a UART monitor on PC and Press SW2 to monitor UARTprintf

We have successfully built and tested the Hello World program in PSoC Creator using UARTprintf example for PSoC6 MCU.