Skip to content

Commit 874dc5c

Browse files
committed
tests: drivers: uart: uart_baudrate_test: keep high freq
Prevent enabled clock control to scale down freq, as this affects gpio polling time. Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
1 parent 8cfb1aa commit 874dc5c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/drivers/uart/uart_baudrate_test/src/main.c

+1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ static void check_timing(const struct gpio_dt_spec *gpio_dt, uint32_t baudrate)
200200
} else {
201201
TC_PRINT("Not checking diviation due to lost start of start bit\n");
202202
}
203+
zassert_true(false, "");
203204
}
204205

205206
ZTEST(uart_baudrate_test, test_08_2400)

tests/drivers/uart/uart_baudrate_test/testcase.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ tests:
1616
extra_configs:
1717
- CONFIG_PM_DEVICE=y
1818
- CONFIG_PM_DEVICE_RUNTIME=y
19+
- CONFIG_CLOCK_CONTROL_NRF2_GLOBAL_HSFLL_REQ_LOW_FREQ=n
20+
- CONFIG_NRFS_LOCAL_DOMAIN_DVFS_SCALE_DOWN_AFTER_INIT=n
1921
drivers.uart.baudrate_test.uart135:
2022
platform_allow:
2123
- nrf54h20dk/nrf54h20/cpuapp

0 commit comments

Comments
 (0)