Skip to content

Incorrect communication in the SPI_NXP_LPSPI driver compared to SPI_MCUX_LPSPI. #97270

@AnElderlyFox

Description

@AnElderlyFox

Describe the bug

When using the i.MX RT1062 with a Winbond W25N01GVZEIG NAND flash on zephyr:main, built with Zephyr SDK 0.17.4, the YAFFS2 filesystem mounts successfully with the SPI_NXP_LPSPI driver with device clock rate 10MHz, but the partition contents appear corrupted: files are shown as directories, and data is inaccessible.

Using the SPI_MCUX_LPSPI driver with device clock rate 10MHz (up to 40Mhz too), (commit 42511c8) resolves the issue, indicating that SPI_NXP_LPSPI may behave unpredictably in certain configurations. The problem likely occurs under high driver load, making it non-obvious and difficult to reproduce consistently.

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

  • OS (Windows)
  • Zephyr SDK 0.17.4
  • zephyr:main SHA 0520dfe

Additional Context

No response

Metadata

Metadata

Labels

RegressionSomething, which was working, does not anymorearea: SPISPI busbugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXP

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions