Plan for The Week
My plan for this week was pretty simple - enable reading of analog data from on-board thermistor using ModusToolbox. It is an important step to convert Arduinio code for heart beat sensor to PSoC 6 and specifically to my board CY8CPROTO-062-4343W.
Training
I watched several training videos on how to use ModusToolbox. One of them was explaining how to use Device Configurator tool of ModusToolbox to configure UART. I was not able to find ModusToolbox videos for ADC configuration.
Welcome to ModusToolbox: #2 Configuring PSoC Devices
Than I watched another video on how to configure PSoC 6 to read Analog signal, but it was based on PSoC Creator IDE.
PSoC 6 101: Lesson 2-6 Basic PSoC 6 Analog Features
The training materials are great. I like how Alan Hawse present complex subjects. So I highly recommend them. But by the end of my training I've realized that there is a big difference in IDEs between PSoC Creator, ModusToolbox 1.0 and ModusToolbox 2.x. And I don't think that projects can't be easily migrated between them. It seems that PSoC Creator is a great tool, but only works on Windows platform. So Cypress released a new Eclipse based IDE - ModusToolbox in 2018. And it supports Linux and MacOS in addition to Windows, but PSoC Creator training materials can't be directly applied to the new IDE.
Configuration
I've created a new blinky project and launched Device Configurator. I've enabled SAR ADC in Peripherals tab and set some of its parameters based on training videos I've watched.
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
Then I've read specification of the board related to thermistor.
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
Then I've switched to Device Configurator - Pins tab and configured connection to the thermistor output on pin 10-1.
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
Device Configurator - Errors
When I start saving configuration I've got several errors. I'll try to fix them shortly, so I can continue my progress on the project.
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
Meantime, I'm trying to get some advice form the community. I've published question related ADC configuration on Cypress community board and send related question to Alan Hawse as it was recommended on his training video.