-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Labels
RegressionSomething, which was working, does not anymoreSomething, which was working, does not anymorearea: SPISPI busSPI busbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driversNXP Semiconductors, driverspriority: lowLow impact/importance bugLow impact/importance bug
Description
Describe the bug
There is some hard fault in the LPSPI driver during device init on some platforms.. This is new since 4.1.0 release
To Reproduce
west build -b frdm_ke17z -p always tests\drivers\spi\spi_loopback
west flash -r jlink
Expected behavior
Test pass
Impact
Driver does not work for some platform due to hard fault in init
Logs and console output
E: ***** HARD FAULT *****
E: r0/a1: 0x4002c000 r1/a2: 0x00008d28 r2/a3: 0x00000303
E: r3/a4: 0x00000002 r12/ip: 0x00000753 r14/lr: 0x00002c6b
E: xpsr: 0x21000000
E: Faulting instruction address (r15/pc): 0x0000824e
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x20004688 (main)
E: Halting system
Additional context
I did not bisect but I did debug and it is hard fault on LPSPI_Reset in the init of the device, likely introduced on this commit: 9f10418
Metadata
Metadata
Assignees
Labels
RegressionSomething, which was working, does not anymoreSomething, which was working, does not anymorearea: SPISPI busSPI busbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: NXP DriversNXP Semiconductors, driversNXP Semiconductors, driverspriority: lowLow impact/importance bugLow impact/importance bug