Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Building a Demo ModusToolbox™ Project – Part 1

First question asked 5 sign-ins Welcome!

Building a Demo ModusToolbox™ Project – Part 1

Hi everyone,

This is the first blog of a three series where I will try to show you how to use the CapSense Tuner in ModusToolbox™ 3.0. Today, I will start with an explanation on how to build a demo ModusToolbox™ Project, accompanied by illustrations. Without further ado, let's get started with step one!

1. Starting New Application

To start off we’ll be utilizing one of the ModusToolbox™ tools called the Eclipse-based Integrated Development Environment (IDE) that supports application configuration and development. If you need an elaborated user guide for Eclipse IDE, click here. First, we Launch ModusToolbox™ MTB Eclipse & Select Workspace. However, before launching it, I advise you ensure you have a strong internet connection, disable any virus software and finally, connect your kit to the PC.

The initial steps of launching are also illustrated on the screenshot provided below:


  Fig.1. Step One

2. Selecting a Board Support Package

The next step would be to select a Target Kit BSP. In this case, we need the CY8CKIT-06252-43012 from  PSoC™ 6. This Pioneer Kit in particular is an affordable hardware platform which contributes on designing and debugging PSoC™ 6 MCUs.


Fig.2. Step Two

3. Choosing an Application

Moving on, after we select the board support package, now we will pick an example project. Sensing is clicked at on the Template Application which then introduces us to the drop-down menu where we select CapSense Buttons and Slider. This application has 5-segment CapSense slider and two buttons; button zero turns on the LED lights, button one turns them off while the slider controls the brightness.


Fig.3. Step Three

After that, we simply click on Create and wait for the project to be imported by ModusToolbox™ from GITHUB. It should be noted that the screenshots Once that happens, we move to the last step where we establish and program the application.

4. Building and Programming the Application

The final step is to build and program the application which is a rather self-explanatory process and can be seen on the screenshots below:


Fig. 4. Step Four

Lastly, there are a few golden survival rules which I suggest if you take onto conducting this project. First, you have to ensure that you have a production kit with production silicon, not -ES. Then, it is super important that you avoid starting from older projects and mixing and matching component versions, unless you are a professional firmware engineer and know what you are doing.

FYI, the next part of this blog series will be about DEMO Capsense Tuner! Stay tuned!