Would you please show us the Debug view?

If default ISR was happen once you access register of LPSPI1, then you may need to check the value of PCC_LPSPI1.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------