Enhanced General-Purpose Input/Output (EGPIO) Developer Guide#

About This Guide#

This guide introduces the enhanced general-purpose input/output (EGPIO) features available on the SiWx917 system-on-chip (SoC). It explains how to configure GPIOs, manage interrupts, and optimize performance using the WiSeConnect software development kit (SDK) in Simplicity Studio.

Use this guide when developing applications that rely on digital input and output, event detection, or low-power wake-up functionality on SiWx917-based systems.

Audience#

This guide is intended for embedded software engineers who develop and integrate GPIO-based applications on SiWx91x devices.

It provides practical guidance for understanding GPIO architecture, usage patterns, and power management considerations.

In this guide, you learn how to:

  • Initialize and configure GPIO peripherals.

  • Use application programming interfaces (APIs) for input and output operations, interrupts, and group configurations.

  • Optimize GPIO performance in high-performance (HP), ultra-low-power (ULP), and ultra-ultra-low-power (UULP) domains.

  • Debug and troubleshoot GPIO-related issues efficiently.

Purpose#

This guide helps you design and maintain GPIO-based features efficiently.

After reading it, you will understand how to:

  • Configure GPIO pins for input, output, and alternate functions.

  • Register and handle GPIO interrupts.

  • Use GPIOs across high-performance (HP), ultra-low-power (ULP), and UULP domains.

  • Apply best practices for low-power design.

  • Debug GPIO behavior using driver tools and hardware instrumentation.

Scope#

This document covers software-level implementation and usage of GPIO features on SiWx91x devices, including:

  • GPIO architecture and subsystem overview.

  • Initialization and configuration using Simplicity Studio and the WiSeConnect SDK.

  • API usage, interrupt handling, and group configurations.

  • Low-power GPIO operation in PS2, PS3, and PS4 power states.

  • Debugging, error handling, and best practices for reliable embedded systems.

Hardware and Software Requirements#

To develop and validate GPIO applications, ensure access to the following components:

Component

Description / Source

Hardware

SiWx917 SoC evaluation kits and modules

SDK

WiSeConnect SDK (GitHub)

Development Environment

Simplicity Studio IDE

Supported Hardware List

WiSeConnect SDK Release Notes

Debug Tools

Serial console, logic analyzer, and oscilloscope