-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromlist] tests: drivers: i2s: Add tests at typical audio sample…
… rates Change frame clock frequency to a global variable so it can be changed inside a test. Add short transfer test at 16000, 32000, 44000, 44100, 48000 and 96000 frame clock frequency. Add configuration for nrf5340dk where i2s peripheral is clocked from ACLK. Upstream PR #: 85126 Signed-off-by: Sebastian Głąb <[email protected]>
- Loading branch information
1 parent
7cbe361
commit 2b270c6
Showing
3 changed files
with
242 additions
and
20 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
tests/drivers/i2s/i2s_speed/boards/nrf5340dk_nrf5340_cpuapp_aclk.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* Drive i2s peripheral from ACLK. */ | ||
|
||
&clock { | ||
hfclkaudio-frequency = <11289600>; | ||
}; | ||
|
||
&i2s0 { | ||
clock-source = "ACLK"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters