AI-Assisted Project#

Use Simplicity AI SDK and your configured Model Context Protocol (MCP) servers to create and work with an AI-assisted project.

Prerequisites#

  • Complete the Installation Overview for your operating system and IDE, or complete the equivalent setup for your agent.

  • Visual Studio Code with an AI agent enabled.

  • A supported Silicon Labs board connected to your PC, if you plan to build and flash.

Generate an Example Project#

Generate your first AI-assisted example project with a simple prompt. For example:

Generate a simple BLE example into my current workspace that is compatible with the board that I have connected to my PC.

Bluetooth Low Energy (BLE) examples are a common starting point for wireless projects.

Modify the Project#

Explain what you want to implement in natural language as clearly as you can. For example:

Modify the project so that the onboard LED is blinking with a 1s interval when no device is connected, and it turns on continuously when a BLE device is connected to it. When disconnected, the LED should start blinking again.

Ask Questions#

Use the agent to inspect hardware and wiring. For example:

How much RAM does my currently connected board have?

To which PINs should I connect my I2C temperature sensor on the board that I have connected?

Inter-Integrated Circuit (I2C) is a common interface for sensors.

Start Debugging#

Start a debug session when you hit runtime errors. For example:

I am getting an assertion error when a BLE device is attempting to connect. Start a debug session and locate the issue. Prompt me to connect to the device to reproduce the issue.

Iterate on the Output#

Ask the agent to explain findings and fixes. For example:

Elaborate on the issue you identified. What was the root cause? Why did your modifications resolve the issue?

Related Topics#