# Peripheral tests

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

QCC730 supports several peripherals, including GPIO, watchdog, UART, DMA, and I^2^C. Peripheral tests and samples based on the ZTEST framework are available in the qapp\qcc730testing folder.

The following folder structure shows the content of the qcc730testing folder:

    qapp/qcc730testing/
    ├── doc/
    ├── samples/
    │   ├── buttons/
    │   └── drivers/
    │       ├── rtc/
    │       ├── sensor/
    │       ├── spi/
    │       ├── uart/
    │       └── watchdog/
    ├── scripts/
    │   └── tests/
    ├── tests/
    │   ├── drivers/
    │   │   ├── clock_control/
    │   │   ├── counter/
    │   │   ├── dma/
    │   │   ├── flash/
    │   │   ├── gpio/
    │   │   ├── i2c/
    │   │   ├── pinctrl/
    │   │   ├── reset/
    │   │   ├── rtc/
    │   │   └── uart/
    │   └── subsys/
    │       └── fs/
    └── zephyr/  #emptyCopy to clipboard

See the following sections for details about peripheral test functions and usage.

## GPIO test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### gpio\_basic\_api

**Location**: qapp\qcc730testing\tests\drivers\gpio\gpio\_basic\_api\

**Purpose**: Validate basic GPIO API functionality

**Test coverage:**

- Pin configuration (input/output modes)
- Digital read/write operations
- Pull-up/pull-down resistor configuration
- Interrupt functionality

**Hardware requirements:** Standard GPIO pins

**Test command:**

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.gpio.gpio_basic_apiCopy to clipboard

### gpio\_stress

**Location**: qapp\qcc730testing\tests\drivers\gpio\gpio\_stress\

**Purpose**: Stress test GPIO driver robustness using Zephyr's `ztress` framework

**Test coverage**:

- Concurrent operations stress test
- High-frequency toggle test
- Interrupt storm test
- Endurance test

**Hardware requirements**: Physical loopback connection between `GPIO_5` and `GPIO_6`

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.gpio.gpio_stressCopy to clipboard

## UART test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### uart\_loopback

**Location**: qapp\qcc730testing\tests\drivers\uart\uart\_loopback\

**Purpose**: UART loopback stress test with data integrity validation

**Test coverage**:

- Dual-thread concurrent operation (Tx/Rx threads)
- Tx thread sends incrementing byte sequence
- Rx thread receives and validates data
- CRC16 checksum validation

**Hardware requirements**: Connect Tx to the Rx directly on the J3 connector on the board (pins 11 and 13 on J3 connector)

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.uart.uart_loopbackCopy to clipboard

### uart\_stress

**Location**: qapp\qcc730testing\tests\drivers\uart\uart\_stress\

**Purpose**: Extended UART stress testing

**Test coverage**:

- Long-duration operation
- High-throughput scenarios
- Error recovery mechanisms

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.uart.uart_stressCopy to clipboard

### uart\_pm\_test

**Location**: qapp\qcc730testing\tests\drivers\uart\uart\_pm\_test\

**Purpose**: UART power management validation

**Test coverage**:

- Low-power mode transitions
- Wake-up functionality
- Data retention during power state changes

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.uart.uart_pm_testCopy to clipboard

### uart\_pinctrl\_tests

**Location**: qapp\qcc730testing\tests\drivers\uart\uart\_pinctrl\_tests\

**Purpose**: UART pin control functionality

**Test coverage**:

- Pin multiplexing
- Alternative pin configurations
- Runtime pin reconfiguration

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.uart.uart_pinctrl_testsCopy to clipboard

## I^2^C test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### i2c\_stress

**Location**: qapp\qcc730testing\tests\drivers\i2c\i2c\_stress\

**Purpose**: Comprehensive I^2^C driver stress testing using the `ztress` framework

**Test coverage**:

- Concurrent operations test
- High-frequency configuration test
- Sensor communication test (requires LIS2DW12)
- Endurance test

**Hardware requirements**: LIS2DW12 accelerometer - optional for sensor tests

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.i2c.i2c_stressCopy to clipboard

### i2c\_lis2dw12

**Location**: qapp\qcc730testing\tests\drivers\i2c\i2c\_lis2dw12\

**Purpose**: LIS2DW12 accelerometer sensor functionality

**Test coverage**:

- Sensor initialization
- Acceleration data reading
- Interrupt configuration
- Data rate settings

**Hardware requirements**: LIS2DW12 sensor on I^2^C bus

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.i2c.i2c_lis2dw12Copy to clipboard

## DMA test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### dma\_stress

**Location**: qapp\qcc730testing\tests\drivers\dma\dma\_stress\

**Purpose**: DMA (DXE) comprehensive stress testing

**Test coverage**:

- Concurrent channel operations
- Rapid reconfiguration
- Memory region transfers
- Variable block sizes
- Priority stress test

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.dma.dma_stressCopy to clipboard

### qcc730\_dxe\_pm

