

The CY8CKIT-062S2-AI is a development kit manufactured by Infineon (formerly Cypress Semiconductor) designed for building AI and machine learning applications. At its core is the PSoC 62 microcontroller, which combines a dual-core architecture (Arm® Cortex®-M4 and Cortex®-M0+) with integrated Wi-Fi and Bluetooth connectivity. This makes it an ideal platform for prototyping and developing IoT solutions.
The kit includes a variety of onboard sensors, interfaces, and expansion options, enabling developers to experiment with AI, machine learning, and IoT applications. Its versatility and ease of use make it suitable for both beginners and experienced developers.








The CY8CKIT-062S2-AI features multiple headers and connectors. Below is a summary of the key pin configurations:
| Pin Name | Function | Description |
|---|---|---|
| A0-A5 | Analog Input | Analog pins for sensor input or ADC use |
| D0-D13 | Digital I/O | General-purpose digital I/O pins |
| SDA/SCL | I2C Communication | I2C data and clock lines |
| VIN | Power Input | External power input (up to 5V) |
| GND | Ground | Common ground for the circuit |
| Pin Name | Function | Description |
|---|---|---|
| P0.x-P12.x | General Purpose I/O (GPIO) | Configurable as digital or analog pins |
| VDD | Power Supply | 3.3V power output |
| GND | Ground | Common ground for the circuit |
| Pin Name | Function | Description |
|---|---|---|
| VBUS | Power Input | Supplies 5V to the board |
| D+ / D- | USB Data Lines | USB communication for programming/debug |
| GND | Ground | Common ground for USB |
Powering the Board:
Programming the Board:
Connecting Sensors and Peripherals:
Wireless Connectivity:
Below is an example of interfacing a temperature sensor (I2C-based) with the CY8CKIT-062S2-AI:
#include <Wire.h>
// I2C address of the temperature sensor
#define TEMP_SENSOR_ADDR 0x48
void setup() {
Wire.begin(); // Initialize I2C communication
Serial.begin(9600); // Start serial communication for debugging
Serial.println("Temperature Sensor Example");
}
void loop() {
Wire.beginTransmission(TEMP_SENSOR_ADDR); // Start communication with sensor
Wire.write(0x00); // Request temperature data
Wire.endTransmission();
Wire.requestFrom(TEMP_SENSOR_ADDR, 2); // Request 2 bytes of data
if (Wire.available() == 2) {
int tempData = (Wire.read() << 8) | Wire.read(); // Combine MSB and LSB
float temperature = tempData * 0.0625; // Convert to Celsius
Serial.print("Temperature: ");
Serial.print(temperature);
Serial.println(" °C");
}
delay(1000); // Wait 1 second before next reading
}
Board Not Detected by ModusToolbox:
Wi-Fi or Bluetooth Not Working:
Sensor Data Not Reading Correctly:
Power Issues:
This concludes the documentation for the CY8CKIT-062S2-AI development kit.