Skip to content

tests: drivers: spi: spi_loopback: Test fast instance at low frequency #89886

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nordic-segl
Copy link
Collaborator

Due to limited value of clock divider, fast SPI instance can work only at higher bitrates.

Add check for error message when fast instance is
configured to work at low/unsupported bitrate.

Due to limited value of clock divider, fast SPI instance
can work only at higher bitrates.

Add check for error message when fast instance is
configured to work at low/unsupported bitrate.

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl
Copy link
Collaborator Author

nordic-segl commented May 13, 2025

Driver was silently failing when unsupported (too low) bitrate was selected on fast SPI instance.

On nrf54H20dk, lowest supported bitrate for SPI120/SPI121 is:
320 MHz / 126 = 2.539683 MHz

On nrf54l15dk, lowest supported bitrate for SPI00 is:
128 MHz / 126 = 1.015873 MHz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: SPI SPI bus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants