Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Karol Lasończyk 061036f9e3 tests: samples: Extend support for nRF54LM20A 2 weeks ago
..
boards tests: samples: Extend support for nRF54LM20A 2 weeks ago
src tests: drivers: uart: uart_mix_fifo_poll: Enable device PM 6 months ago
CMakeLists.txt
Kconfig tests/drivers uart_mix_fifo_poll: Allow configuring test length 1 year ago
README.txt
prj.conf tests: remove CONFIG_ZTEST_NEW_API in all tests 2 years ago
testcase.yaml tests: samples: Extend support for nRF54LM20A 2 weeks ago

README.txt

The purpose of this test is to validate that uart_poll_out call is resilient to
being interrupted by another uart API call. That includes uart_poll_out called
from higher priority context, uart_fifo_fill called from UART interrupt context
and uart_tx called from higher priority context. Preemptions shall not lead to
any bytes being dropped.

This test is establishing 3 context from which uart_poll_out is called:
- main thread
- higher priority thread
- k_timer timeout context

From each context stream of data is being sent. Bytes in streams are encoded as
following: 4 MSB bits contains stream ID, 4 LSB bits are incremented.

Test requires that two pairs of pins are shortened: TX with RX and CTS with RTS.
UART receives loopback data and validates if for each stream (identified by ID)
data is consistent.