zephyr/tests/drivers/uart/uart_elementary
Bartosz Miller 3147243c8f tests: drivers: uart: uart_elementary: Fix 'config_mismatch' test case
UART error may be reported with random timing
from either UART in configuration mismatch case.
The test case is now aligned to such behaviour.

Signed-off-by: Bartosz Miller <bartosz.miller@nordicsemi.no>
2024-04-22 03:48:26 -07:00
..
boards
src tests: drivers: uart: uart_elementary: Fix 'config_mismatch' test case 2024-04-22 03:48:26 -07:00
CMakeLists.txt
Kconfig
prj.conf
README.txt
testcase.yaml tests: drivers: uart: uart_elementary: Fix 'config_mismatch' test case 2024-04-22 03:48:26 -07:00

The purpose of this test is to validate basic UART driver functions,
that are not tested elsewhere.
UART interrupt mode is used for the tests purpose.

Hardware setup required for these tests:
For single uart conviguration - UART0 TX connected to RX and CTS to RTS
For dual uart configuratiom - UART0 and UART1 TXs and RXs cross-connected

These test cases cover:
- UART configuration,
- UART error check,
- UART callback setup,
- Dual UART transmission with matched and mismatched configurations