**Location**: qapp\qcc730testing\tests\drivers\dma\qcc730\_dxe\_pm\

**Purpose**: DXE power management

**Test coverage**:

- Low-power mode operation
- Wake-up from DMA completion
- Power state transitions

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.dma.qcc730_dxe_pmCopy to clipboard

## RTC test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### rtc\_api

**Location**: qapp\qcc730testing\tests\drivers\rtc\rtc\_api\

**Purpose**: Real-time clock API validation

**Test coverage**:

- Time setting and reading
- Date/calendar functionality
- Alarm configuration and triggering
- Time format conversion
- Leap year handling
- Rapid reconfiguration

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.rtc.rtc_apiCopy to clipboard

### rtc\_stress

**Location**: qapp\qcc730testing\tests\drivers\rtc\rtc\_stress\

**Purpose**: RTC long-term reliability testing

**Test coverage**:

- Extended operation validation
- Alarm accuracy over time
- Clock drift measurement

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.rtc.rtc_stressCopy to clipboard

## Flash test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### flash\_common

**Location**: qapp\qcc730testing\tests\drivers\flash\common\

**Purpose**: Flash memory common functionality

**Test coverage**:

- Flash device detection
- Basic read operations
- Flash parameters validation

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.flash.commonCopy to clipboard

### flash\_stress

**Location**: qapp\qcc730testing\tests\drivers\flash\flash\_stress\

**Purpose**: Flash memory stress testing

**Test coverage**:

- Erase operations (sector/block/chip)
- Write operations (page/byte)
- Read operations
- Erase-write cycles
- Data integrity validation
- Wear leveling verification

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.flash.flash_stressCopy to clipboard

## Clock control test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### clock\_control\_api

**Location**: qapp\qcc730testing\tests\drivers\clock\_control\clock\_control\_api\

**Purpose**: Clock control API validation

**Test coverage**:

- Clock enable/disable
- Clock rate configuration
- Clock source selection
- Clock gating

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.clock_control.clock_control_apiCopy to clipboard

### clock\_control\_api\_stress

**Location**: qapp\qcc730testing\tests\drivers\clock\_control\clock\_control\_stress\

**Purpose**: Clock control stress testing

**Test coverage**:

- Rapid frequency switching
- Multiple clock domain coordination
- Clock stability under load

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.clock_control.clock_control_stressCopy to clipboard

## Counter tests

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### qcc730\_qtmr

**Location**: qapp\qcc730testing\tests\drivers\counter\qcc730\_qtmr\

**Purpose**: QCC730 QTMR (Quad Timer) functionality

**Test coverage**:

- Timer configuration
- Counter operation
- Interrupt generation
- Capture/compare modes

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.counter.qcc730_qtmrCopy to clipboard

### qcc730\_qtmr\_stress

**Location**: qapp\qcc730testing\tests\drivers\counter\qcc730\_qtmr\_stress\

**Purpose**: QTMR stress testing

**Test coverage**:

- High-frequency timer operations
- Multiple timer coordination
- Long-duration accuracy

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.counter.qcc730_qtmr_stressCopy to clipboard

## pinctrl test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### qcc730\_pinctrl

**Location**: qapp\qcc730testing\tests\drivers\pinctrl\qcc730mi\

**Purpose**: Pin control functionality

**Test coverage**:

- Pin multiplexing configuration
- Pin function selection
- Runtime reconfiguration

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.pinctrl.qcc730_pinctrlCopy to clipboard

## Reset test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

### qcc730\_reset

**Location**: qapp\qcc730testing\tests\drivers\reset\qcc730\_reset\

**Purpose**: Reset controller validation

**Test coverage**:

- Peripheral reset operations
- Reset line control
- Reset status monitoring

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.reset.qcc730_resetCopy to clipboard

### qcc730\_qtmr\_stress

**Location**: qapp\qcc730testing\tests\drivers\counter\qcc730\_qtmr\_stress\

**Purpose**: QTMR stress testing

**Test coverage**:

- High-frequency timer operations
- Multiple timer coordination
- Long-duration accuracy

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.drivers.counter.qcc730_qtmr_stressCopy to clipboard

## Watchdog test

Source: [https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html](https://docs.qualcomm.com/doc/80-Y8730-5/topic/peripheral_test.html)

**Location**: qapp\qcc730testing\samples\drivers\watchdog\qcc730\_wdt\

**Purpose**: Watchdog timer sample

**Test coverage**:

- Watchdog configuration
- Feed operations
- Timeout handling
- System reset demonstration

**Hardware requirements**: Need additional GPIO device for testing

**Test command**:

    python qapp\qcc730testing\scripts\tests\twister\run_tests.py --no-outdir --port COM66 tests.sample.drivers.watchdog.qcc730_wdtCopy to clipboard

Last Published: Apr 27, 2026

Previous Topic
 
OTA Firmware Upgrade Using mcumgr Next Topic

Hosted mode over SPI