Skip to content

Revert "modules: nrf_wifi: Disable anomalies for both QSPIs" #92053

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

MarkoSagadin
Copy link
Contributor

Revert "modules: nrf_wifi: Disable anomalies for both QSPIs"

This reverts commit 4660f4c.

The reverted commit disabled workarounds for XIP-related anomalies for
configurations where CONFIG_NORDIC_QSPI_NOR was enabled. This caused
memory issues on custom boards that were using a combination of nRF5340
SOC, nRF7002 WiFi chip and XIP over QSPI.

Memory issues manifested as usage faults, where the PC in the esf
pointer given to the k_sys_fatal_error_handler would always point to
an address somewhere in the external flash, however the address would
slightly change between reboots.

The memory issues were discovered during NCS migration, migrating from
v2.7.0 to v3.0.1.

By reverting the commit we re-enable the workarounds for the cases where
CONFIG_NORDIC_QSPI_NOR is enabled.


Tagging @krish2718, as he will probably have the most knowledge if this revert makes sense.

I have also found a recent DevZone issue that was solved by applying the 159 workaround, although their symptoms looked different from mine: https://devzone.nordicsemi.com/f/nordic-q-a/122110/nrf5340-nrfx_qspi-sdk-v3-0-1-peripheral-issue/538508

This reverts commit 4660f4c.

The reverted commit disabled workarounds for XIP-related anomalies for
configurations where CONFIG_NORDIC_QSPI_NOR was enabled. This caused
memory issues on custom boards that were using a combination of nRF5340
SOC, nRF7002 WiFi chip and XIP over QSPI.

Memory issues manifested as usage faults, where the PC in the esf
pointer given to the k_sys_fatal_error_handler would always point to
an address somewhere in the external flash, however the address would
slightly change between reboots.

The memory issues were discovered during NCS migration, migrating from
v2.7.0 to v3.0.1.

By reverting the commit we re-enable the workarounds for the cases where
CONFIG_NORDIC_QSPI_NOR is enabled.

Signed-off-by: Marko Sagadin <[email protected]>
Copy link

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Aug 23, 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.

3 participants