default ISR

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

default ISR

2,783 次查看
rajesh1
Contributor I

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

pastedImage_1.png

how can i resolve this problem?

0 项奖励
回复
1 回复

2,553 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Would you please show us the Debug view?

Debug View.png

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复