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
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
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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By technically required cookies we mean cookies without those the technical provision of the online service cannot be ensured. These include e.g. cookies supporting essential services like a smooth reproduction of video or audio footage. So called ‘functional cookies’ are also assigned belonging to this category. Functional cookies store information in order to provide you comfortable use of our online services (e.g. language selection). The legal basis for the processing of personal data by means of cookies of this category is Infineon’s legitimate interest. This includes, among other things, the interest in having a professional external presentation as well as an optimal balancing of the loads on the server due to technical reasons.
By performance and marketing cookies we mean cookies which are technically not required. We use performance and marketing cookies only if you have given us your prior consent. With such cookies, we collect information about how users interact with our website and which pages have been visited. This helps us to understand user activity on our website on an aggregated as well as on a personal level to provide you relevant content and services.