Skip to content

Conversation

@Thalley
Copy link
Contributor

@Thalley Thalley commented Nov 14, 2025

Fixes some issues with the ISO and Audio tests for the BT Tester, as data was dropped due to low buffers and slow speed.

Add board file for nrf5340_audio_dk_nrf5340_cpuapp identical
to the ones for nrf5340dk_nrf5340_cpuapp

Signed-off-by: Emil Gydesen <[email protected]>
The ISO buffers defaults to 1, but since there are
risks that the ISO RX events cannot be sent to
the upper tester via UART before the next RX,
the RX is increased. This also allows to better
support cases where the ISO interval is larger than
the SDU interval.
The ISO TX buffers are similarly increase to help
prevent cases where a TX isn't scheduled.

Signed-off-by: Emil Gydesen <[email protected]>
Modify the timeout from 10ms to 100us. The reason for this
is that the UART can only hold 4 octets at a time, which
cases events larger than 4 octets to require multiple
timeout before the entire event can be sent.

This solution is mostly a workaround and has the purpose
of increasing the performance and help prevent the tests
from failing due to the low speed caused by this. A
proper solution would likely be to switch to the async UART
API instead.

Signed-off-by: Emil Gydesen <[email protected]>
@sonarqubecloud
Copy link

@Thalley Thalley marked this pull request as ready for review November 14, 2025 15:20
@Thalley Thalley requested a review from lylezhu2012 November 14, 2025 15:20
@zephyrbot zephyrbot added area: Tests Issues related to a particular existing or missing test area: Bluetooth area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Samples Samples area: Bluetooth HCI Bluetooth HCI Driver labels Nov 14, 2025
@Thalley Thalley assigned sjanc and unassigned jhedberg and alwa-nordic Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth HCI Bluetooth HCI Driver area: Bluetooth Qualification Bluetooth Qualification -related issues and pull requests area: Bluetooth area: Samples Samples area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants