![]() |
no-OS
|
CAPI UART external-loopback tests. More...
#include <stdint.h>#include <string.h>#include "parameters.h"#include "test_framework.h"#include "test_uart.h"Functions | |
| int | test_uart (void) |
| Run all UART test cases available on the mapped platform. | |
CAPI UART external-loopback tests.
Exercises the CAPI UART API on ONE controller wired in EXTERNAL loopback: its TX pin is physically strapped to its own RX pin on the board. Internal (local) loopback is deliberately NOT used – line_config.loopback stays false – so every case moves real bytes over a real wire and back.
This is a second, spare UART, never the console: the framework's report transport is a different instance entirely (uart_config), and reconfiguring that one mid-run would silence the log.
Hardware assumption: one UART with TX looped back to RX externally.
Copyright (c) 2026 Analog Devices, Inc. SPDX-License-Identifier: BSD-3-Clause
| int test_uart | ( | void | ) |
Run all UART test cases available on the mapped platform.