๐งช ESP32 Test Documentation
๐ฏ Comprehensive Test Documentation for HardFOC ESP32 Interface Wrapper
Complete test documentation covering all peripheral interfaces with hardware validation
๐ Table of Contents
๐ฏ Overview
This directory contains comprehensive test documentation for all HardFOC ESP32 interface wrapper
implementations.
Each test suite validates hardware functionality, error handling,
and performance characteristics of the respective peripheral interfaces.
๐ Key Features
๐ง Hardware Validation - Real hardware testing with proper connections
๐ Performance Testing - Throughput, latency, and reliability metrics
๐ก๏ธ Error Handling - Comprehensive error detection and recovery testing
๐ Stress Testing - High-load and edge case validation
๐ Signal Quality - Electrical signal integrity verification
๐ง Test Categories
Core Peripherals
Communication Interfaces
Wireless Technologies
System Features
Utilities
๐ Test Documentation
Test Suite
Hardware
Key Features
Status
|โโโโโ-|โโโโโ|โโโโโโ|โโโโ|
GPIO Test
ESP32-C6 GPIO
Digital I/O, interrupts, pull resistors
โ
Complete
ย
ย
ADC Test
ESP32-C6 ADC
Multi-channel, calibration, voltage
conversion
โ
Complete
ย
PWM Test
ESP32-C6 LEDC
Multi-channel, frequency control, duty
cycle
โ
Complete
ย
PIO Test
ESP32-C6 PIO
Custom protocols, precise timing,
encoding
โ
Complete
ย
UART Test
ESP32-C6 UART
Async I/O, flow control, configurable
parameters
โ
Complete
ย
SPI Test
ESP32-C6 SPI
Full-duplex, configurable modes, DMA
support
โ
Complete
ย
I2C Test
ESP32-C6 I2C
Master mode, device scanning, error
recovery
โ
Complete
ย
CAN Test
ESP32-C6 + SN65
Standard/Extended frames, filtering,
error handling
โ
Complete
ย
WiFi Test
ESP32-C6 WiFi
Wireless networking, connectivity,
security
โ
Complete
ย
NVS Test
ESP32-C6 NVS
Non-volatile storage, data
persistence
โ
Complete
ย
Logger Test
ESP32-C6 Logger
Logging system, debug output,
levels
โ
Complete
ย
ASCII Art Test
ESP32-C6
ASCII art generation, display testing
โ
Complete
ย
ย
DOG Test
ESP32-C6 + Display
Display on Glass testing, graphics
โ
Complete
ย
ย
๐ Quick Start
Running Tests
Navigate to ESP32 examples directory :
Build and run specific test :
1
2
3
4
5
# Build CAN test
idf.py -DAPP_NAME = can_test build flash monitor
# Build GPIO test
idf.py -DAPP_NAME = gpio_test build flash monitor
Run all tests :
1
2
# Build all test applications
./scripts/build_all_tests.sh
Test Configuration
Each test can be configured by modifying the respective test file:
Test sections : Enable/disable specific test categories
Hardware pins : Configure GPIO pins for testing
Performance parameters : Adjust timing and throughput settings
Error thresholds : Set acceptable error rates
Hardware Requirements
Most tests require minimal hardware:
ESP32-C6 DevKit - Primary development board
Jumper wires - For connections
Basic components - Resistors, LEDs, sensors (test-specific)
Special Requirements :
CAN Test : SN65HVD230/232 transceiver, 120ฮฉ termination
SPI Test : SPI device or loopback connections
I2C Test : I2C device or pull-up resistors
Display Tests : Compatible display hardware
API Documentation
Specific Interface Documentation
Project Documentation
๐งช Comprehensive Testing for HardFOC ESP32 Interface Wrapper
Professional-grade test documentation with hardware validation
๐ Table of Contents