samples: SPI sample#761
Open
PizzaAllTheWay wants to merge 1 commit into
Open
Conversation
6cb6d4c to
da2351d
Compare
da2351d to
cb13433
Compare
|
You can find the documentation preview for this PR here. |
cb13433 to
dd19476
Compare
Contributor
eivindj-nordic
left a comment
There was a problem hiding this comment.
Some overall comments not diving in to the code.
| #ifndef BOARD_APP_UARTE_INST | ||
| #define BOARD_APP_UARTE_INST NRF_UARTE30 | ||
| /* Application SPI master configuration */ | ||
| #ifndef BOARD_APP_SPIM_INST |
Contributor
There was a problem hiding this comment.
We need board config for the other boards as well.
Contributor
Author
There was a problem hiding this comment.
You are right, this does however mean we need a bit of refactoring of the code, because not all SoC support master and slave SPI peripherals at the same time without modifying the board (eks: nRF54LV10)
Contributor
Author
There was a problem hiding this comment.
Ok I added new boards and refactored code and documentation to fit with the new sample code
f85aa8b to
2c5a4be
Compare
4e33698 to
eb946e4
Compare
Add SPI sample with SPIM and SPIS support. Button 2 triggers a master transfer, LED 2 toggles on slave reception. Includes: - SPIM and SPIS initialization and transfer handling - Board configuration with default pin mappings for all supported DKs - Kconfig option for configurable message string - Documentation with wiring guide, pin conflict notes, and testing steps Signed-off-by: Martynas Smilingis <martynas.smilingis@nordicsemi.no>
eb946e4 to
19a16dc
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add SPI sample with SPIM and SPIS support for single-device loopback and two-device setups (one or two data paths). Button 2 triggers a master transfer, LED 2 toggles on slave reception.
Includes: