-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15 #82436
base: main
Are you sure you want to change the base?
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15 #82436
Conversation
FYI: @mstasiaknordic , @nordic-piks |
@@ -365,7 +365,6 @@ static int dmic_nrfx_pdm_configure(const struct device *dev, | |||
|
|||
channel->act_num_streams = 1; | |||
channel->act_chan_map_hi = 0; | |||
channel->act_chan_map_lo = def_map; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is test with LEFT/RIGHT channels swapped:
https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/drivers/audio/dmic_api/src/main.c#L158
Without this change, test is failing on this assert:
https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/drivers/audio/dmic_api/src/main.c#L94
In current/previous implementation, actual channel map is always def_map
.
Even if the user requested values equal to the alt_map
.
Enable execution of dmic_api test on nrf54l15: - add 'dmic' to the list of supported peripherals; - add overlay for nrf54l15; - align Nordic's implementation of PDM driver to pass the test. Signed-off-by: Sebastian Głąb <[email protected]>
7ea2a8d
to
8ad6bed
Compare
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15 nrfconnect/sdk-zephyr#2325 zephyrproject-rtos/zephyr#82436 Signed-off-by: Sebastian Głąb <[email protected]>
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15 nrfconnect/sdk-zephyr#2325 zephyrproject-rtos/zephyr#82436 Signed-off-by: Sebastian Głąb <[email protected]>
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15 nrfconnect/sdk-zephyr#2325 zephyrproject-rtos/zephyr#82436 Signed-off-by: Sebastian Głąb <[email protected]>
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15 nrfconnect/sdk-zephyr#2325 zephyrproject-rtos/zephyr#82436 Signed-off-by: Sebastian Głąb <[email protected]>
Enable execution of dmic_api test on nrf54l15: