- Onethinx Sprouty
- Programmer + cables + adapter PCB.
PSoC Creator is the official tool from Infineon to do the chip configuration on PSoC6
- Download PSoC Creator from here or from the official Infineon PSoC Creator page
- Download PDL 3.1.7 from here or from the official Infineon PSoC Creator page
- Install PSoC Creator (after installation, check the bottom checkbox to continue without registration information)
- Install PDL 3.1.7
- Run PSoC Creator and set the freshly installed PDL by
TOOLS->OPTIONS->PDL v3 (PSoC6 devices) location:->C:\Program Files (x86)\Cypress\PDL\3.1.7
- Download and install the Visual Studio Code IDE
- Follow the instructions in the link to install the OTX Maestro Tools & Extension
- Make sure the programmer, adapter PCB and cable are connected to the Sprouty as shown:

- NOTE: Do not install the battery when using the debugger.
- Download the Sprouty Project from here
- After downloading, right click the .zip file and select 'Extract All'. Choose a short folder path and make sure the folder ends with
\Sprouty_StartCode(e.g.C:\...\Sprouty_StartCode) - Open (double click)
Onethinx_Creator.cyprjinside the project folder..\Sprouty_StartCode\Onethinx_Creator.cydsn. PSoC Creator will open

- Open (double click)
TopDesign.cyschand view the internal wiring of the PSoC6, causing the LED to flash - Open
Pinsfrom the Design Wide Resources to configure the LED IO pin - Watch the schematic and find out the right IO pin the LED is connected with (as it's an RGB LED you may choose the color you like)

NOTE: the Sprouty schematic can be found here - Click the dropdown arrow and select the IO pin we just found for the LED

- Now the LED is configured for the right IO, the OTX / PSoC6 configuration project is ready to be built
- Hit the 'Generate Application' Icon in the toolbar or select
Build >> Generate Application

- Wait for PSoC Creator to generate the application files(API)

- The message
Build Skippedwill appear when generating the API is ready without issues - Chip configuration is done, PSoC Creator may now be closed.
-
Start Visual Studio Code
-
Open the Sprouty folder (not the .zip file)
To open a folder in Visual Studio Code, click on File in the top menu and selectOpen Folder...from the dropdown menu. In the file dialog that appears, navigate to the folder you want to open, select it, and click Select Folder / Open. The folder will then open in Visual Studio Code, and you will see its contents in the Explorer pane on the left side.
-
As the project has not run on the PC before and as new APIs are made by PSoC Creator, the project needs to be Clean-Reconfigured before it can be built. Hit the
Clean-Reconfigurebutton from the status bar at the bottom of VS Code
NOTE: if you do not see these buttons, you have either the extension not installed or opened the wrong folder. Make sure the top-level folder you opened contains meson.build.* -
Press Select programmer and choose CMSIS DAP. If you have a different programmer, choose it. If you received your programmer with Sprouty, select CMSIS DAP.

-
After successfull configuration the project can be Built and Launched from the debugger. Make sure the Sprouty is connected to the debugger and PC before launching the debug session. Hit the
Build-And-Launchbutton from the status bar at the bottom of VS Code.
-
Cross fingers and hopefully the firmware will be programmed, the project will enter debug mode (yellow bar) and the LED will be flashing 🎉

NOTE: your Sprouty model may differ from the one pictured -
If all built and programmed well, congratulations! 🤓
You may head directly to Part 1: Soil Temperature, Air Temperature, Light intensity and LEDs.
NOTE: if you are experiencing issues, you may contact us directly at our Discord channel
