Skip to content

Conversation

@anangl
Copy link
Contributor

@anangl anangl commented Apr 4, 2025

Add a translation layer that allows using the sQSPI soft peripheral through the Zephyr MSPI API.
Also modify the manifest to pull in related changes required in sdk-zephyr.

@anangl anangl requested review from a team as code owners April 4, 2025 15:05
@github-actions github-actions bot added manifest changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Apr 4, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Apr 4, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@80ef797 nrfconnect/sdk-zephyr@4034b0f nrfconnect/[email protected]

All manifest checks OK

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Apr 4, 2025

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 9

Inputs:

Sources:

sdk-nrf: PR head: 8a8e238ccb81acba7bc9ec631e1d6b66818d4514
zephyr: PR head: 4034b0f2881a648453b4f6640952a220ff0b200b

more details

sdk-nrf:

PR head: 8a8e238ccb81acba7bc9ec631e1d6b66818d4514
merge base: 1b616da1221bdc9b271fff34833f5267da1ffce5
target head (main): 1b616da1221bdc9b271fff34833f5267da1ffce5
Diff

zephyr:

PR head: 4034b0f2881a648453b4f6640952a220ff0b200b
merge base: 80ef7970f0d1fdf506a3b1b644849a92a46f7c6f
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (26)
CODEOWNERS
drivers
│  ├── mspi
│  │  ├── CMakeLists.txt
│  │  ├── Kconfig
│  │  ├── Kconfig.sqspi
│  │  │ mspi_sqspi.c
dts
│  ├── bindings
│  │  ├── mspi
│  │  │  │ nordic,nrf-sqspi.yaml
samples
│  ├── zephyr
│  │  ├── drivers
│  │  │  ├── jesd216
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── boards
│  │  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp_sqspi.overlay
│  │  │  │  ├── prj.conf
│  │  │  │  │ sample.yaml
│  │  │  ├── spi_flash
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── boards
│  │  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp_sqspi.overlay
│  │  │  │  ├── prj.conf
│  │  │  │  │ sample.yaml
tests
│  ├── zephyr
│  │  ├── drivers
│  │  │  ├── flash
│  │  │  │  ├── common
│  │  │  │  │  ├── boards
│  │  │  │  │  │  │ nrf54l15dk_nrf54l15_cpuapp_sqspi.overlay
│  │  │  │  │  ├── sysbuild.conf
│  │  │  │  │  │ testcase.yaml
west.yml
zephyr
│  ├── drivers
│  │  ├── misc
│  │  │  ├── nordic_vpr_launcher
│  │  │  │  ├── Kconfig
│  │  │  │  │ nordic_vpr_launcher.c
│  │  ├── pinctrl
│  │  │  │ pinctrl_nrf.c
│  ├── dts
│  │  ├── bindings
│  │  │  ├── riscv
│  │  │  │  │ nordic,nrf-vpr-coprocessor.yaml
│  ├── soc
│  │  ├── nordic
│  │  │  ├── common
│  │  │  │  │ nrf54hx_nrf92x_mpu_regions.c
│  ├── subsys
│  │  ├── bluetooth
│  │  │  ├── mesh
│  │  │  │  │ access.c
│  │  ├── net
│  │  │  ├── l2
│  │  │  │  ├── openthread
│  │  │  │  │  │ openthread.c
│  ├── tests
│  │  ├── bsim
│  │  │  ├── bluetooth
│  │  │  │  ├── mesh
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ test_cdp1.c

Outputs:

Toolchain

Version: 7cbc0036f4
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:7cbc0036f4_8bf7ca4353

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 1574
    • sdk-zephyr test count: 1611
  • ❌ Integration tests
    • ❌ test-sdk-audio
    • ✅ test-fw-nrfconnect-ble_mesh
    • ✅ test-fw-nrfconnect-chip
    • ✅ test-fw-nrfconnect-nfc
    • ✅ test-fw-nrfconnect-nrf-iot_cloud
    • ✅ test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • ✅ test-fw-nrfconnect-nrf-iot_thingy91
    • ✅ test-fw-nrfconnect-rs
    • ✅ test-fw-nrfconnect-fem
    • ✅ test-fw-nrfconnect-thread
    • ✅ test-sdk-find-my
    • ✅ test-fw-nrfconnect-nrf-iot_mosh
    • ✅ test-fw-nrfconnect-nrf-iot_positioning
    • ✅ test-low-level
    • ✅ test-sdk-dfu
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-proprietary_esb
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-tfm
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@github-actions
Copy link

github-actions bot commented Apr 4, 2025

You can find the documentation preview for this PR here.

Comment on lines +11 to +31
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks hackish, such code should be compiled/included based on a simple Kconfig selection

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is what the sQSPI driver requires me to set. I don't quite see how I could simplify it further on my end (I only use one Kconfig option - MSPI_NRF_SQSPI).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could sQSPI layer be structured properly?

@anangl anangl force-pushed the mspi_sqspi branch 2 times, most recently from db7becc to 73a9c9a Compare April 7, 2025 10:47
@github-actions github-actions bot removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Apr 7, 2025
@anangl
Copy link
Contributor Author

anangl commented Apr 7, 2025

On nRF54H20, the shim driver was so far only tested with a logic analyzer using a simple application that requested TX transfers in 1-1-4 mode (to mimic what is actually needed in communication with a display).

Copy link
Contributor

@nordicjm nordicjm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build system changes OK, though do agree that it could look a bit more zephyr-ish

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alignment similar to this:
958fa23
will be needed when #21325 is merged.

@anangl
Copy link
Contributor Author

anangl commented Apr 8, 2025

Rebased.

@nordic-piks
Copy link
Contributor

To have green CI (at least low-level) you need to rebase on #21408 and later on #21325

@anangl
Copy link
Contributor Author

anangl commented Apr 9, 2025

To have green CI (at least low-level) you need to rebase on #21408 and later on #21325

Yes, I'll wait for #21325.

anangl added 3 commits April 9, 2025 23:37
Add a translation layer that allows using the sQSPI soft peripheral
through the Zephyr MSPI API.
Also modify the manifest to pull in related changes required in
sdk-zephyr.

Signed-off-by: Andrzej Głąbek <[email protected]>
Add test scenario that allows testing the MSPI shim driver for
the sQSPI soft peripheral on the nRF54L15 DK. Alter the existing
configuration so that the SDP MSPI is enabled only when needed.

Signed-off-by: Andrzej Głąbek <[email protected]>
Add NCS specific configurations for two standard Zephyr samples:
spi_flash and jesd216, so that they can be run on the nRF54L15 DK
using the sQSPI soft peripheral.

Signed-off-by: Andrzej Głąbek <[email protected]>
@anangl
Copy link
Contributor Author

anangl commented Apr 9, 2025

Rebased and updated with SHA.

@NordicBuilder NordicBuilder removed the DNM label Apr 9, 2025
@carlescufi carlescufi merged commit 133a89d into nrfconnect:main Apr 10, 2025
8 of 9 checks passed
@anangl anangl deleted the mspi_sqspi branch April 10, 2025 08:26
@anangl anangl mentioned this pull request Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants