Repository navigation
zephyr-cp: add board buses to the nRF54L DKs and the nRF54L15 Tag - #11618
Merged
Merged
Conversation
Collaborator
|
Not tested on hardware yet. From reading: on nRF54H20 the pin routing check only runs on nRF54L, so H20 routing isn't checked. |
Name the standard bus pins in [pins], so board.I2C(), board.SPI() and board.UART() are created on them and routed at runtime. - nRF54L15 DK: board.UART() on P0.00/P0.01, the debugger's VCOM0 serial port. No board.SPI(): the expansion header's SPI pins share lines with the console's VCOM1 port. - nRF54LM20 DK: board.SPI() on the expansion header's SPI pins, and board.UART() on P0.06/P0.07 (VCOM0). - nRF54L15 Tag: i2c21 and spi22, the onboard sensor buses, are now dynamic, with board.I2C() on P1.11/P1.12 and board.SPI() on P1.08/P1.06/P1.05. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dhalbert
force-pushed
the
zephyr-cp-nrf-dk-board-buses
branch
from
October 19, 2026 23:09
3af6fe0 to
def1012
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.
Note by @dhalbert. Code written with Claude.
The nRF5340 DK and nRF54H20 DK changes that were here moved into #11576. This PR now names the standard bus pins in
[pins](and makes the Tag's sensor buses dynamic), which gives these boardsboardbuses under the scheme from #11576.board.UART()on P0.00/P0.01, the debugger's VCOM0 port.board.SPI()on the expansion header's SPI pins, andboard.UART()on P0.06/P0.07 (VCOM0).i2c21,spi22) are available viaboard.I2C()andboard.SPI().Some omissions:
board.SPI(). The expansion header's SPI pins conflict with the VCOM1 port, which we need for the console (no USB).board.I2C()on the nRF54L DKs: nothing on the boards or in the upstream devicetrees marks I2C pins.The nRF54L15 Tag has very limited pins, and the console and UART can conflict with I2C, so I left the default pins from upstream alone for now.
Testing
board.UART()both directions with the debugger's VCOM0 port. nRF54LM20 DK:board.SPI()MOSI-MISO loopback, 250 kHz to 16 MHz.