I am using s32k148 microcontroller for programming two SPI and one UART module. first i debug the example code LPSPI_s32k144 and LPUART_s32k144 for SPI and uart saperately and it worked .but when i combine code it stucked at b default ISR. I already included the lpspi and lpuart C and header file.using break points i found that after following code line it goes into default ISR
LPSPI1->IER = 0x00000000;
and is showing following screen
how can i resolve this problem?
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!
-----------------------------------------------------------------------------------------------------------------------